Merge branch 'master' into 'master'

Added puzzle PS_THB2 - Possibility Storm - Theros Beyond Death 02

See merge request core-developers/forge!2503
This commit is contained in:
Michael Kamensky
2020-02-07 18:14:55 +00:00
2 changed files with 23 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import forge.card.CardStateName;
import forge.card.MagicColor; import forge.card.MagicColor;
import forge.game.Game; import forge.game.Game;
import forge.game.GameEntity; import forge.game.GameEntity;
import forge.game.GameObject;
import forge.game.ability.AbilityFactory; import forge.game.ability.AbilityFactory;
import forge.game.ability.effects.DetachedCardEffect; import forge.game.ability.effects.DetachedCardEffect;
import forge.game.card.*; import forge.game.card.*;
@@ -815,6 +816,12 @@ public abstract class GameState {
break; break;
} }
} }
if (sa.hasParam("RememberTargets")) {
for (final GameObject o : sa.getTargets().getTargets()) {
sa.getHostCard().addRemembered(o);
}
}
} }
private void handleScriptExecution(final Game game) { private void handleScriptExecution(final Game game) {

View File

@@ -0,0 +1,16 @@
[metadata]
Name:Possibility Storm - Theros Beyond Death #02
URL:https://i1.wp.com/www.possibilitystorm.com/wp-content/uploads/2020/01/145.-THB2-1-scaled.jpg
Goal:Win
Turns:1
Difficulty:Uncommon
Description:Win this turn. Your Nyxbloom Ancient is exiled by the opponent's Deputy of Detention. Remember that your solution must satisfy all possible opponent decisions.
[state]
humanlife=1
ailife=17
turn=1
activeplayer=human
activephase=MAIN1
humanhand=Nylea's Intervention;Faerie Guidemother;Wakeroot Elemental;Flicker of Fate
humanbattlefield=Living Twister;Bronzehide Lion;Truefire Captain;Nyxbloom Ancient|Id:1;Stomping Ground|NoETBTrigs;Stomping Ground|NoETBTrigs;Stomping Ground|NoETBTrigs;Stomping Ground|NoETBTrigs;Sacred Foundry|NoETBTrigs;Sacred Foundry|NoETBTrigs;Sacred Foundry|NoETBTrigs
aibattlefield=Sphinx of Foresight;Deputy of Detention|ExecuteScript:TrigExile->1