Interface IStatusSystem
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
Status: burn, slow, stun and elite modifiers that act over time.
public interface IStatusSystem
Methods
Apply(SimWorld, Enemy, StatusEffectDef, WeaponDef)
Applies or stacks a status unless the enemy is immune; emits StatusApplied.
void Apply(SimWorld world, Enemy target, StatusEffectDef status, WeaponDef source)
Parameters
worldSimWorldtargetEnemystatusStatusEffectDefsourceWeaponDef
Tick(SimWorld)
Step 5a (before enemies act): ticks statuses (burn damage via ICombat.DamageEnemy), elite regeneration, and sets Enemy.SpeedMultiplier / Stunned.
void Tick(SimWorld world)
Parameters
worldSimWorld