generic resists added for mobs to stop crashing AI
This commit is contained in:
@@ -1493,6 +1493,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
}
|
}
|
||||||
if(this.StrongholdCommander || this.StrongholdGuardian || this.StrongholdEpic){
|
if(this.StrongholdCommander || this.StrongholdGuardian || this.StrongholdEpic){
|
||||||
this.setResists(new Resists("Elite"));
|
this.setResists(new Resists("Elite"));
|
||||||
|
}else{
|
||||||
|
this.setResists(new Resists("Generic"));
|
||||||
}
|
}
|
||||||
this.resists.calculateResists(this, false);
|
this.resists.calculateResists(this, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user