Esempio n. 1
0
 override public void OnEffectPlay(HealthAndStatuses caster, HealthAndStatuses casterOpponent, int power = 0)
 {
     if (applyOnSelf)
     {
         caster.TakeStatus(statusToGain, power);
     }
     else
     {
         casterOpponent.TakeStatus(statusToGain, power);
     }
 }
 override public void OnEffectPlay(HealthAndStatuses caster, HealthAndStatuses casterOpponent, int power = 0)
 {
     if (applyOnCaster)
     {
         caster.TakeStatus(status, GetDurationWithMod(caster).Key);
     }
     else
     {
         casterOpponent.TakeStatus(status, GetDurationWithMod(caster).Key);
     }
 }