variable naming convention

This commit is contained in:
2023-04-07 12:22:33 -05:00
parent 8b6bc38082
commit 335484944f
3 changed files with 28 additions and 19 deletions
+2 -2
View File
@@ -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) {
+2 -2
View File
@@ -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();