Browse Source

guards

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

8
src/engine/objects/MobBase.java

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

Loading…
Cancel
Save