- Update for playability

This commit is contained in:
AlexTheCoder 2016-04-14 23:05:14 -04:00
parent 33b557eb10
commit 09f9ae3b7a
2 changed files with 8 additions and 6 deletions

View File

@ -893,10 +893,10 @@ public class MinecraftLeague extends TeamGame
if (!tower.canDamage(player))
return;
//if (!tower.Vulnerable)
if (!tower.Vulnerable)
{
//UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!"));
//return;
UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!"));
return;
}
if (!tower.damage(event.getDamage() / 2, player))
@ -914,10 +914,10 @@ public class MinecraftLeague extends TeamGame
if (!tower.canDamage(player))
return;
//if (!tower.Vulnerable)
if (!tower.Vulnerable)
{
//UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!"));
//return;
UtilPlayer.message(player, F.main("Game", "That Tower is protected by the power of another!"));
return;
}
if (player.getItemInHand() == null || player.getItemInHand().getType() == Material.AIR)

View File

@ -118,7 +118,9 @@ public class WitherMinionManager implements Listener
chosen = _spawns.get(_selected);
else
chosen = _spawns.get(_lastUsed);
_host.Host.CreatureAllowOverride = true;
Entity e = _host.Manager.GetCreature().SpawnEntity(chosen, EntityType.SKELETON);
_host.Host.CreatureAllowOverride = false;
((Skeleton)e).setSkeletonType(SkeletonType.WITHER);
_entity = (Skeleton)e;
UtilEnt.ghost(e, true, false);