diff --git a/forge-gui/res/cardsfolder/b/brazen_buccaneers.txt b/forge-gui/res/cardsfolder/b/brazen_buccaneers.txt index 2a53e6fc301..dbd444ff5fb 100644 --- a/forge-gui/res/cardsfolder/b/brazen_buccaneers.txt +++ b/forge-gui/res/cardsfolder/b/brazen_buccaneers.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/brazen_buccaneers.jpg diff --git a/forge-gui/res/cardsfolder/d/dire_fleet_interloper.txt b/forge-gui/res/cardsfolder/d/dire_fleet_interloper.txt index 38aa998fcac..c80c5c6f59c 100644 --- a/forge-gui/res/cardsfolder/d/dire_fleet_interloper.txt +++ b/forge-gui/res/cardsfolder/d/dire_fleet_interloper.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/dire_fleet_interloper.jpg diff --git a/forge-gui/res/cardsfolder/e/emissary_of_sunrise.txt b/forge-gui/res/cardsfolder/e/emissary_of_sunrise.txt index 5a82138ef98..b38bbabbe0c 100644 --- a/forge-gui/res/cardsfolder/e/emissary_of_sunrise.txt +++ b/forge-gui/res/cardsfolder/e/emissary_of_sunrise.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/emissary_of_sunrise.jpg diff --git a/forge-gui/res/cardsfolder/e/emperors_vanguard.txt b/forge-gui/res/cardsfolder/e/emperors_vanguard.txt index fd18e670512..f6ba376cc28 100644 --- a/forge-gui/res/cardsfolder/e/emperors_vanguard.txt +++ b/forge-gui/res/cardsfolder/e/emperors_vanguard.txt @@ -7,7 +7,7 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/emperors_vanguard.jpg diff --git a/forge-gui/res/cardsfolder/i/ixallis_diviner.txt b/forge-gui/res/cardsfolder/i/ixallis_diviner.txt index df23278b8d2..d4438644972 100644 --- a/forge-gui/res/cardsfolder/i/ixallis_diviner.txt +++ b/forge-gui/res/cardsfolder/i/ixallis_diviner.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/ixallis_diviner.jpg diff --git a/forge-gui/res/cardsfolder/m/merfolk_branchwalker.txt b/forge-gui/res/cardsfolder/m/merfolk_branchwalker.txt index 0753c0bc420..be6cc6940af 100644 --- a/forge-gui/res/cardsfolder/m/merfolk_branchwalker.txt +++ b/forge-gui/res/cardsfolder/m/merfolk_branchwalker.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/merfolk_branchwalker.jpg diff --git a/forge-gui/res/cardsfolder/q/queens_agent.txt b/forge-gui/res/cardsfolder/q/queens_agent.txt index 3e2a316b4d6..e8156220a1c 100644 --- a/forge-gui/res/cardsfolder/q/queens_agent.txt +++ b/forge-gui/res/cardsfolder/q/queens_agent.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/queens_agent.jpg diff --git a/forge-gui/res/cardsfolder/s/seekers_squire.txt b/forge-gui/res/cardsfolder/s/seekers_squire.txt index fb7a04e5982..65258ffec68 100644 --- a/forge-gui/res/cardsfolder/s/seekers_squire.txt +++ b/forge-gui/res/cardsfolder/s/seekers_squire.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/seekers_squire.jpg diff --git a/forge-gui/res/cardsfolder/s/siren_lookout.txt b/forge-gui/res/cardsfolder/s/siren_lookout.txt index 824cb8fc1f7..3cf40a3afed 100644 --- a/forge-gui/res/cardsfolder/s/siren_lookout.txt +++ b/forge-gui/res/cardsfolder/s/siren_lookout.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/siren_lookout.jpg diff --git a/forge-gui/res/cardsfolder/s/sunrise_seeker.txt b/forge-gui/res/cardsfolder/s/sunrise_seeker.txt index 139abd9273a..f762be19cb2 100644 --- a/forge-gui/res/cardsfolder/s/sunrise_seeker.txt +++ b/forge-gui/res/cardsfolder/s/sunrise_seeker.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup DeckHas:Ability$Counters SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/sunrise_seeker.jpg diff --git a/forge-gui/res/cardsfolder/t/tishanas_wayfinder.txt b/forge-gui/res/cardsfolder/t/tishanas_wayfinder.txt index c9861e8d142..17adaaf77e8 100644 --- a/forge-gui/res/cardsfolder/t/tishanas_wayfinder.txt +++ b/forge-gui/res/cardsfolder/t/tishanas_wayfinder.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard. SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption -SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | ShowRememberedInPrompt$ True | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/tishanas_wayfinder.jpg diff --git a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java index b4b4c0d5a99..9303d538051 100644 --- a/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java +++ b/forge-gui/src/main/java/forge/player/PlayerControllerHuman.java @@ -1,50 +1,16 @@ package forge.player; -import java.io.BufferedWriter; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.FileWriter; -import java.io.Serializable; -import java.util.Collection; -import java.util.Collections; -import java.util.Comparator; - -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.Map.Entry; - -import forge.game.ability.AbilityFactory; -import forge.game.ability.ApiType; -import forge.game.keyword.Keyword; -import org.apache.commons.lang3.Range; -import org.apache.commons.lang3.StringUtils; -import org.apache.commons.lang3.tuple.ImmutablePair; -import org.apache.commons.lang3.tuple.Pair; - import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.base.Predicates; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.Iterables; -import com.google.common.collect.ListMultimap; -import com.google.common.collect.Lists; -import com.google.common.collect.Maps; -import com.google.common.collect.Multimap; -import com.google.common.collect.Sets; - +import com.google.common.collect.*; import forge.FThreads; import forge.GuiBase; import forge.LobbyPlayer; import forge.achievement.AchievementCollection; import forge.ai.GameState; import forge.assets.FSkinProp; -import forge.card.CardDb; -import forge.card.CardType; -import forge.card.ColorSet; -import forge.card.ICardFace; -import forge.card.MagicColor; +import forge.card.*; import forge.card.mana.ManaCost; import forge.card.mana.ManaCostShard; import forge.control.FControlGamePlayback; @@ -52,42 +18,22 @@ import forge.deck.CardPool; import forge.deck.Deck; import forge.deck.DeckSection; import forge.events.UiEventNextGameDecision; -import forge.game.Game; -import forge.game.GameEntity; -import forge.game.GameEntityView; -import forge.game.GameLogEntryType; -import forge.game.GameObject; -import forge.game.GameType; -import forge.game.PlanarDice; +import forge.game.*; +import forge.game.ability.AbilityFactory; +import forge.game.ability.ApiType; import forge.game.ability.effects.CharmEffect; -import forge.game.card.Card; -import forge.game.card.CardCollection; -import forge.game.card.CardCollectionView; -import forge.game.card.CardLists; -import forge.game.card.CardPredicates; -import forge.game.card.CardShields; -import forge.game.card.CardView; -import forge.game.card.CounterType; +import forge.game.card.*; import forge.game.combat.Combat; import forge.game.combat.CombatUtil; import forge.game.cost.Cost; import forge.game.cost.CostPart; import forge.game.cost.CostPartMana; +import forge.game.keyword.Keyword; import forge.game.mana.Mana; -import forge.game.player.DelayedReveal; -import forge.game.player.Player; -import forge.game.player.PlayerActionConfirmMode; -import forge.game.player.PlayerController; -import forge.game.player.PlayerView; +import forge.game.player.*; import forge.game.replacement.ReplacementEffect; import forge.game.replacement.ReplacementLayer; -import forge.game.spellability.AbilityManaPart; -import forge.game.spellability.AbilitySub; -import forge.game.spellability.OptionalCostValue; -import forge.game.spellability.SpellAbility; -import forge.game.spellability.SpellAbilityStackInstance; -import forge.game.spellability.SpellAbilityView; -import forge.game.spellability.TargetChoices; +import forge.game.spellability.*; import forge.game.trigger.Trigger; import forge.game.trigger.WrappedAbility; import forge.game.zone.MagicStack; @@ -101,30 +47,25 @@ import forge.interfaces.IMacroSystem; import forge.item.IPaperCard; import forge.item.PaperCard; import forge.match.NextGameDecision; -import forge.match.input.Input; -import forge.match.input.InputAttack; -import forge.match.input.InputBlock; -import forge.match.input.InputConfirm; -import forge.match.input.InputConfirmMulligan; -import forge.match.input.InputPassPriority; -import forge.match.input.InputPayMana; -import forge.match.input.InputProliferate; -import forge.match.input.InputProxy; -import forge.match.input.InputQueue; -import forge.match.input.InputSelectCardsForConvokeOrImprovise; -import forge.match.input.InputSelectCardsFromList; -import forge.match.input.InputSelectEntitiesFromList; +import forge.match.input.*; import forge.model.FModel; import forge.properties.ForgeConstants; import forge.properties.ForgePreferences.FPref; -import forge.util.collect.FCollection; -import forge.util.collect.FCollectionView; import forge.util.ITriggerEvent; import forge.util.Lang; import forge.util.MessageUtil; import forge.util.TextUtil; +import forge.util.collect.FCollection; +import forge.util.collect.FCollectionView; import forge.util.gui.SOptionPane; -import java.util.Arrays; +import org.apache.commons.lang3.Range; +import org.apache.commons.lang3.StringUtils; +import org.apache.commons.lang3.tuple.ImmutablePair; +import org.apache.commons.lang3.tuple.Pair; + +import java.io.*; +import java.util.*; +import java.util.Map.Entry; /** * A prototype for player controller class @@ -541,6 +482,16 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont */ @Override public boolean confirmAction(final SpellAbility sa, final PlayerActionConfirmMode mode, final String message) { + if (sa != null && sa.getHostCard() != null && sa.hasParam("ShowRememberedInPrompt")) { + Card remembered = (Card)sa.getHostCard().getFirstRemembered(); + if (sa != null) { + tempShowCard(remembered); + boolean result = InputConfirm.confirm(this, ((Card) sa.getHostCard().getFirstRemembered()).getView(), message); + endTempShowCards(); + return result; + } + } + return InputConfirm.confirm(this, sa, message); }