|
|
|
@ -149,16 +149,15 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -149,16 +149,15 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
this.notEnemy = EnumBitSet.asEnumBitSet(rs.getLong("notEnemy"), Enum.MonsterType.class); |
|
|
|
|
this.enemy = EnumBitSet.asEnumBitSet(rs.getLong("enemy"), Enum.MonsterType.class); |
|
|
|
|
this.firstName = rs.getString("mob_name"); |
|
|
|
|
|
|
|
|
|
if (rs.getString("fsm").length() > 1) |
|
|
|
|
if (this.getMobBaseID() == 14104) {//guards
|
|
|
|
|
this.behaviourType = MobBehaviourType.Aggro; |
|
|
|
|
} else if (rs.getString("fsm").length() > 1){ |
|
|
|
|
this.behaviourType = MobBehaviourType.valueOf(rs.getString("fsm")); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
this.currentID = this.dbID; |
|
|
|
|
|
|
|
|
|
this.agentType = AIAgentType.MOBILE; |
|
|
|
|
if(this.getMobBaseID() == 14104) {//guards
|
|
|
|
|
this.behaviourType = MobBehaviourType.Aggro; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.error(e + " " + this.dbID); |
|
|
|
|
} |
|
|
|
|