Exemple #1
0
 public void AtkChange(int value, bool isBaseBalue)
 {
     if (isBaseBalue)
     {
         atk.AddBaseValue(value);
     }
     else
     {
         atk.AddBaseValuePercentage(value);
     }
 }
Exemple #2
0
 public void HealthChange(int value, bool isBaseBalue)
 {
     if (isBaseBalue)
     {
         health.AddBaseValue(value);
     }
     else
     {
         health.AddBaseValuePercentage(value);
     }
 }