Appearance
twine / PhaseOpts
Interface: PhaseOpts โ
Defined in: twine/src/boss/builder.ts:43
One stage of the fight.
Properties โ
at? โ
optionalat?:number
Defined in: twine/src/boss/builder.ts:45
Health percentage at or below which this phase starts. Omit on the first phase.
bar? โ
optionalbar?:BarStyle
Defined in: twine/src/boss/builder.ts:47
Re-style the bar on entering this phase (a new name, a new colour, or both).
onEnter? โ
optionalonEnter?:BossBody
Defined in: twine/src/boss/builder.ts:49
Runs once on entering this phase. @s is the boss.
onExit? โ
optionalonExit?:BossBody
Defined in: twine/src/boss/builder.ts:53
Runs once on leaving this phase. @s is the boss.
onTick? โ
optionalonTick?:BossBody
Defined in: twine/src/boss/builder.ts:51
Runs every poll while in this phase. @s is the boss.