|
|
|
@ -80,9 +80,7 @@ public class LootManager {
@@ -80,9 +80,7 @@ public class LootManager {
|
|
|
|
|
private static void RunBootySet(ArrayList<BootySetEntry> entries, Mob mob, float multiplier, boolean inHotzone, boolean fromDeath) { |
|
|
|
|
if (fromDeath) { |
|
|
|
|
DropEquipment(mob, multiplier); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
int hotzoneTable = 0; |
|
|
|
|
} else { |
|
|
|
|
for (BootySetEntry bse : entries) { |
|
|
|
|
switch (bse.bootyType) { |
|
|
|
|
case "GOLD": |
|
|
|
@ -92,7 +90,7 @@ public class LootManager {
@@ -92,7 +90,7 @@ public class LootManager {
|
|
|
|
|
GenerateLootDrop(mob, bse.lootTable, bse.dropChance, multiplier);//generate normal loot drop
|
|
|
|
|
if (inHotzone) { |
|
|
|
|
if (generalItemTables.containsKey(bse.lootTable + 1)) |
|
|
|
|
GenerateLootDrop(mob, bse.lootTable + 1, bse.dropChance,multiplier);//generate loot drop from hotzone table
|
|
|
|
|
GenerateLootDrop(mob, bse.lootTable + 1, bse.dropChance, multiplier);//generate loot drop from hotzone table
|
|
|
|
|
//else
|
|
|
|
|
//GenerateLootDrop(mob, bse.lootTable, bse.dropChance, multiplier);//generate normal loot drop
|
|
|
|
|
} |
|
|
|
@ -103,6 +101,7 @@ public class LootManager {
@@ -103,6 +101,7 @@ public class LootManager {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
public static MobLoot getGenTableItem(int genTableID, Mob mob) { |
|
|
|
|
if (genTableID == 0 || mob == null || generalItemTables.containsKey(genTableID) == false) { |
|
|
|
|
return null; |
|
|
|
|