Class StatusSystem

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

One instance per behaviour id; stable lifecycle and elite modifier order.

public sealed class StatusSystem : IStatusSystem
Inheritance
StatusSystem
Implements
Inherited Members

Constructors

StatusSystem()

public StatusSystem()

Methods

Apply(SimWorld, Enemy, StatusEffectDef, WeaponDef)

Applies or stacks a status unless the enemy is immune; emits StatusApplied.

public void Apply(SimWorld world, Enemy target, StatusEffectDef status, WeaponDef source)

Parameters

world SimWorld
target Enemy
status StatusEffectDef
source WeaponDef

Tick(SimWorld)

Step 5a (before enemies act): ticks statuses (burn damage via ICombat.DamageEnemy), elite regeneration, and sets Enemy.SpeedMultiplier / Stunned.

public void Tick(SimWorld world)

Parameters

world SimWorld