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

EnemyAttackEntry

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

float

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

MovementDef

SpeedMultiplier

Phase speed multiplier; 1 = unchanged, 0 stops movement.

[Tooltip("Phase speed multiplier; 1 = unchanged, 0 stops movement.")]
public float SpeedMultiplier

Field Value

float

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

int

Methods

ToDef()

Converts this authoring entry to a runtime definition, resolving asset references through their caches.

public BossPhaseDef ToDef()

Returns

BossPhaseDef