Made it so that when played on an MPS, HH won't give items. Yay!

This commit is contained in:
Mysticate 2015-10-07 22:57:30 -04:00
parent 8a8591ae7f
commit ef62fb5adf

View File

@ -401,12 +401,20 @@ public class Halloween extends SoloGame
{
for (Player player : GetPlayers(false))
{
Manager.GetDonation().PurchaseUnknownSalesPackage(null, player.getName(), Manager.GetClients().Get(player).getAccountId(), "Decrepit Warhorse", false, 0, true);
Manager.GetGame().AddGems(player, 30, "Killing the Pumpkin King", false, false);
Manager.GetGame().AddGems(player, 10, "Participation", false, false);
}
SetCustomWinLine("You earned Decrepit Warhorse Mount!");
if (Manager.IsRewardItems())
{
SetCustomWinLine("You earned the Decrepit Warhorse Mount!");
for (Player player : GetPlayers(false))
{
Manager.GetDonation().PurchaseUnknownSalesPackage(null, player.getName(), Manager.GetClients().Get(player).getAccountId(), "Decrepit Warhorse", false, 0, true);
}
}
AnnounceEnd(this.GetTeamList().get(0));
SetState(GameState.End);