forked from MagicBane/Server
traveler and prospector droppers 1 hour spawn timers
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user