diff --git a/src/engine/objects/MobBase.java b/src/engine/objects/MobBase.java index df74ca02..f231af21 100644 --- a/src/engine/objects/MobBase.java +++ b/src/engine/objects/MobBase.java @@ -62,6 +62,10 @@ public class MobBase extends AbstractGameObject { private float runCombat = 0; public int bootySet; public String fsm = ""; + + public EnumBitSet notEnemy; + public EnumBitSet enemy; + /** * ResultSet Constructor */ @@ -108,6 +112,11 @@ public class MobBase extends AbstractGameObject { this.flags = EnumBitSet.asEnumBitSet(rs.getLong("flags"), Enum.MobFlagType.class); this.noAggro = EnumBitSet.asEnumBitSet(rs.getLong("noaggro"), Enum.AggroType.class); + // From cache data + + this.notEnemy = EnumBitSet.asEnumBitSet(rs.getLong("notEnemy"), Enum.MonsterType.class); + this.enemy = EnumBitSet.asEnumBitSet(rs.getLong("enemy"), Enum.MonsterType.class); + this.seeInvis = rs.getInt("seeInvis"); this.scale = rs.getFloat("scale"); this.hitBoxRadius = 5f;