From 0454fc521bbfd74f16a9baa3bf42018a0683a306 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 16 May 2016 17:56:17 +0200 Subject: [PATCH] Made drop chances for wings, solid xp and cobweb more common Closes #94 --- .../actuallyadditions/mod/event/LivingDropEvent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/event/LivingDropEvent.java b/src/main/java/de/ellpeck/actuallyadditions/mod/event/LivingDropEvent.java index 092caf2c1..99544819f 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/event/LivingDropEvent.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/event/LivingDropEvent.java @@ -30,21 +30,21 @@ public class LivingDropEvent{ if(event.getSource().getEntity() instanceof EntityPlayer){ //Drop Solidified XP if(event.getEntityLiving() instanceof EntityCreature){ - if(Util.RANDOM.nextInt(15) <= 0){ + if(Util.RANDOM.nextInt(10) <= 0){ event.getEntityLiving().entityDropItem(new ItemStack(InitItems.itemSolidifiedExperience, Util.RANDOM.nextInt(2)+1), 0); } } //Drop Cobwebs from Spiders if(ConfigBoolValues.DO_SPIDER_DROPS.isEnabled() && event.getEntityLiving() instanceof EntitySpider){ - if(Util.RANDOM.nextInt(80) <= 0){ + if(Util.RANDOM.nextInt(20) <= 0){ event.getEntityLiving().entityDropItem(new ItemStack(Blocks.WEB, Util.RANDOM.nextInt(2)+1), 0); } } //Drop Wings from Bats if(ConfigBoolValues.DO_BAT_DROPS.isEnabled() && event.getEntityLiving() instanceof EntityBat){ - if(Util.RANDOM.nextInt(30) <= 0){ + if(Util.RANDOM.nextInt(15) <= 0){ event.getEntityLiving().entityDropItem(new ItemStack(InitItems.itemMisc, Util.RANDOM.nextInt(2)+1, TheMiscItems.BAT_WING.ordinal()), 0); } }