Browse Source

dd roll removed

feature-workorder
MagicBot 1 year ago
parent
commit
8b5cb9258e
  1. 9
      src/engine/mobileAI/MobAI.java

9
src/engine/mobileAI/MobAI.java

@ -512,17 +512,10 @@ public class MobAI { @@ -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;
}
int powerRank = 1;

Loading…
Cancel
Save