From 2922fdf623f4f52707fdb87d17089d2dc96f6b5d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 26 Jun 2022 20:07:18 -0500 Subject: [PATCH] changed mob casting rate from 1/3 to 1/10 --- src/engine/ai/utilities/CombatUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ai/utilities/CombatUtilities.java b/src/engine/ai/utilities/CombatUtilities.java index 7da43567..32fb1fe5 100644 --- a/src/engine/ai/utilities/CombatUtilities.java +++ b/src/engine/ai/utilities/CombatUtilities.java @@ -301,7 +301,7 @@ public class CombatUtilities { if(agent.mobPowers.size() > 0 && agent.mobPowers != null) { //get cast chance 33% cast 67% mele - int random = ThreadLocalRandom.current().nextInt(agent.mobPowers.size() * 3); + int random = ThreadLocalRandom.current().nextInt(agent.mobPowers.size() * 10); //allow casting of spell if(random <= agent.mobPowers.size()) {