From 8f96b154542832a7eb20e73b9460d9795f650dda Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 1 Aug 2016 17:18:01 +0100 Subject: [PATCH] Ninja Dash damage radius fix --- .../src/nautilus/game/arcade/kit/perks/PerkDash.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkDash.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkDash.java index 8c6fbe82b..fbcf44d6f 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkDash.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkDash.java @@ -27,6 +27,8 @@ import nautilus.game.arcade.kit.Perk; public class PerkDash extends Perk { + private static final double DAMAGE_RADIUS = 2; + private long _cooldown; private double _damage; private double _distance; @@ -98,7 +100,7 @@ public class PerkDash extends Perk } //Damage Players - for (Player other : UtilPlayer.getNearby(newTarget, _distance)) + for (Player other : UtilPlayer.getNearby(newTarget, DAMAGE_RADIUS)) { Manager.GetDamage().NewDamageEvent(other, player, null, DamageCause.CUSTOM, _damage, true, false, false, player.getName(), GetName()); }