From bdc467db30f8fa2e29bf0bad4c0c6b676f0a9600 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 26 Nov 2016 18:24:55 -0500 Subject: [PATCH] Adjusted Cannon Bow for slower arc --- .../components/magic/tricks/CannonBowListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alisolarflare/components/magic/tricks/CannonBowListener.java b/src/alisolarflare/components/magic/tricks/CannonBowListener.java index 5891fdf..097f685 100644 --- a/src/alisolarflare/components/magic/tricks/CannonBowListener.java +++ b/src/alisolarflare/components/magic/tricks/CannonBowListener.java @@ -43,9 +43,9 @@ public class CannonBowListener implements Listener { return; TNTPrimed tnt = (TNTPrimed) arrow.getWorld().spawnEntity(arrow.getLocation(), EntityType.PRIMED_TNT); - tnt.setVelocity(player.getEyeLocation().getDirection().normalize().multiply(2.0)); + tnt.setVelocity(player.getEyeLocation().getDirection().normalize().multiply(1.0)); tnt.setCustomName("CANNON BOW TNT"); - tnt.setFuseTicks(20); + tnt.setFuseTicks(40); player.setVelocity(player.getEyeLocation().getDirection().normalize().multiply(-1)); player.getWorld().playSound(player.getLocation(), Sound.ENTITY_GENERIC_EXPLODE, 2.0F, 0);