fixed OP enemies

This commit is contained in:
jslightham
2019-05-31 23:15:25 -04:00
parent 1232f150c9
commit c6b31c2512

View File

@@ -68,7 +68,7 @@ public class Combat {
}
else if(rand<0.1) {
System.out.println(enemy.getName() + " missed!");
}else if(rand < 0.50) {
}else if(rand < 0.20) {
player.setHealth(player.getHealth()-enemy.getDamage()*1.5);
if(player.getHealth() < 0)
player.setHealth(0);