mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
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.
This commit is contained in:
@@ -6451,6 +6451,11 @@ public class GameActionUtil {
|
|||||||
public static void upkeep_Ivory_Tower() {
|
public static void upkeep_Ivory_Tower() {
|
||||||
final String player = AllZone.Phase.getActivePlayer();
|
final String player = AllZone.Phase.getActivePlayer();
|
||||||
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play,player);
|
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play,player);
|
||||||
|
CardList hand = AllZoneUtil.getPlayerHand(player);
|
||||||
|
|
||||||
|
if(hand.size() <= 4) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CardList list = new CardList(playZone.getCards());
|
CardList list = new CardList(playZone.getCards());
|
||||||
list = list.getName("Ivory Tower");
|
list = list.getName("Ivory Tower");
|
||||||
|
|||||||
Reference in New Issue
Block a user