diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 5e788284..94ca987e 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -683,6 +683,8 @@ 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 f95b34f8..02e4c77f 100644 --- a/src/engine/objects/Resists.java +++ b/src/engine/objects/Resists.java @@ -48,6 +48,8 @@ public class Resists { break; case "Dropper": setDropperResists(); + case "HamletGuard": + setDropperResists(); default: setGenericResists(); break;