Fixed regen aura... wasnt working at all
This commit is contained in:
parent
f0f7a4156f
commit
3142bd517d
@ -73,11 +73,13 @@ public class MobZombie extends CreatureBase<Zombie> implements InterfaceMove
|
|||||||
|
|
||||||
public void Speed()
|
public void Speed()
|
||||||
{
|
{
|
||||||
if (GetEntity().getTicksLived() > 3600)
|
if (GetEntity().getTicksLived() > 2400)
|
||||||
|
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 3, false, false, false);
|
||||||
|
else if (GetEntity().getTicksLived() > 1800)
|
||||||
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 2, false, false, false);
|
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 2, false, false, false);
|
||||||
else if (GetEntity().getTicksLived() > 2400)
|
|
||||||
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 1, false, false, false);
|
|
||||||
else if (GetEntity().getTicksLived() > 1200)
|
else if (GetEntity().getTicksLived() > 1200)
|
||||||
|
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 1, false, false, false);
|
||||||
|
else if (GetEntity().getTicksLived() > 600)
|
||||||
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 0, false, false, false);
|
Host.Manager.GetCondition().Factory().Speed("Speed", GetEntity(), GetEntity(), 10, 0, false, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ public class KitRobinHood extends SmashKit
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void Aura(UpdateEvent event)
|
public void Aura(UpdateEvent event)
|
||||||
{
|
{
|
||||||
if (event.getType() != UpdateType.FAST)
|
if (event.getType() != UpdateType.SLOW)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (Player player : Manager.GetGame().GetPlayers(true))
|
for (Player player : Manager.GetGame().GetPlayers(true))
|
||||||
@ -107,7 +107,7 @@ public class KitRobinHood extends SmashKit
|
|||||||
if (UtilMath.offset(player, other) > 8)
|
if (UtilMath.offset(player, other) > 8)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Manager.GetCondition().Factory().Regen("Aura", other, player, 1.9, 0, false, false, false);
|
Manager.GetCondition().Factory().Regen("Aura", other, player, 4.9, 0, false, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user