diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/squid/PerkInkBlast.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/squid/PerkInkBlast.java index 4613a99e0..8b15e9455 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/squid/PerkInkBlast.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/squid/PerkInkBlast.java @@ -37,6 +37,7 @@ public class PerkInkBlast extends SmashPerk implements IThrown { private int _cooldown; + private float _spread; private float _projectileVelocity; private int _knockbackMagnitude; private int _bullets; @@ -51,6 +52,7 @@ public class PerkInkBlast extends SmashPerk implements IThrown public void setupValues() { _cooldown = getPerkTime("Cooldown"); + _spread = getPerkFloat("Spread"); _projectileVelocity = getPerkFloat("Projectile Velocity"); _knockbackMagnitude = getPerkInt("Knockback Magnitude"); _bullets = getPerkInt("Bullets"); @@ -106,7 +108,7 @@ public class PerkInkBlast extends SmashPerk implements IThrown Item ent = player.getWorld().dropItem(player.getEyeLocation().add(player.getLocation().getDirection()), ItemStackFactory.Instance.CreateStack(Material.INK_SACK, (byte) 0, 1, "Ink" + Math .random())); - Vector random = new Vector(Math.random() - 0.5, Math.random() - 0.5, Math.random() - 0.5); + Vector random = new Vector((Math.random() - 0.5) * _spread, (Math.random() - 0.5) * _spread, (Math.random() - 0.5) * _spread); random.normalize(); random.multiply(_projectileVelocity);