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()); }
public override void applyEffect() { Victime.setPa(Victime.getPa() - pa); Victime.setPm(Victime.getPm() - pm); }
public override void applyEffect(Personnage victime) { victime.setPa(Victime.getPa() - pa); victime.setPm(Victime.getPm() - pm); }