Skip to content
Snippets Groups Projects
Commit c87e2d6c authored by Sena Delibasan's avatar Sena Delibasan :8ball:
Browse files

made charge less likely (ex. 2)

parent 6ee951a6
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ public class ConsoleBattle : MonoBehaviour ...@@ -132,7 +132,7 @@ public class ConsoleBattle : MonoBehaviour
} }
// Charge check // Charge check
if (randChanceAI <= 35) if (randChanceAI <= 20)
{ {
Debug.Log("The enemy is charging...!"); Debug.Log("The enemy is charging...!");
aiCharge = true; aiCharge = true;
...@@ -141,7 +141,7 @@ public class ConsoleBattle : MonoBehaviour ...@@ -141,7 +141,7 @@ public class ConsoleBattle : MonoBehaviour
} }
// Attack // Attack
if ((randChanceAI > 35) && (enemyTurn)) if ((randChanceAI > 20) && (enemyTurn))
{ {
Debug.Log("You are being attacked with " + randDamageAI + " damage!"); Debug.Log("You are being attacked with " + randDamageAI + " damage!");
hpPlayer -= randDamageAI; hpPlayer -= randDamageAI;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment