Made it so that when played on an MPS, HH won't give items. Yay!
This commit is contained in:
parent
8a8591ae7f
commit
ef62fb5adf
@ -401,12 +401,20 @@ public class Halloween extends SoloGame
|
|||||||
{
|
{
|
||||||
for (Player player : GetPlayers(false))
|
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, 30, "Killing the Pumpkin King", false, false);
|
||||||
Manager.GetGame().AddGems(player, 10, "Participation", 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));
|
AnnounceEnd(this.GetTeamList().get(0));
|
||||||
|
|
||||||
SetState(GameState.End);
|
SetState(GameState.End);
|
||||||
|
Loading…
Reference in New Issue
Block a user