mob resist issue

This commit is contained in:
2024-05-11 18:53:06 -05:00
parent 12b44e216c
commit a33d650738
2 changed files with 4 additions and 0 deletions
@@ -683,6 +683,8 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
if(Mob.disciplineDroppers.contains(this)){ if(Mob.disciplineDroppers.contains(this)){
return new Resists("Dropper"); return new Resists("Dropper");
} }
if(this.getObjectType().equals(GameObjectType.Mob) && ((Mob)this).behaviourType.equals(MobBehaviourType.HamletGuard))
return new Resists("HamletGuard");
return this.resists; return this.resists;
} }
+2
View File
@@ -48,6 +48,8 @@ public class Resists {
break; break;
case "Dropper": case "Dropper":
setDropperResists(); setDropperResists();
case "HamletGuard":
setDropperResists();
default: default:
setGenericResists(); setGenericResists();
break; break;