public void OnSpawn() { CurrentHealth = BaseHealth; HealthSet?.Invoke(CurrentHealth); ActionSet?.Invoke(CurrentActions); DefenseSet?.Invoke(DefenseModifier); Spawned?.Invoke(); }
public void BoostDefense(float modifier) { DefenseModifier = modifier; DefenseSet?.Invoke(DefenseModifier); Boosted?.Invoke("Def"); }