From 809b04752389cf24389c09e086cf2a922e4d95eb Mon Sep 17 00:00:00 2001 From: Agetian Date: Tue, 10 Apr 2018 11:56:07 +0300 Subject: [PATCH] - Added PS_RIX1 puzzle. - Fixed Puzzle Mode init for setting the player's hand size which sometimes failed to work. --- forge-gui/res/puzzle/PS_RIX1.pzl | 24 +++++++++++++++++++ .../src/main/java/forge/puzzle/Puzzle.java | 1 + 2 files changed, 25 insertions(+) create mode 100644 forge-gui/res/puzzle/PS_RIX1.pzl diff --git a/forge-gui/res/puzzle/PS_RIX1.pzl b/forge-gui/res/puzzle/PS_RIX1.pzl new file mode 100644 index 00000000000..34ac1873a2a --- /dev/null +++ b/forge-gui/res/puzzle/PS_RIX1.pzl @@ -0,0 +1,24 @@ +[metadata] +Name:Possibility Storm - Rivals of Ixalan #01 +URL:http://www.possibilitystorm.com/wp-content/uploads/2018/01/RIX1-Jan-22.jpg +Goal:Win +Turns:1 +Difficulty:Rare +Description:Win this turn. Your Legion Lieutenant is enchanted by your opponent's Compulsory Rest. +[state] +ActivePlayer=human +ActivePhase=main1 +HumanLife=1 +AILife=4 +humanhand=Walking Ballista;Cleansing Ray;Tocatli Honor Guard;Fatal Push;Gideon's Defeat; +humanlibrary= +humangraveyard= +humanbattlefield=Trapjaw Tyrant;Vicious Conquistador;Legion Lieutenant|Id:1;Concealed Courtyard;Concealed Courtyard;Concealed Courtyard;Plains|Set:XLN;Swamp|Set:XLN;Swamp|Set:XLN; +humanexile= +humancommand= +aihand= +ailibrary= +aigraveyard= +aibattlefield=Compulsory Rest|Attaching:1;Protection of the Hekma;Rampaging Ferocidon;Gifted Aetherborn;Regal Caracal;t:Cat,P:1,T:1,Cost:no cost,Types:Creature-Cat,Keywords:Lifelink,Image:w_1_1_cat;t:Cat,P:1,T:1,Cost:no cost,Types:Creature-Cat,Keywords:Lifelink,Image:w_1_1_cat; +aiexile= +aicommand= diff --git a/forge-gui/src/main/java/forge/puzzle/Puzzle.java b/forge-gui/src/main/java/forge/puzzle/Puzzle.java index ff4c2afd52a..b513fc0732a 100644 --- a/forge-gui/src/main/java/forge/puzzle/Puzzle.java +++ b/forge-gui/src/main/java/forge/puzzle/Puzzle.java @@ -91,6 +91,7 @@ public class Puzzle extends GameState implements InventoryItem, Comparable