Browse Source

mob resist issue

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
12b44e216c
  1. 2
      src/engine/objects/AbstractCharacter.java
  2. 2
      src/engine/objects/Resists.java

2
src/engine/objects/AbstractCharacter.java

@ -683,8 +683,6 @@ 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
src/engine/objects/Resists.java

@ -48,8 +48,6 @@ public class Resists {
break; break;
case "Dropper": case "Dropper":
setDropperResists(); setDropperResists();
case "HamletGuard":
setHamletGuardResists();
default: default:
setGenericResists(); setGenericResists();
break; break;

Loading…
Cancel
Save