Browse Source

traveler and prospector droppers 1 hour spawn timers

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
1dfac59b8c
  1. 8
      src/engine/gameManager/LootManager.java

8
src/engine/gameManager/LootManager.java

@ -406,6 +406,10 @@ public enum LootManager {
public static void GenerateInventoryDrop(Mob mob, BootySetEntry bse) { public static void GenerateInventoryDrop(Mob mob, BootySetEntry bse) {
if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){
mob.setSpawnTime(3600);
}
if(mob.parentZone.getSafeZone() == 1) { if(mob.parentZone.getSafeZone() == 1) {
return; return;
} }
@ -421,10 +425,6 @@ public enum LootManager {
if (lootItem != null) if (lootItem != null)
mob.getCharItemManager().addItemToInventory(lootItem); mob.getCharItemManager().addItemToInventory(lootItem);
if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){
mob.setSpawnTime(3600);
}
} }
public static void peddleFate(PlayerCharacter playerCharacter, Item gift) { public static void peddleFate(PlayerCharacter playerCharacter, Item gift) {

Loading…
Cancel
Save