From 8b5cb9258e7e44dfd770327038bdc2dd0b3a33d9 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 5 Sep 2023 14:09:48 -0400 Subject: [PATCH] dd roll removed --- src/engine/mobileAI/MobAI.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index f2b33879..4bf9ef65 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -512,17 +512,10 @@ public class MobAI { return false; int powerToken = 0; - int nukeRoll = ThreadLocalRandom.current().nextInt(1,100); - if (nukeRoll < 55) { + // Choose a random spell. - //use direct damage spell - powerToken = powerEntries.get(powerEntries.size() - 1).token; - - } else { - //use random spell - powerToken = powerEntries.get(ThreadLocalRandom.current().nextInt(powerEntries.size())).token; - } + powerToken = powerEntries.get(ThreadLocalRandom.current().nextInt(powerEntries.size())).token; int powerRank = 1;