public void a2Attack() { if (OnAttack != null) { OnAttack(); } enemy.lowerHP(2 * (10 * strength)); ap = ap - 20; turn = false; }
public void a2Attack() { if (OnAttack != null) { OnAttack(); } changes.text = "MC did " + (2 * (strength * 10)).ToString() + " damage"; enemy.lowerHP(2 * (strength * 10)); ap = ap - 20; }
public void ultimateAttack() { if (OnAttack != null) { OnAttack(); } enemy.lowerHP(150 + 10 * strength); ap = ap - 50; turn = false; }
public void basicAttack() { if (OnAttack != null) { OnAttack(); } enemy.lowerHP(strength * 10); ap = ap + 5 + level; if (ap > maxAP) { ap = maxAP; } turn = false; changes.text = "Bob did " + (strength * 10).ToString() + " damage"; }