Пример #1
0
 public override void applyEffect(Personnage victime)
 {
     Debug.Log("pa avant " + victime.paOrigine + ", " + victime.getPa());
     victime.paOrigine += pa;
     victime.pmOrigine += pm;
     victime.setPa(Victime.getPa() + pa);
     victime.setPm(Victime.getPm() + pm);
     Debug.Log("pa apres " + victime.paOrigine + ", " + victime.getPa());
 }
Пример #2
0
 public override void applyEffect()
 {
     Victime.setPa(Victime.getPa() - pa);
     Victime.setPm(Victime.getPm() - pm);
 }
Пример #3
0
 public override void applyEffect(Personnage victime)
 {
     victime.setPa(Victime.getPa() - pa);
     victime.setPm(Victime.getPm() - pm);
 }