Class BossPhaseEntry
- Namespace
- SurvivorsMaker.Data
- Assembly
- SurvivorsMaker.Data.dll
Health threshold, replacement behaviours and transition immunity for one ordered boss phase.
public sealed class BossPhaseEntry
- Inheritance
-
BossPhaseEntry
- Inherited Members
Constructors
BossPhaseEntry()
public BossPhaseEntry()
Fields
Attack
Special attack settings; None disables the special attack.
[Tooltip("Special attack settings; None disables the special attack.")]
public EnemyAttackEntry Attack
Field Value
HealthBelow
Remaining health ratio that activates this boss phase, from 0 to 1.
[Tooltip("Remaining health ratio that activates this boss phase, from 0 to 1.")]
public float HealthBelow
Field Value
Movement
Movement behaviour and parameters; empty behaviour ids use the built-in enum choice.
[Tooltip("Movement behaviour and parameters; empty behaviour ids use the built-in enum choice.")]
public MovementDef Movement
Field Value
SpeedMultiplier
Phase speed multiplier; 1 = unchanged, 0 stops movement.
[Tooltip("Phase speed multiplier; 1 = unchanged, 0 stops movement.")]
public float SpeedMultiplier
Field Value
TransitionTicks
Invulnerable combat ticks on phase entry; 0 = no transition immunity.
[Tooltip("Invulnerable combat ticks on phase entry; 0 = no transition immunity.")]
public int TransitionTicks
Field Value
Methods
ToDef()
Converts this authoring entry to a runtime definition, resolving asset references through their caches.
public BossPhaseDef ToDef()