Exemplo n.º 1
0
 void HealthLossRightHeavy()
 {
     if (!TheGameManager.instance.GameOver)
     {
         if (isActionPossibleMaster(player1.heavyDist))
         {
             player2.health  = Points.Minus(player2.health, Mechs.FinalDamage(player1, player2, player1.heavyMult, player1.heavyChance));
             player1.stamina = Points.Minus(player1.stamina, (int)(player1.staminaPerMove * player1.staminaHeavyMult));
         }
         else if (isActionPossibleNonMaster(player2.heavyDist))
         {
             player1.health  = Points.Minus(player1.health, Mechs.FinalDamage(player2, player1, player2.heavyMult, player2.heavyChance));
             player2.stamina = Points.Minus(player2.stamina, (int)(player2.staminaPerMove * player2.staminaHeavyMult));
         }
     }
 }