aiAgentType enumeration defined.

This commit is contained in:
2023-08-20 15:10:31 -04:00
parent e4283c2444
commit bed99dce62
4 changed files with 31 additions and 79 deletions
-7
View File
@@ -54,7 +54,6 @@ public class NPC extends AbstractCharacter {
public int runeSetID = 0;
public int extraRune2 = 0;
protected int loadID;
protected boolean isMob;
protected MobBase mobBase;
protected String name;
protected int dbID;
@@ -91,7 +90,6 @@ public class NPC extends AbstractCharacter {
super(name, "", statStrCurrent, statDexCurrent, statConCurrent, statIntCurrent, statSpiCurrent, level, exp,
bindLoc, currentLoc, faceDir, guild, runningTrains);
this.loadID = npcType;
this.isMob = isMob;
this.contract = DbManager.ContractQueries.GET_CONTRACT(contractID);
if (this.contract != null)
@@ -133,7 +131,6 @@ public class NPC extends AbstractCharacter {
this.loadID = rs.getInt("npc_raceID");
this.level = rs.getByte("npc_level");
this.isMob = false;
buildingUUID = rs.getInt("npc_buildingID");
@@ -747,10 +744,6 @@ public class NPC extends AbstractCharacter {
this.charItemManager.load();
}
public boolean isMob() {
return this.isMob;
}
public MobBase getMobBase() {
return this.mobBase;
}