From 1b83b0fca41ad0ff8eea3c7cffb9a6d15e5368eb Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 04:32:15 +0000 Subject: [PATCH] update Ivory Tower code to bring it in line with Black Vise and The Rack. Only goes on the stack if life gain/loss will happen. --- src/forge/GameActionUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 31f9af1d269..5f212ba633f 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -6451,6 +6451,11 @@ public class GameActionUtil { public static void upkeep_Ivory_Tower() { final String player = AllZone.Phase.getActivePlayer(); PlayerZone playZone = AllZone.getZone(Constant.Zone.Play,player); + CardList hand = AllZoneUtil.getPlayerHand(player); + + if(hand.size() <= 4) { + return; + } CardList list = new CardList(playZone.getCards()); list = list.getName("Ivory Tower");