Browse Source

normal loot and hotzone loot test

master
FatBoy-DOTC 1 year ago
parent
commit
75f54ae562
  1. 5
      src/engine/loot/LootManager.java

5
src/engine/loot/LootManager.java

@ -89,11 +89,12 @@ public class LootManager {
GenerateGoldDrop(mob, bse, inHotzone); GenerateGoldDrop(mob, bse, inHotzone);
break; break;
case "LOOT": case "LOOT":
GenerateLootDrop(mob, bse.lootTable, bse.dropChance, multiplier);//generate normal loot drop
if (inHotzone) { if (inHotzone) {
if (generalItemTables.containsKey(bse.lootTable + 1)) 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 //else
GenerateLootDrop(mob, bse.lootTable, bse.dropChance, multiplier);//generate normal loot drop //GenerateLootDrop(mob, bse.lootTable, bse.dropChance, multiplier);//generate normal loot drop
} }
break; break;
case "ITEM": case "ITEM":

Loading…
Cancel
Save