Changed trader restocking to use a new object, added 20% boat speed to vynora, started on wood essence
This commit is contained in:
@@ -128,6 +128,11 @@ public class LootBounty {
|
||||
corpse.insertItem(cache);
|
||||
i--;
|
||||
}
|
||||
Item item = ItemFactory.createItem(ItemUtil.getMysteryEggID(), 50, (byte)1, "");
|
||||
if(random.nextInt(100) < 25) {
|
||||
item.setRarity((byte)3);
|
||||
}
|
||||
corpse.insertItem(item);
|
||||
if(mob.isDragon()) {
|
||||
int mTemplate = mob.getTemplate().getTemplateId();
|
||||
int lootTemplate = ItemList.drakeHide;
|
||||
@@ -279,7 +284,7 @@ public class LootBounty {
|
||||
int[] caches = {
|
||||
TreasureMapCache.templateId,
|
||||
GemCache.templateId,
|
||||
RiftCache.templateId
|
||||
CrystalCache.templateId
|
||||
};
|
||||
int cacheSelected = random.nextInt(3);
|
||||
Item item = ItemFactory.createItem(caches[cacheSelected], 20 + random.nextInt(40), "");
|
||||
|
||||
Reference in New Issue
Block a user