diff --git a/src/main/java/com/gmail/nossr50/skills/archery/ArcheryManager.java b/src/main/java/com/gmail/nossr50/skills/archery/ArcheryManager.java index 2d06492fe..df9db6077 100644 --- a/src/main/java/com/gmail/nossr50/skills/archery/ArcheryManager.java +++ b/src/main/java/com/gmail/nossr50/skills/archery/ArcheryManager.java @@ -34,7 +34,7 @@ public class ArcheryManager { ArrowTrackingEventHandler eventHandler = new ArrowTrackingEventHandler(this, livingEntity); - if (Archery.getRandom().nextInt(1000) <= eventHandler.skillModifier) { + if (Archery.getRandom().nextInt(1000) < eventHandler.skillModifier) { eventHandler.addToTracker(); } } @@ -52,7 +52,7 @@ public class ArcheryManager { DazeEventHandler eventHandler = new DazeEventHandler(this, event, defender); - if (Archery.getRandom().nextInt(2000) <= eventHandler.skillModifier) { + if (Archery.getRandom().nextInt(2000) < eventHandler.skillModifier) { eventHandler.handleDazeEffect(); eventHandler.sendAbilityMessages(); } diff --git a/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java b/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java index cc0c3fe64..73894b741 100644 --- a/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java @@ -78,7 +78,7 @@ public class TamingManager { GoreEventHandler eventHandler = new GoreEventHandler(this, event); - if (Taming.getRandom().nextInt(1000) <= eventHandler.skillModifier) { + if (Taming.getRandom().nextInt(1000) < eventHandler.skillModifier) { eventHandler.modifyEventDamage(); eventHandler.applyBleed(); eventHandler.sendAbilityMessage();