Buffer - cyritegamestudios/trust GitHub Wiki
Overview
The Buffer role is responsible for casting buffs on itself and its party members.
Modes
See AutoBuffMode
How it works
A Buffer will maintain a list of buffs on both itself and its party members as specified in the job settings when AutoBuffMode
is set to Auto
. There is a cooldown of 8 seconds between each buff. Buffs will be applied in the following order:
Self Buffs (Job Abilities)
These include buffs that can be applied using a Job Ability, e.g. Berserk
, Aggressor
, Light Arts
or Composure
.
Self Buffs (Spells)
These include buffs that can be applied to the Buffer using Enhancing Magic, Blue Magic, Black Magic or Ninjutsu. For Summoning Magic, see SMN.
Party Buffs (Spells)
These include buffs that can be applied to party members using Enhancing Magic, Blue Magic, Black Magic or Ninjutsu. For Summoning Magic, see SMN.
Settings
Buffs can be added, edited or removed using the menu under Settings → Buffs.
Jobs
Explore the code
- https://github.com/cyritegamestudios/trust/blob/main/cylibs/trust/roles/buffer.lua
- https://github.com/cyritegamestudios/trust/blob/main/cylibs/battle/spell.lua
- https://github.com/cyritegamestudios/trust/blob/main/cylibs/battle/spells/buff.lua
- https://github.com/cyritegamestudios/trust/blob/main/cylibs/util/job_util.lua