reverted to size 2 ball

This commit is contained in:
Cheese 2015-11-21 08:20:02 +11:00
parent 3067d9f281
commit cfc0aa7d05

View File

@ -159,7 +159,7 @@ public class Ball
//Spawn //Spawn
_host.CreatureAllowOverride = true; _host.CreatureAllowOverride = true;
_ball = _ballSpawn.getWorld().spawn(_ballSpawn, Slime.class); _ball = _ballSpawn.getWorld().spawn(_ballSpawn, Slime.class);
_ball.setSize(3); _ball.setSize(2);
UtilEnt.Vegetate(_ball); UtilEnt.Vegetate(_ball);
UtilEnt.ghost(_ball, false, false); UtilEnt.ghost(_ball, false, false);
@ -190,8 +190,8 @@ public class Ball
for (Player player : _host.GetPlayers(true)) for (Player player : _host.GetPlayers(true))
{ {
if (UtilMath.offset(player, _ball) < 2 || if (UtilMath.offset(player, _ball) < 1.5 ||
UtilMath.offset(player.getEyeLocation(), _ball.getLocation()) < 1.5) UtilMath.offset(player.getEyeLocation(), _ball.getLocation()) < 1.25)
{ {
if (Recharge.Instance.use(player, "Football Kick", 600, false, false)) if (Recharge.Instance.use(player, "Football Kick", 600, false, false))
{ {