From 71f9fd97d6600411128fb6f8b1a959b66fa54ac0 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 1 Aug 2016 18:46:35 +0100 Subject: [PATCH] End Effect change Reduced the amount of TNT thrown and reduced the velocity at which they are fired. --- .../game/arcade/game/games/quiver/QuiverPayload.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/QuiverPayload.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/QuiverPayload.java index e4f0848b9..e78c874d0 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/QuiverPayload.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/quiver/QuiverPayload.java @@ -86,8 +86,7 @@ public class QuiverPayload extends TeamGame private static final long POWERUP_SPAWN_DELAY = 20000; private static final int RESPAWN_ARROW_GIVE_DELAY = 20; private static final int END_EFFECT_DELAY = 100; - private static final int END_EFFECT_TNT_AMOUNT = 15; - private static final int END_EFFECT_TNT_MAX_VELOCITY = 2; + private static final int END_EFFECT_TNT_AMOUNT = 8; private static final int END_EFFECT_EXPLOSION_RADIUS = 5; public static final int KIT_NINJA_SHURIKEN_AMOUNT = 15; @@ -607,9 +606,8 @@ public class QuiverPayload extends TeamGame { TNTPrimed tntPrimed = _minecart.getWorld().spawn(_minecart.getLocation().add(0, 1, 0), TNTPrimed.class); - tntPrimed.setVelocity(new Vector(random.nextInt(END_EFFECT_TNT_MAX_VELOCITY * 2) - END_EFFECT_TNT_MAX_VELOCITY, random.nextInt(END_EFFECT_TNT_MAX_VELOCITY) / 2, random.nextInt( - END_EFFECT_TNT_MAX_VELOCITY * 2) - END_EFFECT_TNT_MAX_VELOCITY)); - tntPrimed.setFuseTicks((int) (END_EFFECT_DELAY * 0.75)); + tntPrimed.setVelocity(new Vector(random.nextDouble() - 0.5, random.nextDouble() / 2, random.nextDouble() - 0.5)); + tntPrimed.setFuseTicks((int) (END_EFFECT_DELAY / 2)); tntPrimed.setYield(END_EFFECT_EXPLOSION_RADIUS); }