From 9e3c13dea3947f58c770a266a96cc76925121d51 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 11 Jul 2024 19:34:50 -0500 Subject: [PATCH] generic resists added for mobs to stop crashing AI --- src/engine/objects/Mob.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 703671aa..0aee2057 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -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); }