Unused methods
This commit is contained in:
@@ -512,29 +512,6 @@ public class NPC extends AbstractCharacter {
|
|||||||
return MinionType.ContractToMinionMap.containsKey(contractID);
|
return MinionType.ContractToMinionMap.containsKey(contractID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean UpdateEquipSetID(NPC npc, int equipSetID) {
|
|
||||||
|
|
||||||
if (!LootManager._bootySetMap.containsKey(equipSetID))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (!DbManager.NPCQueries.UPDATE_EQUIPSET(npc, equipSetID))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
npc.equipmentSetID = equipSetID;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static boolean UpdateRaceID(NPC npc, int raceID) {
|
|
||||||
|
|
||||||
if (!DbManager.NPCQueries.UPDATE_MOBBASE(npc, raceID))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
npc.loadID = raceID;
|
|
||||||
npc.mobBase = MobBase.getMobBase(npc.loadID);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static NPCProfits GetNPCProfits(NPC npc) {
|
public static NPCProfits GetNPCProfits(NPC npc) {
|
||||||
return NPCProfits.ProfitCache.get(npc.currentID);
|
return NPCProfits.ProfitCache.get(npc.currentID);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user