Browse Source

generic resists added for mobs to stop crashing AI

lakebane-strongholds
FatBoy-DOTC 6 months ago
parent
commit
9e3c13dea3
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -1493,6 +1493,8 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1493,6 +1493,8 @@ public class Mob extends AbstractIntelligenceAgent {
}
if(this.StrongholdCommander || this.StrongholdGuardian || this.StrongholdEpic){
this.setResists(new Resists("Elite"));
}else{
this.setResists(new Resists("Generic"));
}
this.resists.calculateResists(this, false);
}

Loading…
Cancel
Save