Ninja Dash damage radius fix
This commit is contained in:
parent
84a4aa5157
commit
8f96b15454
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user