Beispiel #1
0
 protected override void OnTick()
 {
     attr.Add(VariableAttributes.HP, -damage);
     print("Dano: " + damage + ". HP atual: " + attr.Get(VariableAttributes.HP));
 }
Beispiel #2
0
 protected override void OnTick()
 {
     attr.Add(VariableAttributes.HP, quantityPerTick);
     print("Recuperado: " + quantityPerTick + ". HP atual: " + attr.Get(VariableAttributes.HP));
 }