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