From 12b44e216c3ddde7727ff5318691b76bdb835333 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 11 May 2024 18:49:29 -0500 Subject: [PATCH] mob resist issue --- src/engine/objects/AbstractCharacter.java | 2 -- src/engine/objects/Resists.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 94ca987e..5e788284 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -683,8 +683,6 @@ public abstract class AbstractCharacter extends AbstractWorldObject { if(Mob.disciplineDroppers.contains(this)){ return new Resists("Dropper"); } - if(this.getObjectType().equals(GameObjectType.Mob) && ((Mob)this).behaviourType.equals(MobBehaviourType.HamletGuard)) - return new Resists("HamletGuard"); return this.resists; } diff --git a/src/engine/objects/Resists.java b/src/engine/objects/Resists.java index ac5e09b3..f95b34f8 100644 --- a/src/engine/objects/Resists.java +++ b/src/engine/objects/Resists.java @@ -48,8 +48,6 @@ public class Resists { break; case "Dropper": setDropperResists(); - case "HamletGuard": - setHamletGuardResists(); default: setGenericResists(); break;