diff --git a/src/main/java/tconstruct/weaponry/weapons/Crossbow.java b/src/main/java/tconstruct/weaponry/weapons/Crossbow.java index 33e8747af2f..3d7f3c90ff3 100644 --- a/src/main/java/tconstruct/weaponry/weapons/Crossbow.java +++ b/src/main/java/tconstruct/weaponry/weapons/Crossbow.java @@ -1,5 +1,6 @@ package tconstruct.weaponry.weapons; +import tconstruct.TConstruct; import tconstruct.library.TConstructRegistry; import tconstruct.weaponry.TinkerWeaponry; import tconstruct.weaponry.ammo.BoltAmmo; @@ -267,6 +268,10 @@ protected Entity createProjectile(ItemStack ammo, World world, EntityPlayer play if(player.capabilities.isCreativeMode) arrow.canBePickedUp = 2; + // 10% crit hit chance! + if(!world.isRemote && TConstruct.random.nextFloat() < 0.1f) + arrow.setIsCritical(true); + return arrow; }