From f9819dcd10ccc85a3f49737da6ed72ebc6fa414b Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Fri, 19 Dec 2014 14:12:29 +0100 Subject: [PATCH] Buff moss regeneration for projectiles --- src/main/java/tconstruct/tools/TActiveOmniMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tconstruct/tools/TActiveOmniMod.java b/src/main/java/tconstruct/tools/TActiveOmniMod.java index 3d298301b78..58ab7620327 100644 --- a/src/main/java/tconstruct/tools/TActiveOmniMod.java +++ b/src/main/java/tconstruct/tools/TActiveOmniMod.java @@ -36,7 +36,7 @@ public void updateTool (ToolCore tool, ItemStack stack, World world, Entity enti int chance = tags.getInteger("Moss"); int check = world.canBlockSeeTheSky((int) entity.posX, (int) entity.posY, (int) entity.posZ) ? 350 : 1150; // REGROWING AMMO :OOoo - if(tool instanceof IAmmo && random.nextInt(check*10) < chance) // ammo regenerates at a much slower rate + if(tool instanceof IAmmo && random.nextInt(check*3) < chance) // ammo regenerates at a much slower rate { IAmmo ammothing = (IAmmo)tool; if(ammothing.getAmmoCount(stack) > 0) // must have ammo