Browse Source

guards

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
9f58e211a8
  1. 6
      src/engine/objects/MobBase.java

6
src/engine/objects/MobBase.java

@ -89,9 +89,11 @@ public class MobBase extends AbstractGameObject { @@ -89,9 +89,11 @@ public class MobBase extends AbstractGameObject {
}else {
this.bootySet = rs.getInt("bootySet");
}
if(this.loadID == 14104){
this.fsm = Enum.MobBehaviourType.Aggro;
}else {
this.fsm = Enum.MobBehaviourType.valueOf(rs.getString("fsm"));
}
this.flags = EnumBitSet.asEnumBitSet(rs.getLong("flags"), Enum.MobFlagType.class);
this.notEnemy = EnumBitSet.asEnumBitSet(rs.getLong("notEnemy"), Enum.MonsterType.class);
this.enemy = EnumBitSet.asEnumBitSet(rs.getLong("enemy"), Enum.MonsterType.class);

Loading…
Cancel
Save