public void superAttack(BaseChar other) { removeMana(60); attackMod += attack; // doubles attack baseAttack(other); baseAttack(other); attackMod -= attack; // restores attackMod }
public void sneak(BaseChar other) { removeMana(40); other.defenseMod -= other.defense; // makes total defense 0 baseAttack(other); other.defenseMod += other.defense; // restore defenseMod }
public void doubleAttack(BaseChar other) { removeMana(20); baseAttack(other); baseAttack(other); }
public void stun(BaseChar other) { removeMana(50); other.speedMod -= 20; other.accuracyMod -= 20; }