Browse Source

dd roll removed

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

11
src/engine/mobileAI/MobAI.java

@ -512,17 +512,10 @@ public class MobAI {
return false; return false;
int powerToken = 0; int powerToken = 0;
int nukeRoll = ThreadLocalRandom.current().nextInt(1,100);
if (nukeRoll < 55) { // Choose a random spell.
//use direct damage spell powerToken = powerEntries.get(ThreadLocalRandom.current().nextInt(powerEntries.size())).token;
powerToken = powerEntries.get(powerEntries.size() - 1).token;
} else {
//use random spell
powerToken = powerEntries.get(ThreadLocalRandom.current().nextInt(powerEntries.size())).token;
}
int powerRank = 1; int powerRank = 1;

Loading…
Cancel
Save