variable naming convention
This commit is contained in:
@@ -320,10 +320,10 @@ public class LootTable {
|
||||
ArrayList<BootySetEntry> bootySetList;
|
||||
ArrayList<MobLoot> mobLootList = new ArrayList<>();
|
||||
|
||||
if (mob.bootySetID == 0)
|
||||
if (mob.bootySet == 0)
|
||||
return mobLootList;
|
||||
|
||||
bootySetList = NPCManager._bootySetMap.get(mob.bootySetID);
|
||||
bootySetList = NPCManager._bootySetMap.get(mob.bootySet);
|
||||
|
||||
for (BootySetEntry bootyEntry : bootySetList)
|
||||
if (ThreadLocalRandom.current().nextInt(100) < bootyEntry.dropChance) {
|
||||
|
||||
@@ -106,7 +106,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
private boolean lootSync = false;
|
||||
public int equipmentSetID = 0;
|
||||
public int runeSetID = 0;
|
||||
public int bootySetID = 0;
|
||||
public int bootySet = 0;
|
||||
|
||||
/**
|
||||
* No Id Constructor
|
||||
@@ -286,7 +286,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
|
||||
this.equipmentSetID = rs.getInt("equipmentSet");
|
||||
this.runeSetID = rs.getInt("runeSet");
|
||||
this.bootySetID = rs.getInt("bootySet");
|
||||
this.bootySet = rs.getInt("bootySet");
|
||||
|
||||
if (this.contract != null)
|
||||
this.equipmentSetID = this.contract.getEquipmentSet();
|
||||
|
||||
Reference in New Issue
Block a user