Example #1
0
 public void a2Attack()
 {
     if (OnAttack != null)
     {
         OnAttack();
     }
     enemy.lowerHP(2 * (10 * strength));
     ap   = ap - 20;
     turn = false;
 }
Example #2
0
 public void a2Attack()
 {
     if (OnAttack != null)
     {
         OnAttack();
     }
     changes.text = "MC did " + (2 * (strength * 10)).ToString() + " damage";
     enemy.lowerHP(2 * (strength * 10));
     ap = ap - 20;
 }
Example #3
0
 public void ultimateAttack()
 {
     if (OnAttack != null)
     {
         OnAttack();
     }
     enemy.lowerHP(150 + 10 * strength);
     ap   = ap - 50;
     turn = false;
 }
Example #4
0
 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";
 }