Skip to content

Commit

Permalink
Buff moss regeneration for projectiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Dec 19, 2014
1 parent d11d844 commit f9819dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/tools/TActiveOmniMod.java
Expand Up @@ -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
Expand Down

0 comments on commit f9819dc

Please sign in to comment.