diff --git a/src/com/hotmail/kalebmarc/textfighter/main/EnemyTest.java b/src/com/hotmail/kalebmarc/textfighter/main/EnemyTest.java index daa3a1a3..37fa0bd8 100644 --- a/src/com/hotmail/kalebmarc/textfighter/main/EnemyTest.java +++ b/src/com/hotmail/kalebmarc/textfighter/main/EnemyTest.java @@ -71,7 +71,7 @@ public static void setUpBeforeClass() throws Exception { Weapon.BULLET_DAMAGE = 10; Weapon.BULLET_CRITICAL_MULTIPLIER = 10; - Weapon.BULLET_CRITICAL_CHANCE = 1; + Weapon.BULLET_CRITICAL_CHANCE = 0.001; } @AfterClass diff --git a/src/com/hotmail/kalebmarc/textfighter/main/Weapon.java b/src/com/hotmail/kalebmarc/textfighter/main/Weapon.java index 2add22c3..c576c945 100644 --- a/src/com/hotmail/kalebmarc/textfighter/main/Weapon.java +++ b/src/com/hotmail/kalebmarc/textfighter/main/Weapon.java @@ -16,7 +16,7 @@ public class Weapon implements Comparable { //Properties public static int BULLET_DAMAGE; public static int BULLET_CRITICAL_MULTIPLIER; - public static int BULLET_CRITICAL_CHANCE; + public static double BULLET_CRITICAL_CHANCE; //Variables public static Weapon starting; private static Weapon current = null; diff --git a/src/com/hotmail/kalebmarc/textfighter/player/Settings.java b/src/com/hotmail/kalebmarc/textfighter/player/Settings.java index 3b176c1a..222226f3 100644 --- a/src/com/hotmail/kalebmarc/textfighter/player/Settings.java +++ b/src/com/hotmail/kalebmarc/textfighter/player/Settings.java @@ -174,7 +174,7 @@ private static void setConstants(String dif, boolean firstInit, boolean changeDi //Price Power.price = 25; Weapon.BULLET_DAMAGE = 10; - Weapon.BULLET_CRITICAL_CHANCE = 1; + Weapon.BULLET_CRITICAL_CHANCE = 0.01; Weapon.BULLET_CRITICAL_MULTIPLIER = 10; FirstAid.price = 5; Potion.spPrice = 10; @@ -225,7 +225,7 @@ private static void setConstants(String dif, boolean firstInit, boolean changeDi //PRICE Power.price = 75; Weapon.BULLET_DAMAGE = 5; - Weapon.BULLET_CRITICAL_CHANCE = 1; + Weapon.BULLET_CRITICAL_CHANCE = 0.01; Weapon.BULLET_CRITICAL_MULTIPLIER = 10; FirstAid.price = 15; Potion.spPrice = 25;