diff --git a/forge-gui/res/cardsfolder/m/macabre_mockery.txt b/forge-gui/res/cardsfolder/m/macabre_mockery.txt index e61dc99c6a7..25200d87fb1 100644 --- a/forge-gui/res/cardsfolder/m/macabre_mockery.txt +++ b/forge-gui/res/cardsfolder/m/macabre_mockery.txt @@ -1,7 +1,7 @@ Name:Macabre Mockery ManaCost:2 B R Types:Instant -A:SP$ ChangeZone | Cost$ 2 B R | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target creature card in an opponent's graveyard | ValidTgts$ Creature.OppCtrl | SubAbility$ DBPump | SpellDescription$ Put target creature card from an opponent's graveyard onto the battlefield under your control. It gets +2/+0 and gains haste until end of turn. Sacrifice it at the beginning of the next end step. +A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target creature card in an opponent's graveyard | ValidTgts$ Creature.OppCtrl | SubAbility$ DBPump | SpellDescription$ Put target creature card from an opponent's graveyard onto the battlefield under your control. It gets +2/+0 and gains haste until end of turn. Sacrifice it at the beginning of the next end step. SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ +2 | KW$ Haste | AtEOT$ Sacrifice SVar:PlayMain1:TRUE Oracle:Put target creature card from an opponent's graveyard onto the battlefield under your control. It gets +2/+0 and gains haste until end of turn. Sacrifice it at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/m/macabre_waltz.txt b/forge-gui/res/cardsfolder/m/macabre_waltz.txt index 142a660c0fc..ff617948ab9 100644 --- a/forge-gui/res/cardsfolder/m/macabre_waltz.txt +++ b/forge-gui/res/cardsfolder/m/macabre_waltz.txt @@ -1,7 +1,7 @@ Name:Macabre Waltz ManaCost:1 B Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Return up to two target creature cards from your graveyard to your hand, then discard a card. | SubAbility$ DBDiscard +A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Return up to two target creature cards from your graveyard to your hand, then discard a card. | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose DeckHints:Ability$Graveyard|Discard DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/m/machinate.txt b/forge-gui/res/cardsfolder/m/machinate.txt index 18fab0e47c0..8fd9f84a846 100644 --- a/forge-gui/res/cardsfolder/m/machinate.txt +++ b/forge-gui/res/cardsfolder/m/machinate.txt @@ -1,6 +1,6 @@ Name:Machinate ManaCost:1 U U Types:Instant -A:SP$ Dig | Cost$ 1 U U | DigNum$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. +A:SP$ Dig | DigNum$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. SVar:X:Count$Valid Artifact.YouCtrl Oracle:Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/m/madcap_experiment.txt b/forge-gui/res/cardsfolder/m/madcap_experiment.txt index 1d0c4877b9a..737378c381e 100644 --- a/forge-gui/res/cardsfolder/m/madcap_experiment.txt +++ b/forge-gui/res/cardsfolder/m/madcap_experiment.txt @@ -1,7 +1,7 @@ Name:Madcap Experiment ManaCost:3 R Types:Sorcery -A:SP$ DigUntil | Cost$ 3 R | Valid$ Artifact | ValidDescription$ artifact | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | RememberRevealed$ True | SubAbility$ DBDealDamage | SpellDescription$ Reveal cards from the top of your library until you reveal an artifact card. Put that card onto the battlefield and the rest on the bottom of your library in a random order. CARDNAME deals damage to you equal to the number of cards revealed this way. +A:SP$ DigUntil | Valid$ Artifact | ValidDescription$ artifact | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | RememberRevealed$ True | SubAbility$ DBDealDamage | SpellDescription$ Reveal cards from the top of your library until you reveal an artifact card. Put that card onto the battlefield and the rest on the bottom of your library in a random order. CARDNAME deals damage to you equal to the number of cards revealed this way. SVar:DBDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/maddening_cacophony.txt b/forge-gui/res/cardsfolder/m/maddening_cacophony.txt index ff24a3ed476..f28c6e08988 100644 --- a/forge-gui/res/cardsfolder/m/maddening_cacophony.txt +++ b/forge-gui/res/cardsfolder/m/maddening_cacophony.txt @@ -2,7 +2,7 @@ Name:Maddening Cacophony ManaCost:1 U Types:Sorcery K:Kicker:3 U -A:SP$ RepeatEach | Cost$ 1 U | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBMill | SpellDescription$ Each opponent mills eight cards. If this spell was kicked, instead each opponent mills half their library, rounded up. +A:SP$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBMill | SpellDescription$ Each opponent mills eight cards. If this spell was kicked, instead each opponent mills half their library, rounded up. SVar:DBMill:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ 8 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBMillKicked SVar:DBMillKicked:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ Y | Condition$ Kicked SVar:X:Count$TimesKicked diff --git a/forge-gui/res/cardsfolder/m/maelstrom_pulse.txt b/forge-gui/res/cardsfolder/m/maelstrom_pulse.txt index e38b84da7a1..c1fade3080e 100644 --- a/forge-gui/res/cardsfolder/m/maelstrom_pulse.txt +++ b/forge-gui/res/cardsfolder/m/maelstrom_pulse.txt @@ -1,6 +1,6 @@ Name:Maelstrom Pulse ManaCost:1 B G Types:Sorcery -A:SP$ Pump | Cost$ 1 B G | ValidTgts$ Permanent.nonland | TgtPrompt$ Select target nonland permanent | SubAbility$ DestroyAll | SpellDescription$ Destroy target nonland permanent and all other permanents with the same name as that permanent. +A:SP$ Pump | ValidTgts$ Permanent.nonland | TgtPrompt$ Select target nonland permanent | SubAbility$ DestroyAll | SpellDescription$ Destroy target nonland permanent and all other permanents with the same name as that permanent. SVar:DestroyAll:DB$ DestroyAll | ValidCards$ TargetedCard.Self,Permanent.NotDefinedTargeted+sharesNameWith Targeted Oracle:Destroy target nonland permanent and all other permanents with the same name as that permanent. diff --git a/forge-gui/res/cardsfolder/m/maestros_charm.txt b/forge-gui/res/cardsfolder/m/maestros_charm.txt index 84c5677d90b..7fade6b32c3 100644 --- a/forge-gui/res/cardsfolder/m/maestros_charm.txt +++ b/forge-gui/res/cardsfolder/m/maestros_charm.txt @@ -1,7 +1,7 @@ Name:Maestros Charm ManaCost:U B R Types:Instant -A:SP$ Charm | Cost$ U B R | Choices$ DBDig,DBLoseLife,DBDmg +A:SP$ Charm | Choices$ DBDig,DBLoseLife,DBDmg SVar:DBDig:DB$ Dig | DigNum$ 5 | DestinationZone2$ Graveyard | SpellDescription$ Look at the top five cards of your library. Put one of those cards into your hand and the rest into your graveyard. SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 3 | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses 3 life and you gain 3 life. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 3 diff --git a/forge-gui/res/cardsfolder/m/mage_hunters_onslaught.txt b/forge-gui/res/cardsfolder/m/mage_hunters_onslaught.txt index 5e744635671..2f758976bd1 100644 --- a/forge-gui/res/cardsfolder/m/mage_hunters_onslaught.txt +++ b/forge-gui/res/cardsfolder/m/mage_hunters_onslaught.txt @@ -1,7 +1,7 @@ Name:Mage Hunters' Onslaught ManaCost:2 B B Types:Sorcery -A:SP$ Destroy | Cost$ 2 B B | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SubAbility$ DBEffect | SpellDescription$ Destroy target creature or planeswalker. +A:SP$ Destroy | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SubAbility$ DBEffect | SpellDescription$ Destroy target creature or planeswalker. SVar:DBEffect:DB$ Effect | Triggers$ TrigBlocking SVar:TrigBlocking:Mode$ AttackerBlocked | Execute$ TrigLoseLife | TriggerDescription$ Whenever a creature blocks this turn, its controller loses 1 life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredBlockerController | LifeAmount$ 1 diff --git a/forge-gui/res/cardsfolder/m/mages_contest.txt b/forge-gui/res/cardsfolder/m/mages_contest.txt index 1fa1a880f35..210e131ebe3 100644 --- a/forge-gui/res/cardsfolder/m/mages_contest.txt +++ b/forge-gui/res/cardsfolder/m/mages_contest.txt @@ -1,7 +1,7 @@ Name:Mages' Contest ManaCost:1 R R Types:Instant -A:SP$ BidLife | Cost$ 1 R R | TargetType$ Spell | ValidTgts$ Card | TgtZone$ Stack | OtherBidder$ TargetedController | StartBidding$ 1 | AILogic$ Min | AIBidMax$ 8 | BidSubAbility$ DBLoseLife | SpellDescription$ You and target spell's controller bid life. You start the bidding with a bid of 1. In turn order, each player may top the high bid. The bidding ends if the high bid stands. The high bidder loses life equal to the high bid. If you win the bidding, counter that spell. +A:SP$ BidLife | TargetType$ Spell | ValidTgts$ Card | TgtZone$ Stack | OtherBidder$ TargetedController | StartBidding$ 1 | AILogic$ Min | AIBidMax$ 8 | BidSubAbility$ DBLoseLife | SpellDescription$ You and target spell's controller bid life. You start the bidding with a bid of 1. In turn order, each player may top the high bid. The bidding ends if the high bid stands. The high bidder loses life equal to the high bid. If you win the bidding, counter that spell. SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCounter SVar:DBCounter:DB$ Counter | Defined$ Targeted | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You SVar:X:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/m/mages_guile.txt b/forge-gui/res/cardsfolder/m/mages_guile.txt index d262e78cc6c..c998dbdce86 100644 --- a/forge-gui/res/cardsfolder/m/mages_guile.txt +++ b/forge-gui/res/cardsfolder/m/mages_guile.txt @@ -1,6 +1,6 @@ Name:Mage's Guile ManaCost:1 U Types:Instant -A:SP$ Pump | Cost$ 1 U | ValidTgts$ Creature | KW$ Shroud | SpellDescription$ Target creature gains shroud until end of turn. | TgtPrompt$ Select target creature. +A:SP$ Pump | ValidTgts$ Creature | KW$ Shroud | SpellDescription$ Target creature gains shroud until end of turn. | TgtPrompt$ Select target creature. K:Cycling:U Oracle:Target creature gains shroud until end of turn. (It can't be the target of spells or abilities.)\nCycling {U} ({U}, Discard this card: Draw a card.) diff --git a/forge-gui/res/cardsfolder/m/magic_missile.txt b/forge-gui/res/cardsfolder/m/magic_missile.txt index 0b06113182e..3a89e7244c3 100644 --- a/forge-gui/res/cardsfolder/m/magic_missile.txt +++ b/forge-gui/res/cardsfolder/m/magic_missile.txt @@ -2,5 +2,5 @@ Name:Magic Missile ManaCost:1 R R Types:Sorcery R:Event$ Counter | ValidCard$ Card.Self | ValidSA$ Spell | Layer$ CantHappen | Description$ This spell can't be countered. -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Any | TgtPrompt$ Select any target to distribute damage to | NumDmg$ 3 | TargetMin$ 1 | TargetMax$ 3 | DividedAsYouChoose$ 3 | SpellDescription$ CARDNAME deals 3 damage divided as you choose among one, two, or three targets. +A:SP$ DealDamage | ValidTgts$ Any | TgtPrompt$ Select any target to distribute damage to | NumDmg$ 3 | TargetMin$ 1 | TargetMax$ 3 | DividedAsYouChoose$ 3 | SpellDescription$ CARDNAME deals 3 damage divided as you choose among one, two, or three targets. Oracle:This spell can't be countered.\nMagic Missile deals 3 damage divided as you choose among one, two, or three targets. diff --git a/forge-gui/res/cardsfolder/m/magical_hack.txt b/forge-gui/res/cardsfolder/m/magical_hack.txt index c366dec3bd7..a94b481006b 100644 --- a/forge-gui/res/cardsfolder/m/magical_hack.txt +++ b/forge-gui/res/cardsfolder/m/magical_hack.txt @@ -1,7 +1,7 @@ Name:Magical Hack ManaCost:U Types:Instant -A:SP$ ChangeText | Cost$ U | ValidTgts$ Card | TgtZone$ Stack,Battlefield | TgtPrompt$ Choose target spell or permanent | ChangeTypeWord$ ChooseBasicLandType ChooseBasicLandType | Duration$ Permanent | SpellDescription$ Change the text of target spell or permanent by replacing all instances of one basic land type with another. (For example, you may change "swampwalk" to "plainswalk." This effect lasts indefinitely.) +A:SP$ ChangeText | ValidTgts$ Card | TgtZone$ Stack,Battlefield | TgtPrompt$ Choose target spell or permanent | ChangeTypeWord$ ChooseBasicLandType ChooseBasicLandType | Duration$ Permanent | SpellDescription$ Change the text of target spell or permanent by replacing all instances of one basic land type with another. (For example, you may change "swampwalk" to "plainswalk." This effect lasts indefinitely.) AI:RemoveDeck:Random AI:RemoveDeck:All Oracle:Change the text of target spell or permanent by replacing all instances of one basic land type with another. (For example, you may change "swampwalk" to "plainswalk." This effect lasts indefinitely.) diff --git a/forge-gui/res/cardsfolder/m/magma_burst.txt b/forge-gui/res/cardsfolder/m/magma_burst.txt index bb600d3e1bd..0cbcff1892d 100644 --- a/forge-gui/res/cardsfolder/m/magma_burst.txt +++ b/forge-gui/res/cardsfolder/m/magma_burst.txt @@ -2,7 +2,7 @@ Name:Magma Burst ManaCost:3 R Types:Instant K:Kicker:Sac<2/Land> -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Any | TargetMin$ X | TargetMax$ X | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 3 damage to another target. +A:SP$ DealDamage | ValidTgts$ Any | TargetMin$ X | TargetMax$ X | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 3 damage to another target. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKickedVar:Z GE2 SVar:Z:Count$Valid Creature.OppCtrl/Plus.Z1 diff --git a/forge-gui/res/cardsfolder/m/magma_jet.txt b/forge-gui/res/cardsfolder/m/magma_jet.txt index 94a2c40828a..7d6edc28bd3 100644 --- a/forge-gui/res/cardsfolder/m/magma_jet.txt +++ b/forge-gui/res/cardsfolder/m/magma_jet.txt @@ -1,6 +1,6 @@ Name:Magma Jet ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Any | NumDmg$ 2 | SubAbility$ DBScry | SpellDescription$ CARDNAME deals 2 damage to any target. Scry 2. +A:SP$ DealDamage | ValidTgts$ Any | NumDmg$ 2 | SubAbility$ DBScry | SpellDescription$ CARDNAME deals 2 damage to any target. Scry 2. SVar:DBScry:DB$ Scry | ScryNum$ 2 Oracle:Magma Jet deals 2 damage to any target. Scry 2. diff --git a/forge-gui/res/cardsfolder/m/magma_opus.txt b/forge-gui/res/cardsfolder/m/magma_opus.txt index b13d4375346..7f9d6933423 100644 --- a/forge-gui/res/cardsfolder/m/magma_opus.txt +++ b/forge-gui/res/cardsfolder/m/magma_opus.txt @@ -1,7 +1,7 @@ Name:Magma Opus ManaCost:6 U R Types:Instant -A:SP$ DealDamage | Cost$ 6 U R | ValidTgts$ Any | TgtPrompt$ Select any targets to distribute damage to | NumDmg$ 4 | TargetMin$ 0 | TargetMax$ 4 | DividedAsYouChoose$ 4 | SubAbility$ DBTap | SpellDescription$ CARDNAME deals 4 damage divided as you choose among any number of targets. Tap two target permanents. Create a 4/4 blue and red Elemental creature token. Draw two cards. +A:SP$ DealDamage | ValidTgts$ Any | TgtPrompt$ Select any targets to distribute damage to | NumDmg$ 4 | TargetMin$ 0 | TargetMax$ 4 | DividedAsYouChoose$ 4 | SubAbility$ DBTap | SpellDescription$ CARDNAME deals 4 damage divided as you choose among any number of targets. Tap two target permanents. Create a 4/4 blue and red Elemental creature token. Draw two cards. SVar:DBTap:DB$ Tap | TargetMin$ 2 | TargetMax$ 2 | ValidTgts$ Permanent | TgtPrompt$ Select target permanent to tap | SubAbility$ DBToken SVar:DBToken:DB$ Token | TokenScript$ ur_4_4_elemental | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 2 diff --git a/forge-gui/res/cardsfolder/m/magma_spray.txt b/forge-gui/res/cardsfolder/m/magma_spray.txt index baa1950043a..47ade8ded49 100644 --- a/forge-gui/res/cardsfolder/m/magma_spray.txt +++ b/forge-gui/res/cardsfolder/m/magma_spray.txt @@ -1,5 +1,5 @@ Name:Magma Spray ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals 2 damage to target creature. If that creature would die this turn, exile it instead. +A:SP$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals 2 damage to target creature. If that creature would die this turn, exile it instead. Oracle:Magma Spray deals 2 damage to target creature. If that creature would die this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/m/magmaquake.txt b/forge-gui/res/cardsfolder/m/magmaquake.txt index 9c3a0efac25..6dc8aade456 100644 --- a/forge-gui/res/cardsfolder/m/magmaquake.txt +++ b/forge-gui/res/cardsfolder/m/magmaquake.txt @@ -1,6 +1,6 @@ Name:Magmaquake ManaCost:X R R Types:Instant -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying,Planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and to each planeswalker. +A:SP$ DamageAll | ValidCards$ Creature.withoutFlying,Planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and to each planeswalker. SVar:X:Count$xPaid Oracle:Magmaquake deals X damage to each creature without flying and each planeswalker. diff --git a/forge-gui/res/cardsfolder/m/magmatic_sinkhole.txt b/forge-gui/res/cardsfolder/m/magmatic_sinkhole.txt index 7cc0acb7dc5..ae47b6319ad 100644 --- a/forge-gui/res/cardsfolder/m/magmatic_sinkhole.txt +++ b/forge-gui/res/cardsfolder/m/magmatic_sinkhole.txt @@ -3,5 +3,5 @@ ManaCost:5 R Types:Instant K:Delve DeckHints:Ability$Graveyard -A:SP$ DealDamage | Cost$ 5 R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ 5 | SpellDescription$ CARDNAME deals 5 damage to target creature or planeswalker. +A:SP$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ 5 | SpellDescription$ CARDNAME deals 5 damage to target creature or planeswalker. Oracle:Delve (Each card you exile from your graveyard while casting this spell pays for {1}.)\nMagmatic Sinkhole deals 5 damage to target creature or planeswalker. diff --git a/forge-gui/res/cardsfolder/m/magnetic_flux.txt b/forge-gui/res/cardsfolder/m/magnetic_flux.txt index 2a058c7148d..ea689b3bc3f 100644 --- a/forge-gui/res/cardsfolder/m/magnetic_flux.txt +++ b/forge-gui/res/cardsfolder/m/magnetic_flux.txt @@ -1,6 +1,6 @@ Name:Magnetic Flux ManaCost:2 U Types:Instant -A:SP$ PumpAll | Cost$ 2 U | ValidCards$ Creature.Artifact+YouCtrl | KW$ Flying | SpellDescription$ Artifact creatures you control gain flying until end of turn. +A:SP$ PumpAll | ValidCards$ Creature.Artifact+YouCtrl | KW$ Flying | SpellDescription$ Artifact creatures you control gain flying until end of turn. AI:RemoveDeck:Random Oracle:Artifact creatures you control gain flying until end of turn. diff --git a/forge-gui/res/cardsfolder/m/magnetic_theft.txt b/forge-gui/res/cardsfolder/m/magnetic_theft.txt index daec8f3c833..cda31458a61 100644 --- a/forge-gui/res/cardsfolder/m/magnetic_theft.txt +++ b/forge-gui/res/cardsfolder/m/magnetic_theft.txt @@ -1,7 +1,7 @@ Name:Magnetic Theft ManaCost:R Types:Instant -A:SP$ Pump | Cost$ R | ValidTgts$ Equipment | TgtPrompt$ Select target equipment | IsCurse$ True | SubAbility$ MagneticTheft | StackDescription$ None | SpellDescription$ Attach target Equipment to target creature. (Control of the Equipment doesn't change.) +A:SP$ Pump | ValidTgts$ Equipment | TgtPrompt$ Select target equipment | IsCurse$ True | SubAbility$ MagneticTheft | StackDescription$ None | SpellDescription$ Attach target Equipment to target creature. (Control of the Equipment doesn't change.) SVar:MagneticTheft:DB$ Attach | Object$ ParentTarget | ValidTgts$ Creature | TgtPrompt$ Select target creature AI:RemoveDeck:All Oracle:Attach target Equipment to target creature. (Control of the Equipment doesn't change.) diff --git a/forge-gui/res/cardsfolder/m/magnify.txt b/forge-gui/res/cardsfolder/m/magnify.txt index 7d813a175cf..5f63c196d1b 100644 --- a/forge-gui/res/cardsfolder/m/magnify.txt +++ b/forge-gui/res/cardsfolder/m/magnify.txt @@ -1,5 +1,5 @@ Name:Magnify ManaCost:G Types:Instant -A:SP$ PumpAll | Cost$ G | ValidCards$ Creature | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ All creatures get +1/+1 until end of turn. +A:SP$ PumpAll | ValidCards$ Creature | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ All creatures get +1/+1 until end of turn. Oracle:All creatures get +1/+1 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/make_a_stand.txt b/forge-gui/res/cardsfolder/m/make_a_stand.txt index 05647c30fcc..fc5c9858a4a 100644 --- a/forge-gui/res/cardsfolder/m/make_a_stand.txt +++ b/forge-gui/res/cardsfolder/m/make_a_stand.txt @@ -1,5 +1,5 @@ Name:Make a Stand ManaCost:2 W Types:Instant -A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | KW$ Indestructible | SpellDescription$ Creatures you control get +1/+0 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.) +A:SP$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | KW$ Indestructible | SpellDescription$ Creatures you control get +1/+0 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.) Oracle:Creatures you control get +1/+0 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.) diff --git a/forge-gui/res/cardsfolder/m/make_a_wish.txt b/forge-gui/res/cardsfolder/m/make_a_wish.txt index f073e039c9c..a03abb2df22 100644 --- a/forge-gui/res/cardsfolder/m/make_a_wish.txt +++ b/forge-gui/res/cardsfolder/m/make_a_wish.txt @@ -1,5 +1,5 @@ Name:Make a Wish ManaCost:3 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 G | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouCtrl | ChangeNum$ 2 | Hidden$ True | AtRandom$ True | SpellDescription$ Return two cards at random from your graveyard to your hand. +A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouCtrl | ChangeNum$ 2 | Hidden$ True | AtRandom$ True | SpellDescription$ Return two cards at random from your graveyard to your hand. Oracle:Return two cards at random from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/m/make_mischief.txt b/forge-gui/res/cardsfolder/m/make_mischief.txt index 778a9262b63..3369216f8e5 100644 --- a/forge-gui/res/cardsfolder/m/make_mischief.txt +++ b/forge-gui/res/cardsfolder/m/make_mischief.txt @@ -1,6 +1,6 @@ Name:Make Mischief ManaCost:2 R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Any | NumDmg$ 1 | SubAbility$ DBToken | SpellDescription$ CARDNAME deals 1 damage to any target. Create a 1/1 red Devil creature token. It has "When this creature dies, it deals 1 damage to any target." +A:SP$ DealDamage | ValidTgts$ Any | NumDmg$ 1 | SubAbility$ DBToken | SpellDescription$ CARDNAME deals 1 damage to any target. Create a 1/1 red Devil creature token. It has "When this creature dies, it deals 1 damage to any target." SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_1_1_devil_burn | TokenOwner$ You Oracle:Make Mischief deals 1 damage to any target. Create a 1/1 red Devil creature token. It has "When this creature dies, it deals 1 damage to any target." diff --git a/forge-gui/res/cardsfolder/m/make_obsolete.txt b/forge-gui/res/cardsfolder/m/make_obsolete.txt index 4dc38d2ba74..61bd6d5c5c8 100644 --- a/forge-gui/res/cardsfolder/m/make_obsolete.txt +++ b/forge-gui/res/cardsfolder/m/make_obsolete.txt @@ -1,5 +1,5 @@ Name:Make Obsolete ManaCost:2 B Types:Instant -A:SP$ PumpAll | Cost$ 2 B | ValidCards$ Creature.OppCtrl | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Creatures your opponents control get -1/-1 until end of turn. +A:SP$ PumpAll | ValidCards$ Creature.OppCtrl | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Creatures your opponents control get -1/-1 until end of turn. Oracle:Creatures your opponents control get -1/-1 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/makeshift_mannequin.txt b/forge-gui/res/cardsfolder/m/makeshift_mannequin.txt index d4cdadd020c..8738bddf50b 100644 --- a/forge-gui/res/cardsfolder/m/makeshift_mannequin.txt +++ b/forge-gui/res/cardsfolder/m/makeshift_mannequin.txt @@ -1,7 +1,7 @@ Name:Makeshift Mannequin ManaCost:3 B Types:Instant -A:SP$ ChangeZone | Cost$ 3 B | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature from your graveyard | Origin$ Graveyard | Destination$ Battlefield | WithCountersType$ MANNEQUIN | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Return target creature card from your graveyard to the battlefield with a mannequin counter on it. For as long as that creature has a mannequin counter on it, it has "When this creature becomes the target of a spell or ability, sacrifice it." +A:SP$ ChangeZone | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature from your graveyard | Origin$ Graveyard | Destination$ Battlefield | WithCountersType$ MANNEQUIN | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Return target creature card from your graveyard to the battlefield with a mannequin counter on it. For as long as that creature has a mannequin counter on it, it has "When this creature becomes the target of a spell or ability, sacrifice it." SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ MannequinStatic | Duration$ Permanent | SubAbility$ DBCleanup | ForgetOnMoved$ Battlefield | ForgetCounter$ MANNEQUIN SVar:MannequinStatic:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | AddTrigger$ MannequinBecomesTarget | Description$ For as long as that creature has a mannequin counter on it, it has "When this creature becomes the target of a spell or ability, sacrifice it." SVar:MannequinBecomesTarget:Mode$ BecomesTarget | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ MakeshiftSac | TriggerDescription$ When CARDNAME becomes the target of a spell or ability, sacrifice it. diff --git a/forge-gui/res/cardsfolder/m/makindi_stampede_makindi_mesas.txt b/forge-gui/res/cardsfolder/m/makindi_stampede_makindi_mesas.txt index 0a377009dae..da211ec21c4 100644 --- a/forge-gui/res/cardsfolder/m/makindi_stampede_makindi_mesas.txt +++ b/forge-gui/res/cardsfolder/m/makindi_stampede_makindi_mesas.txt @@ -1,7 +1,7 @@ Name:Makindi Stampede ManaCost:3 W W Types:Sorcery -A:SP$ PumpAll | Cost$ 3 W W | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Creatures you control get +2/+2 until end of turn. +A:SP$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Creatures you control get +2/+2 until end of turn. AlternateMode:Modal Oracle:Creatures you control get +2/+2 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/malakir_rebirth_malakir_mire.txt b/forge-gui/res/cardsfolder/m/malakir_rebirth_malakir_mire.txt index 4ede1408b67..2adbbeb6592 100644 --- a/forge-gui/res/cardsfolder/m/malakir_rebirth_malakir_mire.txt +++ b/forge-gui/res/cardsfolder/m/malakir_rebirth_malakir_mire.txt @@ -1,7 +1,7 @@ Name:Malakir Rebirth ManaCost:B Types:Instant -A:SP$ LoseLife | Cost$ B | Defined$ You | LifeAmount$ 2 | SubAbility$ DBAnimate | SpellDescription$ Choose target creature. You lose 2 life. Until end of turn, that creature gains "When this creature dies, return it to the battlefield tapped under its owner's control." +A:SP$ LoseLife | Defined$ You | LifeAmount$ 2 | SubAbility$ DBAnimate | SpellDescription$ Choose target creature. You lose 2 life. Until end of turn, that creature gains "When this creature dies, return it to the battlefield tapped under its owner's control." SVar:DBAnimate:DB$ Animate | ValidTgts$ Creature | TgtPrompt$ Choose target creature | Triggers$ TrigDies | StackDescription$ Until end of turn, {c:Targeted} gains "When this creature dies, return it to the battlefield tapped under its owner's control." SVar:TrigDies:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigReturn | TriggerDescription$ When CARDNAME dies, return it to the battlefield tapped under its owner's control. SVar:TrigReturn:DB$ ChangeZone | DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Battlefield | Tapped$ True diff --git a/forge-gui/res/cardsfolder/m/malevolent_whispers.txt b/forge-gui/res/cardsfolder/m/malevolent_whispers.txt index a147909479e..fd490699a55 100644 --- a/forge-gui/res/cardsfolder/m/malevolent_whispers.txt +++ b/forge-gui/res/cardsfolder/m/malevolent_whispers.txt @@ -1,7 +1,7 @@ Name:Malevolent Whispers ManaCost:3 R Types:Sorcery -A:SP$ GainControl | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | SubAbility$ DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gets +2/+0 and gains haste until end of turn. +A:SP$ GainControl | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | SubAbility$ DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gets +2/+0 and gains haste until end of turn. SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 2 | KW$ Haste K:Madness:3 R DeckHints:Ability$Discard diff --git a/forge-gui/res/cardsfolder/m/malicious_advice.txt b/forge-gui/res/cardsfolder/m/malicious_advice.txt index 95f683a3a04..2063fd3bcf0 100644 --- a/forge-gui/res/cardsfolder/m/malicious_advice.txt +++ b/forge-gui/res/cardsfolder/m/malicious_advice.txt @@ -1,7 +1,7 @@ Name:Malicious Advice ManaCost:X U B Types:Instant -A:SP$ Tap | Cost$ X U B | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact,Creature,Land | TgtPrompt$ Select X target artifacts, creatures, or lands | SpellDescription$ Tap X target artifacts, creatures, and/or lands. You lose X life. | SubAbility$ Drain +A:SP$ Tap | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact,Creature,Land | TgtPrompt$ Select X target artifacts, creatures, or lands | SpellDescription$ Tap X target artifacts, creatures, and/or lands. You lose X life. | SubAbility$ Drain SVar:Drain:DB$ LoseLife | LifeAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/malicious_affliction.txt b/forge-gui/res/cardsfolder/m/malicious_affliction.txt index f2083a1f2eb..824d3a67a0e 100644 --- a/forge-gui/res/cardsfolder/m/malicious_affliction.txt +++ b/forge-gui/res/cardsfolder/m/malicious_affliction.txt @@ -1,7 +1,7 @@ Name:Malicious Affliction ManaCost:B B Types:Instant -A:SP$ Destroy | Cost$ B B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy target nonblack creature. +A:SP$ Destroy | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy target nonblack creature. T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | CheckSVar$ Morbid | SVarCompare$ GE1 | OptionalDecider$ You | TriggerDescription$ Morbid — When you cast this spell, if a creature died this turn, you may copy CARDNAME and may choose a new target for the copy. SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | MayChooseTarget$ True SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature diff --git a/forge-gui/res/cardsfolder/m/mammoth_growth.txt b/forge-gui/res/cardsfolder/m/mammoth_growth.txt index bf8ebc0d11b..7e338732386 100644 --- a/forge-gui/res/cardsfolder/m/mammoth_growth.txt +++ b/forge-gui/res/cardsfolder/m/mammoth_growth.txt @@ -1,6 +1,6 @@ Name:Mammoth Growth ManaCost:2 G Types:Instant -A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +4 | NumDef$ +4 | SpellDescription$ Target creature gets +4/+4 until end of turn. +A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +4 | NumDef$ +4 | SpellDescription$ Target creature gets +4/+4 until end of turn. K:Foretell:G Oracle:Target creature gets +4/+4 until end of turn.\nForetell {G} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) diff --git a/forge-gui/res/cardsfolder/m/mana_clash.txt b/forge-gui/res/cardsfolder/m/mana_clash.txt index 41b880974a3..db230546c63 100644 --- a/forge-gui/res/cardsfolder/m/mana_clash.txt +++ b/forge-gui/res/cardsfolder/m/mana_clash.txt @@ -1,7 +1,7 @@ Name:Mana Clash ManaCost:R Types:Sorcery -A:SP$ Repeat | Cost$ R | ValidTgts$ Opponent | RepeatCheckSVar$ RepeatCheck | RepeatSVarCompare$ GT0 | RepeatSubAbility$ ResetCheck | StackDescription$ SpellDescription | SpellDescription$ You and target opponent each flip a coin. CARDNAME deals 1 damage to each player whose coin comes up tails. Repeat this process until both players' coins come up heads on the same flip. +A:SP$ Repeat | ValidTgts$ Opponent | RepeatCheckSVar$ RepeatCheck | RepeatSVarCompare$ GT0 | RepeatSubAbility$ ResetCheck | StackDescription$ SpellDescription | SpellDescription$ You and target opponent each flip a coin. CARDNAME deals 1 damage to each player whose coin comes up tails. Repeat this process until both players' coins come up heads on the same flip. SVar:ResetCheck:DB$ StoreSVar | SVar$ RepeatCheck | Type$ Number | Expression$ 0 | SubAbility$ RepeatClash SVar:RepeatClash:DB$ RepeatEach | RepeatPlayers$ TargetedAndYou | RepeatSubAbility$ FlipClash | SubAbility$ ClashDamage SVar:FlipClash:DB$ FlipACoin | Flipper$ Remembered | NoCall$ True | TailsSubAbility$ ClashTails | RememberResult$ True diff --git a/forge-gui/res/cardsfolder/m/mana_drain.txt b/forge-gui/res/cardsfolder/m/mana_drain.txt index 3632b4b51cc..2bcd8fad8eb 100644 --- a/forge-gui/res/cardsfolder/m/mana_drain.txt +++ b/forge-gui/res/cardsfolder/m/mana_drain.txt @@ -1,7 +1,7 @@ Name:Mana Drain ManaCost:U U Types:Instant -A:SP$ Counter | Cost$ U U | TargetType$ Spell | RememberCounteredCMC$ True | ValidTgts$ Card | SubAbility$ DBDelTrig | SpellDescription$ Counter target spell. At the beginning of your next main phase, add {X}, where X is that spell's mana value. +A:SP$ Counter | TargetType$ Spell | RememberCounteredCMC$ True | ValidTgts$ Card | SubAbility$ DBDelTrig | SpellDescription$ Counter target spell. At the beginning of your next main phase, add {X}, where X is that spell's mana value. SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Main1,Main2 | ValidPlayer$ You | Execute$ AddMana | TriggerDescription$ At the beginning of your next main phase, add an amount of {C} equal to that spell's mana value. | RememberNumber$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X diff --git a/forge-gui/res/cardsfolder/m/mana_geyser.txt b/forge-gui/res/cardsfolder/m/mana_geyser.txt index d4d405393e1..64f03788185 100644 --- a/forge-gui/res/cardsfolder/m/mana_geyser.txt +++ b/forge-gui/res/cardsfolder/m/mana_geyser.txt @@ -1,6 +1,6 @@ Name:Mana Geyser ManaCost:3 R R Types:Sorcery -A:SP$ Mana | Cost$ 3 R R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each tapped land your opponents control. +A:SP$ Mana | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each tapped land your opponents control. SVar:X:Count$Valid Land.tapped+OppCtrl Oracle:Add {R} for each tapped land your opponents control. diff --git a/forge-gui/res/cardsfolder/m/mana_leak.txt b/forge-gui/res/cardsfolder/m/mana_leak.txt index dc9c1180709..19e322535ef 100644 --- a/forge-gui/res/cardsfolder/m/mana_leak.txt +++ b/forge-gui/res/cardsfolder/m/mana_leak.txt @@ -1,5 +1,5 @@ Name:Mana Leak ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | SpellDescription$ Counter target spell unless its controller pays {3}. +A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | SpellDescription$ Counter target spell unless its controller pays {3}. Oracle:Counter target spell unless its controller pays {3}. diff --git a/forge-gui/res/cardsfolder/m/mana_seism.txt b/forge-gui/res/cardsfolder/m/mana_seism.txt index 4779e24c65d..916953c99b0 100644 --- a/forge-gui/res/cardsfolder/m/mana_seism.txt +++ b/forge-gui/res/cardsfolder/m/mana_seism.txt @@ -1,7 +1,7 @@ Name:Mana Seism ManaCost:1 R Types:Sorcery -A:SP$ Sacrifice | Cost$ 1 R | Defined$ You | Amount$ SacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana | SpellDescription$ Sacrifice any number of lands, then add that much {C}. +A:SP$ Sacrifice | Defined$ You | Amount$ SacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana | SpellDescription$ Sacrifice any number of lands, then add that much {C}. SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Land.YouCtrl diff --git a/forge-gui/res/cardsfolder/m/mana_severance.txt b/forge-gui/res/cardsfolder/m/mana_severance.txt index d8eef94748f..2ac584c2306 100644 --- a/forge-gui/res/cardsfolder/m/mana_severance.txt +++ b/forge-gui/res/cardsfolder/m/mana_severance.txt @@ -1,7 +1,7 @@ Name:Mana Severance ManaCost:1 U Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ XFetch | SpellDescription$ Search your library for any number of land cards, exile them, then shuffle. +A:SP$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ XFetch | SpellDescription$ Search your library for any number of land cards, exile them, then shuffle. SVar:XFetch:Count$TypeInYourLibrary.Land AI:RemoveDeck:All Oracle:Search your library for any number of land cards, exile them, then shuffle. diff --git a/forge-gui/res/cardsfolder/m/mana_short.txt b/forge-gui/res/cardsfolder/m/mana_short.txt index 0f97fa309a6..7ac04fe2f75 100644 --- a/forge-gui/res/cardsfolder/m/mana_short.txt +++ b/forge-gui/res/cardsfolder/m/mana_short.txt @@ -1,7 +1,7 @@ Name:Mana Short ManaCost:2 U Types:Instant -A:SP$ TapAll | Cost$ 2 U | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Land | SubAbility$ DrainMana | SpellDescription$ Tap all lands target player controls and that player loses all unspent mana. +A:SP$ TapAll | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Land | SubAbility$ DrainMana | SpellDescription$ Tap all lands target player controls and that player loses all unspent mana. SVar:DrainMana:DB$ DrainMana | Defined$ Targeted AI:RemoveDeck:All Oracle:Tap all lands target player controls and that player loses all unspent mana. diff --git a/forge-gui/res/cardsfolder/m/mana_tithe.txt b/forge-gui/res/cardsfolder/m/mana_tithe.txt index cf13afd7112..6d3b5714042 100644 --- a/forge-gui/res/cardsfolder/m/mana_tithe.txt +++ b/forge-gui/res/cardsfolder/m/mana_tithe.txt @@ -1,5 +1,5 @@ Name:Mana Tithe ManaCost:W Types:Instant -A:SP$ Counter | Cost$ W | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 1 | SpellDescription$ Counter target spell unless its controller pays {1}. +A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 1 | SpellDescription$ Counter target spell unless its controller pays {1}. Oracle:Counter target spell unless its controller pays {1}. diff --git a/forge-gui/res/cardsfolder/m/manamorphose.txt b/forge-gui/res/cardsfolder/m/manamorphose.txt index 56b0103258a..4e4b0dfe5d6 100644 --- a/forge-gui/res/cardsfolder/m/manamorphose.txt +++ b/forge-gui/res/cardsfolder/m/manamorphose.txt @@ -1,7 +1,7 @@ Name:Manamorphose ManaCost:1 RG Types:Instant -A:SP$ Mana | Cost$ 1 RG | Produced$ Combo Any | Amount$ 2 | SubAbility$ DBDraw | SpellDescription$ Add two mana in any combination of colors. Draw a card. +A:SP$ Mana | Produced$ Combo Any | Amount$ 2 | SubAbility$ DBDraw | SpellDescription$ Add two mana in any combination of colors. Draw a card. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 AI:RemoveDeck:All Oracle:Add two mana in any combination of colors.\nDraw a card. diff --git a/forge-gui/res/cardsfolder/m/mandate_of_peace.txt b/forge-gui/res/cardsfolder/m/mandate_of_peace.txt index e5c4382234b..d5d217eca62 100644 --- a/forge-gui/res/cardsfolder/m/mandate_of_peace.txt +++ b/forge-gui/res/cardsfolder/m/mandate_of_peace.txt @@ -1,7 +1,7 @@ Name:Mandate of Peace ManaCost:1 W Types:Instant -A:SP$ Effect | Cost$ 1 W | StaticAbilities$ STCantBeCast | ActivationPhases$ BeginCombat->EndCombat | SubAbility$ DBEndCombatPhase | SpellDescription$ Cast CARDNAME only during combat. Your opponents can't cast spells this turn. +A:SP$ Effect | StaticAbilities$ STCantBeCast | ActivationPhases$ BeginCombat->EndCombat | SubAbility$ DBEndCombatPhase | SpellDescription$ Cast CARDNAME only during combat. Your opponents can't cast spells this turn. SVar:STCantBeCast:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card | Caster$ Opponent | Description$ Your opponents can't cast spells. SVar:DBEndCombatPhase:DB$ EndCombatPhase | SpellDescription$ End the combat phase. (Remove all attackers and blockers from combat. Exile all spells and abilities from the stack, including this spell.) AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/mangaras_blessing.txt b/forge-gui/res/cardsfolder/m/mangaras_blessing.txt index 0c504ef1bcf..96e2e054957 100644 --- a/forge-gui/res/cardsfolder/m/mangaras_blessing.txt +++ b/forge-gui/res/cardsfolder/m/mangaras_blessing.txt @@ -1,7 +1,7 @@ Name:Mangara's Blessing ManaCost:2 W Types:Instant -A:SP$ GainLife | Cost$ 2 W | Defined$ You | LifeAmount$ 5 | SpellDescription$ You gain 5 life. +A:SP$ GainLife | Defined$ You | LifeAmount$ 5 | SpellDescription$ You gain 5 life. T:Mode$ Discarded | ValidCard$ Card.Self | ValidCause$ SpellAbility.OppCtrl | Execute$ TrigGainLife | TriggerDescription$ When a spell or ability an opponent controls causes you to discard CARDNAME, you gain 2 life, and you return CARDNAME from your graveyard to your hand at the beginning of the next end step. SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | SubAbility$ DelayReturn SVar:DelayReturn:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | TriggerDescription$ Return CARDNAME from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/m/manifold_insights.txt b/forge-gui/res/cardsfolder/m/manifold_insights.txt index b260c4e1218..81a8f98ccdd 100644 --- a/forge-gui/res/cardsfolder/m/manifold_insights.txt +++ b/forge-gui/res/cardsfolder/m/manifold_insights.txt @@ -1,7 +1,7 @@ Name:Manifold Insights ManaCost:2 U Types:Sorcery -A:SP$ PeekAndReveal | Cost$ 2 U | PeekAmount$ 10 | RevealValid$ Card | RememberRevealed$ True | SubAbility$ ChooseNonLand | SpellDescription$ Reveal the top ten cards of your library. Starting with the next opponent in turn order, each opponent chooses a different nonland card from among them. Put the chosen cards into your hand and the rest on the bottom of your library in a random order. +A:SP$ PeekAndReveal | PeekAmount$ 10 | RevealValid$ Card | RememberRevealed$ True | SubAbility$ ChooseNonLand | SpellDescription$ Reveal the top ten cards of your library. Starting with the next opponent in turn order, each opponent chooses a different nonland card from among them. Put the chosen cards into your hand and the rest on the bottom of your library in a random order. SVar:ChooseNonLand:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ OpponentsChoose | SubAbility$ ShipToBottom SVar:OpponentsChoose:DB$ ChooseCard | ChoiceZone$ Library | Choices$ Card.nonLand+IsRemembered | Defined$ Player.IsRemembered | ForgetChosen$ True | SubAbility$ ChosenToHand SVar:ChosenToHand:DB$ ChangeZone | Origin$ Library | Destination$ Hand | Defined$ ChosenCard diff --git a/forge-gui/res/cardsfolder/m/manipulate_fate.txt b/forge-gui/res/cardsfolder/m/manipulate_fate.txt index 95c3ff51705..3e73d20d0e6 100644 --- a/forge-gui/res/cardsfolder/m/manipulate_fate.txt +++ b/forge-gui/res/cardsfolder/m/manipulate_fate.txt @@ -1,7 +1,7 @@ Name:Manipulate Fate ManaCost:1 U Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Exile | ChangeType$ Card | ChangeNum$ 3 | Mandatory$ True | SpellDescription$ Search your library for three cards, exile them, then shuffle. | SubAbility$ DBDraw +A:SP$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Card | ChangeNum$ 3 | Mandatory$ True | SpellDescription$ Search your library for three cards, exile them, then shuffle. | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | SpellDescription$ Draw a card. AI:RemoveDeck:All Oracle:Search your library for three cards, exile them, then shuffle.\nDraw a card. diff --git a/forge-gui/res/cardsfolder/m/map_the_wastes.txt b/forge-gui/res/cardsfolder/m/map_the_wastes.txt index d657ad9d776..f6ca95af749 100644 --- a/forge-gui/res/cardsfolder/m/map_the_wastes.txt +++ b/forge-gui/res/cardsfolder/m/map_the_wastes.txt @@ -1,7 +1,7 @@ Name:Map the Wastes ManaCost:2 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | Tapped$ True | ChangeNum$ 1 | SubAbility$ DBBolster | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle. Bolster 1. (Choose a creature with the least toughness among creatures you control and put a +1/+1 counter on it.) +A:SP$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | Tapped$ True | ChangeNum$ 1 | SubAbility$ DBBolster | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle. Bolster 1. (Choose a creature with the least toughness among creatures you control and put a +1/+1 counter on it.) SVar:DBBolster:DB$ PutCounter | Bolster$ True | CounterNum$ 1 | CounterType$ P1P1 DeckHas:Ability$Counters Oracle:Search your library for a basic land card, put it onto the battlefield tapped, then shuffle. Bolster 1. (Choose a creature with the least toughness among creatures you control and put a +1/+1 counter on it.) diff --git a/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt b/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt index 09ac8817954..275c7484348 100644 --- a/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt +++ b/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt @@ -1,7 +1,7 @@ Name:March from the Tomb ManaCost:3 W B Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 W B | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | MaxTotalTargetCMC$ 8 | ValidTgts$ Creature.Ally+YouCtrl | TgtPrompt$ Select target Ally creature card in your graveyard. | SpellDescription$ Return any number of target Ally creature cards with total mana value 8 or less from your graveyard to the battlefield. +A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | MaxTotalTargetCMC$ 8 | ValidTgts$ Creature.Ally+YouCtrl | TgtPrompt$ Select target Ally creature card in your graveyard. | SpellDescription$ Return any number of target Ally creature cards with total mana value 8 or less from your graveyard to the battlefield. SVar:X:Count$ValidGraveyard Creature.Ally+YouCtrl AI:RemoveDeck:Random DeckNeeds:Type$Ally diff --git a/forge-gui/res/cardsfolder/m/march_of_souls.txt b/forge-gui/res/cardsfolder/m/march_of_souls.txt index 8db31a3bcde..6e0241fa7e3 100644 --- a/forge-gui/res/cardsfolder/m/march_of_souls.txt +++ b/forge-gui/res/cardsfolder/m/march_of_souls.txt @@ -1,7 +1,7 @@ Name:March of Souls ManaCost:4 W Types:Sorcery -A:SP$ DestroyAll | Cost$ 4 W | ValidCards$ Creature | RememberDestroyed$ True | NoRegen$ True | SubAbility$ DBRepeat | SpellDescription$ Destroy all creatures. +A:SP$ DestroyAll | ValidCards$ Creature | RememberDestroyed$ True | NoRegen$ True | SubAbility$ DBRepeat | SpellDescription$ Destroy all creatures. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBToken | SubAbility$ DBCleanup | ChangeZoneTable$ True SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ Player.IsRemembered | SpellDescription$ They can't be regenerated. For each creature destroyed this way, its controller creates a 1/1 white Spirit creature token with flying. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/m/march_of_the_drowned.txt b/forge-gui/res/cardsfolder/m/march_of_the_drowned.txt index a34bb6b2d0f..cfe9009265b 100644 --- a/forge-gui/res/cardsfolder/m/march_of_the_drowned.txt +++ b/forge-gui/res/cardsfolder/m/march_of_the_drowned.txt @@ -1,7 +1,7 @@ Name:March of the Drowned ManaCost:B Types:Sorcery -A:SP$ Charm | Cost$ B | CharmNum$ 1 | Choices$ DBChangeZone1,DBChangeZone2 +A:SP$ Charm | CharmNum$ 1 | Choices$ DBChangeZone1,DBChangeZone2 SVar:DBChangeZone1:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Mandatory$ True | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Return target creature card from your graveyard to your hand. SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Mandatory$ True | TgtPrompt$ Select two target Pirate cards in your graveyard | ValidTgts$ Pirate.YouOwn | TargetMin$ 2 | TargetMax$ 2 | SpellDescription$ Return two target Pirate cards from your graveyard to your hand. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt b/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt index a378d0fcb14..2ae97bd84b9 100644 --- a/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt +++ b/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt @@ -2,7 +2,7 @@ Name:March of the Multitudes ManaCost:X G W W Types:Instant K:Convoke -A:SP$ Token | Cost$ X G W W | TokenAmount$ X | TokenScript$ w_1_1_soldier_lifelink | SpellDescription$ Create X 1/1 white Soldier creature tokens with lifelink. +A:SP$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier_lifelink | SpellDescription$ Create X 1/1 white Soldier creature tokens with lifelink. SVar:X:Count$xPaid DeckHas:Ability$Token|LifeGain Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nCreate X 1/1 white Soldier creature tokens with lifelink. diff --git a/forge-gui/res/cardsfolder/m/march_of_the_returned.txt b/forge-gui/res/cardsfolder/m/march_of_the_returned.txt index 6abe067fb49..c3d66ad2e13 100644 --- a/forge-gui/res/cardsfolder/m/march_of_the_returned.txt +++ b/forge-gui/res/cardsfolder/m/march_of_the_returned.txt @@ -1,5 +1,5 @@ Name:March of the Returned ManaCost:3 B Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 B | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Return up to two target creature cards from your graveyard to your hand. +A:SP$ ChangeZone | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Return up to two target creature cards from your graveyard to your hand. Oracle:Return up to two target creature cards from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/m/mardu_charm.txt b/forge-gui/res/cardsfolder/m/mardu_charm.txt index c5e05773818..d7a925788ee 100644 --- a/forge-gui/res/cardsfolder/m/mardu_charm.txt +++ b/forge-gui/res/cardsfolder/m/mardu_charm.txt @@ -1,7 +1,7 @@ Name:Mardu Charm ManaCost:R W B Types:Instant -A:SP$ Charm | Cost$ R W B | Choices$ DealDmg,Warrior,DBDiscard | CharmNum$ 1 +A:SP$ Charm | Choices$ DealDmg,Warrior,DBDiscard | CharmNum$ 1 SVar:DealDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature. SVar:Warrior:DB$ Token | TokenAmount$ 2 | TokenScript$ w_1_1_warrior | TokenOwner$ You | RememberTokens$ True | SubAbility$ DBPumpFirstStrike | SpellDescription$ Create two 1/1 white Warrior creature tokens. They gain first strike until end of turn. SVar:DBPumpFirstStrike:DB$ PumpAll | ValidCards$ Creature.IsRemembered | KW$ First Strike | SubAbility$ DBCleanUp diff --git a/forge-gui/res/cardsfolder/m/mark_of_mutiny.txt b/forge-gui/res/cardsfolder/m/mark_of_mutiny.txt index 6904408e7ff..36444194489 100644 --- a/forge-gui/res/cardsfolder/m/mark_of_mutiny.txt +++ b/forge-gui/res/cardsfolder/m/mark_of_mutiny.txt @@ -1,6 +1,6 @@ Name:Mark of Mutiny ManaCost:2 R Types:Sorcery -A:SP$ GainControl | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SubAbility$ DBPutCounter | SpellDescription$ Gain control of target creature until end of turn. Put a +1/+1 counter on it and untap it. That creature gains haste until end of turn. (It can attack and {T} this turn.) +A:SP$ GainControl | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SubAbility$ DBPutCounter | SpellDescription$ Gain control of target creature until end of turn. Put a +1/+1 counter on it and untap it. That creature gains haste until end of turn. (It can attack and {T} this turn.) SVar:DBPutCounter:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 1 Oracle:Gain control of target creature until end of turn. Put a +1/+1 counter on it and untap it. That creature gains haste until end of turn. (It can attack and {T} this turn.) diff --git a/forge-gui/res/cardsfolder/m/marrow_shards.txt b/forge-gui/res/cardsfolder/m/marrow_shards.txt index ca6c41ebd5a..a47ad693d1d 100644 --- a/forge-gui/res/cardsfolder/m/marrow_shards.txt +++ b/forge-gui/res/cardsfolder/m/marrow_shards.txt @@ -1,5 +1,5 @@ Name:Marrow Shards ManaCost:WP Types:Instant -A:SP$ DamageAll | Cost$ WP | ValidCards$ Creature.attacking | ValidDescription$ each attacking creature. | NumDmg$ 1 | AIPhyrexianPayment$ Never | SpellDescription$ CARDNAME deals 1 damage to each attacking creature. +A:SP$ DamageAll | ValidCards$ Creature.attacking | ValidDescription$ each attacking creature. | NumDmg$ 1 | AIPhyrexianPayment$ Never | SpellDescription$ CARDNAME deals 1 damage to each attacking creature. Oracle:({W/P} can be paid with either {W} or 2 life.)\nMarrow Shards deals 1 damage to each attacking creature. diff --git a/forge-gui/res/cardsfolder/m/marsh_casualties.txt b/forge-gui/res/cardsfolder/m/marsh_casualties.txt index b74428e4b5e..3793872ac4b 100644 --- a/forge-gui/res/cardsfolder/m/marsh_casualties.txt +++ b/forge-gui/res/cardsfolder/m/marsh_casualties.txt @@ -2,7 +2,7 @@ Name:Marsh Casualties ManaCost:B B Types:Sorcery K:Kicker:3 -A:SP$ PumpAll | Cost$ B B | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Creatures target player controls get -1/-1 until end of turn. If this spell was kicked, those creatures get -2/-2 until end of turn instead. +A:SP$ PumpAll | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Creatures target player controls get -1/-1 until end of turn. If this spell was kicked, those creatures get -2/-2 until end of turn instead. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKicked:Creature.OppCtrl+toughnessEQ2 Oracle:Kicker {3} (You may pay an additional {3} as you cast this spell.)\nCreatures target player controls get -1/-1 until end of turn. If this spell was kicked, those creatures get -2/-2 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/m/marsh_gas.txt b/forge-gui/res/cardsfolder/m/marsh_gas.txt index a9e5e285d52..918ac2807bf 100644 --- a/forge-gui/res/cardsfolder/m/marsh_gas.txt +++ b/forge-gui/res/cardsfolder/m/marsh_gas.txt @@ -1,5 +1,5 @@ Name:Marsh Gas ManaCost:B Types:Instant -A:SP$ PumpAll | Cost$ B | ValidCards$ Creature | IsCurse$ True | NumAtt$ -2 | SpellDescription$ All creatures get -2/-0 until end of turn. +A:SP$ PumpAll | ValidCards$ Creature | IsCurse$ True | NumAtt$ -2 | SpellDescription$ All creatures get -2/-0 until end of turn. Oracle:All creatures get -2/-0 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/marshaling_cry.txt b/forge-gui/res/cardsfolder/m/marshaling_cry.txt index a4f6ccefa1d..6f7f53c11c8 100644 --- a/forge-gui/res/cardsfolder/m/marshaling_cry.txt +++ b/forge-gui/res/cardsfolder/m/marshaling_cry.txt @@ -2,6 +2,6 @@ Name:Marshaling Cry ManaCost:1 W W Types:Sorcery K:Flashback:3 W -A:SP$ PumpAll | Cost$ 1 W W | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | NumDef$ +1 | KW$ Vigilance | SpellDescription$ Creatures you control get +1/+1 and gain vigilance until end of turn. +A:SP$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | NumDef$ +1 | KW$ Vigilance | SpellDescription$ Creatures you control get +1/+1 and gain vigilance until end of turn. K:Cycling:2 Oracle:Creatures you control get +1/+1 and gain vigilance until end of turn.\nCycling {2} ({2}, Discard this card: Draw a card.)\nFlashback {3}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/m/martial_coup.txt b/forge-gui/res/cardsfolder/m/martial_coup.txt index 39ea4482b7b..06e54384827 100644 --- a/forge-gui/res/cardsfolder/m/martial_coup.txt +++ b/forge-gui/res/cardsfolder/m/martial_coup.txt @@ -1,7 +1,7 @@ Name:Martial Coup ManaCost:X W W Types:Sorcery -A:SP$ Token | Cost$ X W W | TokenAmount$ X | TokenScript$ w_1_1_soldier | RememberTokens$ True | TokenOwner$ You | SubAbility$ CoupDestroy | SpellDescription$ Create X 1/1 white Soldier creature tokens. If X is 5 or more, destroy all other creatures. +A:SP$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | RememberTokens$ True | TokenOwner$ You | SubAbility$ CoupDestroy | SpellDescription$ Create X 1/1 white Soldier creature tokens. If X is 5 or more, destroy all other creatures. SVar:CoupDestroy:DB$ DestroyAll | ValidCards$ Creature.IsNotRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE5 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/m/martial_glory.txt b/forge-gui/res/cardsfolder/m/martial_glory.txt index f9ffa7ae835..989de469a40 100644 --- a/forge-gui/res/cardsfolder/m/martial_glory.txt +++ b/forge-gui/res/cardsfolder/m/martial_glory.txt @@ -1,6 +1,6 @@ Name:Martial Glory ManaCost:R W Types:Instant -A:SP$ Pump | Cost$ R W | ValidTgts$ Creature | TgtPrompt$ Select target creature to get +3/+0 | NumAtt$ +3 | SubAbility$ DBPump | SpellDescription$ Target creature gets +3/+0 until end of turn. Target creature gets +0/+3 until end of turn. +A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to get +3/+0 | NumAtt$ +3 | SubAbility$ DBPump | SpellDescription$ Target creature gets +3/+0 until end of turn. Target creature gets +0/+3 until end of turn. SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to get +0/+3 | NumDef$ +3 Oracle:Target creature gets +3/+0 until end of turn.\nTarget creature gets +0/+3 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/martyrdom.txt b/forge-gui/res/cardsfolder/m/martyrdom.txt index c74a2438940..7bff3daaa4b 100644 --- a/forge-gui/res/cardsfolder/m/martyrdom.txt +++ b/forge-gui/res/cardsfolder/m/martyrdom.txt @@ -1,7 +1,7 @@ Name:Martyrdom ManaCost:1 W W Types:Instant -A:SP$ Animate | Cost$ 1 W W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Abilities$ Martyr | TransferActivator$ True | StackDescription$ Until end of turn, {c:Targeted} gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." | SpellDescription$ Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability. +A:SP$ Animate | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Abilities$ Martyr | TransferActivator$ True | StackDescription$ Until end of turn, {c:Targeted} gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." | SpellDescription$ Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability. SVar:Martyr:AB$ Effect | Name$ Martyrdom Effect | Cost$ 0 | ValidTgts$ Any | TgtPrompt$ Select any target to redirect damage from | Amount$ 1 | ReplacementEffects$ DamageEvent | Duration$ UntilHostLeavesPlayOrEOT | RememberObjects$ Targeted | ImprintCards$ Self | ExileOnMoved$ Battlefield | StackDescription$ The next 1 damage that would be dealt to {c:Targeted}{p:Targeted} this turn is dealt to {c:Self} instead. | SpellDescription$ The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to CARDNAME instead. SVar:DamageEvent:Event$ DamageDone | IsPresent$ Card.IsImprinted+Creature | ValidTarget$ Player.IsRemembered,Card.IsRemembered | ReplaceWith$ DamageEventDmg | DamageTarget$ Imprinted | Description$ The next 1 damage that would be dealt to this target this turn is dealt to EFFECTSOURCE instead. SVar:DamageEventDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted diff --git a/forge-gui/res/cardsfolder/m/martyrs_cry.txt b/forge-gui/res/cardsfolder/m/martyrs_cry.txt index 72cfbb33841..e00a0677928 100644 --- a/forge-gui/res/cardsfolder/m/martyrs_cry.txt +++ b/forge-gui/res/cardsfolder/m/martyrs_cry.txt @@ -1,7 +1,7 @@ Name:Martyr's Cry ManaCost:W W Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ W W | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | ChangeType$ Creature.White | SubAbility$ DBRepeat | SpellDescription$ Exile all white creatures. For each creature exiled this way, its controller draws a card. +A:SP$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | ChangeType$ Creature.White | SubAbility$ DBRepeat | SpellDescription$ Exile all white creatures. For each creature exiled this way, its controller draws a card. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ RememberedController | RepeatSubAbility$ DBDraw | SubAbility$ DBCleanup SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ X SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/m/mascot_exhibition.txt b/forge-gui/res/cardsfolder/m/mascot_exhibition.txt index 220c8dfe951..7c7def6fe14 100644 --- a/forge-gui/res/cardsfolder/m/mascot_exhibition.txt +++ b/forge-gui/res/cardsfolder/m/mascot_exhibition.txt @@ -1,6 +1,6 @@ Name:Mascot Exhibition ManaCost:7 Types:Sorcery Lesson -A:SP$ Token | Cost$ 7 | TokenAmount$ 1 | TokenScript$ wb_2_1_inkling_flying,rw_3_2_spirit,ur_4_4_elemental | TokenOwner$ You | SpellDescription$ Create a 2/1 white and black Inkling creature token with flying, a 3/2 red and white Spirit creature token, and a 4/4 blue and red Elemental creature token. +A:SP$ Token | TokenAmount$ 1 | TokenScript$ wb_2_1_inkling_flying,rw_3_2_spirit,ur_4_4_elemental | TokenOwner$ You | SpellDescription$ Create a 2/1 white and black Inkling creature token with flying, a 3/2 red and white Spirit creature token, and a 4/4 blue and red Elemental creature token. DeckHas:Ability$Token Oracle:Create a 2/1 white and black Inkling creature token with flying, a 3/2 red and white Spirit creature token, and a 4/4 blue and red Elemental creature token. diff --git a/forge-gui/res/cardsfolder/m/mass_appeal.txt b/forge-gui/res/cardsfolder/m/mass_appeal.txt index 8e2812b7fb0..2184fd4544c 100644 --- a/forge-gui/res/cardsfolder/m/mass_appeal.txt +++ b/forge-gui/res/cardsfolder/m/mass_appeal.txt @@ -1,7 +1,7 @@ Name:Mass Appeal ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | NumCards$ X | SpellDescription$ Draw a card for each Human you control. +A:SP$ Draw | NumCards$ X | SpellDescription$ Draw a card for each Human you control. SVar:X:Count$TypeYouCtrl.Human AI:RemoveDeck:Random Oracle:Draw a card for each Human you control. diff --git a/forge-gui/res/cardsfolder/m/mass_calcify.txt b/forge-gui/res/cardsfolder/m/mass_calcify.txt index 8b39ccf12e4..297d1aeaf98 100644 --- a/forge-gui/res/cardsfolder/m/mass_calcify.txt +++ b/forge-gui/res/cardsfolder/m/mass_calcify.txt @@ -1,5 +1,5 @@ Name:Mass Calcify ManaCost:5 W W Types:Sorcery -A:SP$ DestroyAll | Cost$ 5 W W | ValidCards$ Creature.nonWhite | SpellDescription$ Destroy all nonwhite creatures. +A:SP$ DestroyAll | ValidCards$ Creature.nonWhite | SpellDescription$ Destroy all nonwhite creatures. Oracle:Destroy all nonwhite creatures. diff --git a/forge-gui/res/cardsfolder/m/mass_diminish.txt b/forge-gui/res/cardsfolder/m/mass_diminish.txt index 549d6a39cce..0473256e075 100644 --- a/forge-gui/res/cardsfolder/m/mass_diminish.txt +++ b/forge-gui/res/cardsfolder/m/mass_diminish.txt @@ -1,6 +1,6 @@ Name:Mass Diminish ManaCost:1 U Types:Sorcery -A:SP$ AnimateAll | Cost$ 1 U | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | Power$ 1 | Toughness$ 1 | IsCurse$ True | Duration$ UntilYourNextTurn | SpellDescription$ Until your next turn, creatures target player controls have base power and toughness 1/1. +A:SP$ AnimateAll | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | Power$ 1 | Toughness$ 1 | IsCurse$ True | Duration$ UntilYourNextTurn | SpellDescription$ Until your next turn, creatures target player controls have base power and toughness 1/1. K:Flashback:3 U Oracle:Until your next turn, creatures target player controls have base power and toughness 1/1.\nFlashback {3}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/m/mass_manipulation.txt b/forge-gui/res/cardsfolder/m/mass_manipulation.txt index 1e06812702a..743e7bd2f17 100644 --- a/forge-gui/res/cardsfolder/m/mass_manipulation.txt +++ b/forge-gui/res/cardsfolder/m/mass_manipulation.txt @@ -1,7 +1,7 @@ Name:Mass Manipulation ManaCost:X X U U U U Types:Sorcery -A:SP$ GainControl | Cost$ X X U U U U | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select X target creatures or planeswalkers | TargetMin$ X | TargetMax$ X | SpellDescription$ Gain control of X target creatures and/or planeswalkers. +A:SP$ GainControl | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select X target creatures or planeswalkers | TargetMin$ X | TargetMax$ X | SpellDescription$ Gain control of X target creatures and/or planeswalkers. SVar:X:Count$xPaid AI:RemoveDeck:Random Oracle:Gain control of X target creatures and/or planeswalkers. diff --git a/forge-gui/res/cardsfolder/m/mass_mutiny.txt b/forge-gui/res/cardsfolder/m/mass_mutiny.txt index af174ac39b0..922547a3df3 100644 --- a/forge-gui/res/cardsfolder/m/mass_mutiny.txt +++ b/forge-gui/res/cardsfolder/m/mass_mutiny.txt @@ -1,6 +1,6 @@ Name:Mass Mutiny ManaCost:3 R R Types:Sorcery -A:SP$ GainControl | Cost$ 3 R R | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls to gain control of. | TargetMin$ 0 | TargetMax$ OneEach | TargetsForEachPlayer$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. +A:SP$ GainControl | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls to gain control of. | TargetMin$ 0 | TargetMax$ OneEach | TargetsForEachPlayer$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. SVar:OneEach:PlayerCountOpponents$Amount Oracle:For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. diff --git a/forge-gui/res/cardsfolder/m/mass_polymorph.txt b/forge-gui/res/cardsfolder/m/mass_polymorph.txt index 4f182723169..6bc742f6801 100644 --- a/forge-gui/res/cardsfolder/m/mass_polymorph.txt +++ b/forge-gui/res/cardsfolder/m/mass_polymorph.txt @@ -1,7 +1,7 @@ Name:Mass Polymorph ManaCost:5 U Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ 5 U | ChangeType$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBMassReveal | SpellDescription$ Exile all creatures you control, then reveal cards from the top of your library until you reveal that many creature cards. Put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library. +A:SP$ ChangeZoneAll | ChangeType$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBMassReveal | SpellDescription$ Exile all creatures you control, then reveal cards from the top of your library until you reveal that many creature cards. Put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library. SVar:DBMassReveal:DB$ DigUntil | Amount$ MassX | Valid$ Creature.YouOwn | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | FoundDestination$ Battlefield | SubAbility$ DBMassCleanup | Shuffle$ True SVar:DBMassCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMassShuffle SVar:DBMassShuffle:DB$ Shuffle diff --git a/forge-gui/res/cardsfolder/m/massive_raid.txt b/forge-gui/res/cardsfolder/m/massive_raid.txt index 350351eb97e..1847ef1fd53 100644 --- a/forge-gui/res/cardsfolder/m/massive_raid.txt +++ b/forge-gui/res/cardsfolder/m/massive_raid.txt @@ -1,6 +1,6 @@ Name:Massive Raid ManaCost:1 R R Types:Instant -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Any | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of creatures you control. +A:SP$ DealDamage | ValidTgts$ Any | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl Oracle:Massive Raid deals damage to any target equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/m/master_the_way.txt b/forge-gui/res/cardsfolder/m/master_the_way.txt index ae23b6727f6..9bb9fe1ef2a 100644 --- a/forge-gui/res/cardsfolder/m/master_the_way.txt +++ b/forge-gui/res/cardsfolder/m/master_the_way.txt @@ -1,7 +1,7 @@ Name:Master the Way ManaCost:3 U R Types:Sorcery -A:SP$ Draw | Cost$ 3 U R | NumCards$ 1 | SubAbility$ DBDamage | SpellDescription$ Draw a card. CARDNAME deals damage to any target equal to the number of cards in your hand. +A:SP$ Draw | NumCards$ 1 | SubAbility$ DBDamage | SpellDescription$ Draw a card. CARDNAME deals damage to any target equal to the number of cards in your hand. SVar:DBDamage:DB$ DealDamage | ValidTgts$ Any | NumDmg$ X SVar:X:Count$CardsInYourHand Oracle:Draw a card. Master the Way deals damage to any target equal to the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/m/master_warcraft.txt b/forge-gui/res/cardsfolder/m/master_warcraft.txt index d2234fc89c9..d93314b896d 100644 --- a/forge-gui/res/cardsfolder/m/master_warcraft.txt +++ b/forge-gui/res/cardsfolder/m/master_warcraft.txt @@ -1,6 +1,6 @@ Name:Master Warcraft ManaCost:2 RW RW Types:Instant -A:SP$ DeclareCombatants | Cost$ 2 RW RW | DeclareAttackers$ True | DeclareBlockers$ True | ActivationPhases$ Upkeep->BeginCombat | ActivationFirstCombat$ True | Until$ EndOfTurn | SpellDescription$ Cast this spell only before attackers are declared. You choose which creatures attack this turn. You choose which creatures block this turn and how those creatures block. +A:SP$ DeclareCombatants | DeclareAttackers$ True | DeclareBlockers$ True | ActivationPhases$ Upkeep->BeginCombat | ActivationFirstCombat$ True | Until$ EndOfTurn | SpellDescription$ Cast this spell only before attackers are declared. You choose which creatures attack this turn. You choose which creatures block this turn and how those creatures block. AI:RemoveDeck:All Oracle:Cast this spell only before attackers are declared.\nYou choose which creatures attack this turn.\nYou choose which creatures block this turn and how those creatures block. diff --git a/forge-gui/res/cardsfolder/m/masterminds_acquisition.txt b/forge-gui/res/cardsfolder/m/masterminds_acquisition.txt index 921d0eaaa88..c513cb036dc 100644 --- a/forge-gui/res/cardsfolder/m/masterminds_acquisition.txt +++ b/forge-gui/res/cardsfolder/m/masterminds_acquisition.txt @@ -1,7 +1,7 @@ Name:Mastermind's Acquisition ManaCost:2 B B Types:Sorcery -A:SP$ Charm | Cost$ 2 B B | Choices$ DBSearch,DBWish +A:SP$ Charm | Choices$ DBSearch,DBWish SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | SpellDescription$ Search your library for a card, put it into your hand, then shuffle. SVar:DBWish:DB$ ChangeZone | Origin$ Sideboard | Destination$ Hand | ChangeType$ Card.YouOwn | ChangeNum$ 1 | Mandatory$ True | Hidden$ True | SpellDescription$ Put a card you own from outside the game into your hand. Oracle:Choose one —\n• Search your library for a card, put it into your hand, then shuffle.\n• Put a card you own from outside the game into your hand. diff --git a/forge-gui/res/cardsfolder/m/masters_call.txt b/forge-gui/res/cardsfolder/m/masters_call.txt index 66d1bd2f0be..1c2a679bf6b 100644 --- a/forge-gui/res/cardsfolder/m/masters_call.txt +++ b/forge-gui/res/cardsfolder/m/masters_call.txt @@ -1,6 +1,6 @@ Name:Master's Call ManaCost:2 W Types:Instant -A:SP$ Token | Cost$ 2 W | TokenAmount$ 2 | TokenScript$ c_1_1_a_myr | TokenOwner$ You | SpellDescription$ Create two 1/1 colorless Myr artifact creature tokens. +A:SP$ Token | TokenAmount$ 2 | TokenScript$ c_1_1_a_myr | TokenOwner$ You | SpellDescription$ Create two 1/1 colorless Myr artifact creature tokens. DeckHas:Ability$Token Oracle:Create two 1/1 colorless Myr artifact creature tokens. diff --git a/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt b/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt index 31414cacc60..cacb13d7439 100644 --- a/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt +++ b/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt @@ -1,7 +1,7 @@ Name:Mausoleum Secrets ManaCost:1 B Types:Instant -A:SP$ ChangeZone | Cost$ 1 B | Origin$ Library | Destination$ Hand | ChangeType$ Card.Black+cmcLEX | ChangeTypeDesc$ black card with mana value less than or equal to the number of creature cards in their graveyard | ChangeNum$ 1 | SpellDescription$ Undergrowth - Search your library for a black card with mana value less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle. +A:SP$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.Black+cmcLEX | ChangeTypeDesc$ black card with mana value less than or equal to the number of creature cards in their graveyard | ChangeNum$ 1 | SpellDescription$ Undergrowth - Search your library for a black card with mana value less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:Random Oracle:Undergrowth — Search your library for a black card with mana value less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle. diff --git a/forge-gui/res/cardsfolder/m/maw_of_the_mire.txt b/forge-gui/res/cardsfolder/m/maw_of_the_mire.txt index 4614221e7da..4dee7b5d9f4 100644 --- a/forge-gui/res/cardsfolder/m/maw_of_the_mire.txt +++ b/forge-gui/res/cardsfolder/m/maw_of_the_mire.txt @@ -1,6 +1,6 @@ Name:Maw of the Mire ManaCost:4 B Types:Sorcery -A:SP$ Destroy | Cost$ 4 B | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBGainLife | SpellDescription$ Destroy target land. You gain 4 life. +A:SP$ Destroy | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBGainLife | SpellDescription$ Destroy target land. You gain 4 life. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 Oracle:Destroy target land. You gain 4 life. diff --git a/forge-gui/res/cardsfolder/m/maximize_altitude.txt b/forge-gui/res/cardsfolder/m/maximize_altitude.txt index 436953605d6..a92d6885897 100644 --- a/forge-gui/res/cardsfolder/m/maximize_altitude.txt +++ b/forge-gui/res/cardsfolder/m/maximize_altitude.txt @@ -2,5 +2,5 @@ Name:Maximize Altitude ManaCost:U Types:Sorcery K:Jump-start -A:SP$ Pump | Cost$ U | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | NumDef$ +1 | KW$ Flying | SpellDescription$ Target creature gets +1/+1 and gains flying until end of turn. +A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | NumDef$ +1 | KW$ Flying | SpellDescription$ Target creature gets +1/+1 and gains flying until end of turn. Oracle:Target creature gets +1/+1 and gains flying until end of turn.\nJump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.) diff --git a/forge-gui/res/cardsfolder/m/maximize_velocity.txt b/forge-gui/res/cardsfolder/m/maximize_velocity.txt index 0b49e9acede..b4107e736e5 100644 --- a/forge-gui/res/cardsfolder/m/maximize_velocity.txt +++ b/forge-gui/res/cardsfolder/m/maximize_velocity.txt @@ -2,5 +2,5 @@ Name:Maximize Velocity ManaCost:R Types:Sorcery K:Jump-start -A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | NumDef$ +1 | KW$ Haste | SpellDescription$ Target creature gets +1/+1 and gains haste until end of turn. +A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | NumDef$ +1 | KW$ Haste | SpellDescription$ Target creature gets +1/+1 and gains haste until end of turn. Oracle:Target creature gets +1/+1 and gains haste until end of turn.\nJump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.) diff --git a/forge-gui/res/cardsfolder/m/meddle.txt b/forge-gui/res/cardsfolder/m/meddle.txt index 50b7dd228d6..fd1a254bd7b 100644 --- a/forge-gui/res/cardsfolder/m/meddle.txt +++ b/forge-gui/res/cardsfolder/m/meddle.txt @@ -1,6 +1,6 @@ Name:Meddle ManaCost:1 U Types:Instant -A:SP$ ChangeTargets | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Spell | ConditionTargetValidTargeting$ Creature.inZoneBattlefield | ConditionTargetsSingleTarget$ True | TargetRestriction$ Creature.Other | SpellDescription$ If target spell has only one target and that target is a creature, change that spell's target to another creature. +A:SP$ ChangeTargets | TargetType$ Spell | ValidTgts$ Spell | ConditionTargetValidTargeting$ Creature.inZoneBattlefield | ConditionTargetsSingleTarget$ True | TargetRestriction$ Creature.Other | SpellDescription$ If target spell has only one target and that target is a creature, change that spell's target to another creature. AI:RemoveDeck:All Oracle:If target spell has only one target and that target is a creature, change that spell's target to another creature. diff --git a/forge-gui/res/cardsfolder/m/meditate.txt b/forge-gui/res/cardsfolder/m/meditate.txt index d25fd81e612..eca7c4793ff 100644 --- a/forge-gui/res/cardsfolder/m/meditate.txt +++ b/forge-gui/res/cardsfolder/m/meditate.txt @@ -1,6 +1,6 @@ Name:Meditate ManaCost:2 U Types:Instant -A:SP$ Draw | Cost$ 2 U | NumCards$ 4 | Defined$ You | SpellDescription$ Draw four cards. You skip your next turn. | SubAbility$ DBSkip +A:SP$ Draw | NumCards$ 4 | Defined$ You | SpellDescription$ Draw four cards. You skip your next turn. | SubAbility$ DBSkip SVar:DBSkip:DB$ SkipTurn | Defined$ You | NumTurns$ 1 Oracle:Draw four cards. You skip your next turn. diff --git a/forge-gui/res/cardsfolder/m/meditation_puzzle.txt b/forge-gui/res/cardsfolder/m/meditation_puzzle.txt index f71c4f67f4f..ad3804fb5f0 100644 --- a/forge-gui/res/cardsfolder/m/meditation_puzzle.txt +++ b/forge-gui/res/cardsfolder/m/meditation_puzzle.txt @@ -2,5 +2,5 @@ Name:Meditation Puzzle ManaCost:3 W W Types:Instant K:Convoke -A:SP$ GainLife | Cost$ 3 W W | LifeAmount$ 8 | SpellDescription$ You gain 8 life. +A:SP$ GainLife | LifeAmount$ 8 | SpellDescription$ You gain 8 life. Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nYou gain 8 life. diff --git a/forge-gui/res/cardsfolder/m/melt_terrain.txt b/forge-gui/res/cardsfolder/m/melt_terrain.txt index 07044871bf1..c93a504341f 100644 --- a/forge-gui/res/cardsfolder/m/melt_terrain.txt +++ b/forge-gui/res/cardsfolder/m/melt_terrain.txt @@ -1,6 +1,6 @@ Name:Melt Terrain ManaCost:2 R R Types:Sorcery -A:SP$ Destroy | Cost$ 2 R R | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBDealDamage | SpellDescription$ Destroy target land. CARDNAME deals 2 damage to that land's controller. +A:SP$ Destroy | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBDealDamage | SpellDescription$ Destroy target land. CARDNAME deals 2 damage to that land's controller. SVar:DBDealDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TargetedController Oracle:Destroy target land. Melt Terrain deals 2 damage to that land's controller. diff --git a/forge-gui/res/cardsfolder/m/meltdown.txt b/forge-gui/res/cardsfolder/m/meltdown.txt index bea4c73e16c..eb4bbc2a914 100644 --- a/forge-gui/res/cardsfolder/m/meltdown.txt +++ b/forge-gui/res/cardsfolder/m/meltdown.txt @@ -1,7 +1,7 @@ Name:Meltdown ManaCost:X R Types:Sorcery -A:SP$ DestroyAll | Cost$ X R | ValidCards$ Artifact.cmcLEX | SpellDescription$ Destroy each artifact with mana value X or less. +A:SP$ DestroyAll | ValidCards$ Artifact.cmcLEX | SpellDescription$ Destroy each artifact with mana value X or less. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Destroy each artifact with mana value X or less. diff --git a/forge-gui/res/cardsfolder/m/memoricide.txt b/forge-gui/res/cardsfolder/m/memoricide.txt index 751f1b3fc58..d68b63adb53 100644 --- a/forge-gui/res/cardsfolder/m/memoricide.txt +++ b/forge-gui/res/cardsfolder/m/memoricide.txt @@ -1,7 +1,7 @@ Name:Memoricide ManaCost:3 B Types:Sorcery -A:SP$ NameCard | Cost$ 3 B | Defined$ You | ValidCards$ Card.nonLand | ValidDescription$ nonland | SubAbility$ ExileYard | SpellDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles. +A:SP$ NameCard | Defined$ You | ValidCards$ Card.nonLand | ValidDescription$ nonland | SubAbility$ ExileYard | SpellDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles. SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles. SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | StackDescription$ None diff --git a/forge-gui/res/cardsfolder/m/memory_drain.txt b/forge-gui/res/cardsfolder/m/memory_drain.txt index 6053b76503e..fc4e0dfed22 100644 --- a/forge-gui/res/cardsfolder/m/memory_drain.txt +++ b/forge-gui/res/cardsfolder/m/memory_drain.txt @@ -1,6 +1,6 @@ Name:Memory Drain ManaCost:2 U U Types:Instant -A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ DBScry | SpellDescription$ Counter target spell. Scry 2. +A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ DBScry | SpellDescription$ Counter target spell. Scry 2. SVar:DBScry:DB$ Scry | ScryNum$ 2 Oracle:Counter target spell. Scry 2. diff --git a/forge-gui/res/cardsfolder/m/memory_lapse.txt b/forge-gui/res/cardsfolder/m/memory_lapse.txt index cd03b4834f4..3659eacede5 100644 --- a/forge-gui/res/cardsfolder/m/memory_lapse.txt +++ b/forge-gui/res/cardsfolder/m/memory_lapse.txt @@ -1,5 +1,5 @@ Name:Memory Lapse ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ TopOfLibrary | SpellDescription$ Counter target spell. If that spell is countered this way, put it on top of its owner's library instead of into that player's graveyard. +A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ TopOfLibrary | SpellDescription$ Counter target spell. If that spell is countered this way, put it on top of its owner's library instead of into that player's graveyard. Oracle:Counter target spell. If that spell is countered this way, put it on top of its owner's library instead of into that player's graveyard. diff --git a/forge-gui/res/cardsfolder/m/memory_plunder.txt b/forge-gui/res/cardsfolder/m/memory_plunder.txt index 7dcf78f0faa..d643769454e 100644 --- a/forge-gui/res/cardsfolder/m/memory_plunder.txt +++ b/forge-gui/res/cardsfolder/m/memory_plunder.txt @@ -1,6 +1,6 @@ Name:Memory Plunder ManaCost:UB UB UB UB Types:Instant -A:SP$ Play | Cost$ UB UB UB UB | TgtZone$ Graveyard | WithoutManaCost$ True | ValidSA$ Spell | ValidTgts$ Instant.OppOwn,Sorcery.OppOwn | TgtPrompt$ Choose target instant or sorcery card from an opponent's graveyard | Optional$ True | SpellDescription$ You may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost. +A:SP$ Play | TgtZone$ Graveyard | WithoutManaCost$ True | ValidSA$ Spell | ValidTgts$ Instant.OppOwn,Sorcery.OppOwn | TgtPrompt$ Choose target instant or sorcery card from an opponent's graveyard | Optional$ True | SpellDescription$ You may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost. AI:RemoveDeck:All Oracle:You may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/m/memory_sluice.txt b/forge-gui/res/cardsfolder/m/memory_sluice.txt index 50a4d7059b4..71fe5a3161e 100644 --- a/forge-gui/res/cardsfolder/m/memory_sluice.txt +++ b/forge-gui/res/cardsfolder/m/memory_sluice.txt @@ -1,6 +1,6 @@ Name:Memory Sluice ManaCost:UB Types:Sorcery -A:SP$ Mill | Cost$ UB | NumCards$ 4 | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills four cards. +A:SP$ Mill | NumCards$ 4 | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills four cards. K:Conspire Oracle:Target player mills four cards.\nConspire (As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.) diff --git a/forge-gui/res/cardsfolder/m/memorys_journey.txt b/forge-gui/res/cardsfolder/m/memorys_journey.txt index 0391d4766e7..49810b46e41 100644 --- a/forge-gui/res/cardsfolder/m/memorys_journey.txt +++ b/forge-gui/res/cardsfolder/m/memorys_journey.txt @@ -2,7 +2,7 @@ Name:Memory's Journey ManaCost:1 U Types:Instant K:Flashback:G -A:SP$ Pump | Cost$ 1 U | ValidTgts$ Player | TgtPrompt$ Select target Player | SubAbility$ DBChangeZone | IsCurse$ True | SpellDescription$ Target player shuffles up to three target cards from their graveyard into their library. +A:SP$ Pump | ValidTgts$ Player | TgtPrompt$ Select target Player | SubAbility$ DBChangeZone | IsCurse$ True | SpellDescription$ Target player shuffles up to three target cards from their graveyard into their library. SVar:DBChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 3 | TargetsWithDefinedController$ ParentTarget | Origin$ Graveyard | Destination$ Library | Shuffle$ True | TgtPrompt$ Choose target card | ValidTgts$ Card AI:RemoveDeck:All Oracle:Target player shuffles up to three target cards from their graveyard into their library.\nFlashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/m/mending_hands.txt b/forge-gui/res/cardsfolder/m/mending_hands.txt index 43c7c6ae81c..58ec85b7630 100644 --- a/forge-gui/res/cardsfolder/m/mending_hands.txt +++ b/forge-gui/res/cardsfolder/m/mending_hands.txt @@ -1,5 +1,5 @@ Name:Mending Hands ManaCost:W Types:Instant -A:SP$ PreventDamage | Cost$ W | ValidTgts$ Any | Amount$ 4 | SpellDescription$ Prevent the next 4 damage that would be dealt to any target this turn. +A:SP$ PreventDamage | ValidTgts$ Any | Amount$ 4 | SpellDescription$ Prevent the next 4 damage that would be dealt to any target this turn. Oracle:Prevent the next 4 damage that would be dealt to any target this turn. diff --git a/forge-gui/res/cardsfolder/m/mending_touch.txt b/forge-gui/res/cardsfolder/m/mending_touch.txt index 211597997f7..283b3f4d437 100644 --- a/forge-gui/res/cardsfolder/m/mending_touch.txt +++ b/forge-gui/res/cardsfolder/m/mending_touch.txt @@ -1,5 +1,5 @@ Name:Mending Touch ManaCost:G Types:Instant -A:SP$ Regenerate | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Regenerate target creature. +A:SP$ Regenerate | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Regenerate target creature. Oracle:Regenerate target creature. diff --git a/forge-gui/res/cardsfolder/m/mental_agony.txt b/forge-gui/res/cardsfolder/m/mental_agony.txt index 42bceaefd10..3f3152cb0a1 100644 --- a/forge-gui/res/cardsfolder/m/mental_agony.txt +++ b/forge-gui/res/cardsfolder/m/mental_agony.txt @@ -1,6 +1,6 @@ Name:Mental Agony ManaCost:3 B Types:Sorcery -A:SP$ Discard | Cost$ 3 B | ValidTgts$ Player | NumCards$ 2 | Mode$ TgtChoose | SubAbility$ DBLoseLife | SpellDescription$ Target player discards two cards and loses 2 life. +A:SP$ Discard | ValidTgts$ Player | NumCards$ 2 | Mode$ TgtChoose | SubAbility$ DBLoseLife | SpellDescription$ Target player discards two cards and loses 2 life. SVar:DBLoseLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ 2 Oracle:Target player discards two cards and loses 2 life. diff --git a/forge-gui/res/cardsfolder/m/mental_journey.txt b/forge-gui/res/cardsfolder/m/mental_journey.txt index ceb40a54a56..8a8b3eb5618 100644 --- a/forge-gui/res/cardsfolder/m/mental_journey.txt +++ b/forge-gui/res/cardsfolder/m/mental_journey.txt @@ -1,6 +1,6 @@ Name:Mental Journey ManaCost:4 U U Types:Instant -A:SP$ Draw | Cost$ 4 U U | NumCards$ 3 | SpellDescription$ Draw three cards. +A:SP$ Draw | NumCards$ 3 | SpellDescription$ Draw three cards. K:TypeCycling:Basic:1 U Oracle:Draw three cards.\nBasic landcycling {1}{U} ({1}{U}, Discard this card: Search your library for a basic land card, reveal it, put it into your hand, then shuffle.) diff --git a/forge-gui/res/cardsfolder/m/mental_misstep.txt b/forge-gui/res/cardsfolder/m/mental_misstep.txt index 6d77059a155..85aaab8ac03 100644 --- a/forge-gui/res/cardsfolder/m/mental_misstep.txt +++ b/forge-gui/res/cardsfolder/m/mental_misstep.txt @@ -1,5 +1,5 @@ Name:Mental Misstep ManaCost:UP Types:Instant -A:SP$ Counter | Cost$ UP | TargetType$ Spell | TgtPrompt$ Select target spell with mana value 1 | ValidTgts$ Card.cmcEQ1 | AIPhyrexianPayment$ Never | SpellDescription$ Counter target spell with mana value 1. +A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell with mana value 1 | ValidTgts$ Card.cmcEQ1 | AIPhyrexianPayment$ Never | SpellDescription$ Counter target spell with mana value 1. Oracle:({U/P} can be paid with either {U} or 2 life.)\nCounter target spell with mana value 1. diff --git a/forge-gui/res/cardsfolder/m/mental_note.txt b/forge-gui/res/cardsfolder/m/mental_note.txt index dd6b6089f1e..0d2cf24f7de 100644 --- a/forge-gui/res/cardsfolder/m/mental_note.txt +++ b/forge-gui/res/cardsfolder/m/mental_note.txt @@ -1,7 +1,7 @@ Name:Mental Note ManaCost:U Types:Instant -A:SP$ Mill | Cost$ U | NumCards$ 2 | Defined$ You | SubAbility$ DBDraw | SpellDescription$ Mill two cards. Draw a card. +A:SP$ Mill | NumCards$ 2 | Defined$ You | SubAbility$ DBDraw | SpellDescription$ Mill two cards. Draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 AI:RemoveDeck:Random Oracle:Mill two cards.\nDraw a card. diff --git a/forge-gui/res/cardsfolder/m/mental_vapors.txt b/forge-gui/res/cardsfolder/m/mental_vapors.txt index 4a3ad1b85cd..d169daa7619 100644 --- a/forge-gui/res/cardsfolder/m/mental_vapors.txt +++ b/forge-gui/res/cardsfolder/m/mental_vapors.txt @@ -2,7 +2,7 @@ Name:Mental Vapors ManaCost:3 B Types:Sorcery K:Cipher -A:SP$ Discard | Cost$ 3 B | ValidTgts$ Player | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ Cipher | SpellDescription$ Target player discards a card. +A:SP$ Discard | ValidTgts$ Player | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ Cipher | SpellDescription$ Target player discards a card. SVar:Cipher:DB$ Encode | Defined$ Self DeckNeeds:Type$Creature Oracle:Target player discards a card.\nCipher (Then you may exile this spell card encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost.) diff --git a/forge-gui/res/cardsfolder/m/mephitic_vapors.txt b/forge-gui/res/cardsfolder/m/mephitic_vapors.txt index 58afb2deffc..b2abf72c0af 100644 --- a/forge-gui/res/cardsfolder/m/mephitic_vapors.txt +++ b/forge-gui/res/cardsfolder/m/mephitic_vapors.txt @@ -1,7 +1,7 @@ Name:Mephitic Vapors ManaCost:2 B Types:Sorcery -A:SP$ PumpAll | Cost$ 2 B | ValidCards$ Creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | Subability$ DBSurveil | SpellDescription$ All creatures get -1/-1 until end of turn. +A:SP$ PumpAll | ValidCards$ Creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | Subability$ DBSurveil | SpellDescription$ All creatures get -1/-1 until end of turn. SVar:DBSurveil:DB$ Surveil | Amount$ 2 DeckHas:Ability$Surveil|Graveyard Oracle:All creatures get -1/-1 until end of turn.\nSurveil 2. (Look at the top two cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.) diff --git a/forge-gui/res/cardsfolder/m/mercadias_downfall.txt b/forge-gui/res/cardsfolder/m/mercadias_downfall.txt index 1357fb04b4c..e96db8869db 100644 --- a/forge-gui/res/cardsfolder/m/mercadias_downfall.txt +++ b/forge-gui/res/cardsfolder/m/mercadias_downfall.txt @@ -1,7 +1,7 @@ Name:Mercadia's Downfall ManaCost:2 R Types:Instant -A:SP$ RepeatEach | Cost$ 2 R | RepeatCards$ Creature.attacking | RepeatSubAbility$ DBPump | SpellDescription$ Each attacking creature gets +1/+0 until end of turn for each nonbasic land defending player controls. +A:SP$ RepeatEach | RepeatCards$ Creature.attacking | RepeatSubAbility$ DBPump | SpellDescription$ Each attacking creature gets +1/+0 until end of turn for each nonbasic land defending player controls. SVar:DBPump:DB$ Pump | Defined$ Remembered | NumAtt$ X SVar:X:Count$Valid Land.nonBasic+DefenderCtrlForRemembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/merchant_scroll.txt b/forge-gui/res/cardsfolder/m/merchant_scroll.txt index f5f3e016e24..2c630b6def4 100644 --- a/forge-gui/res/cardsfolder/m/merchant_scroll.txt +++ b/forge-gui/res/cardsfolder/m/merchant_scroll.txt @@ -1,6 +1,6 @@ Name:Merchant Scroll ManaCost:1 U Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Hand | ChangeType$ Instant.Blue | ChangeNum$ 1 | SpellDescription$ Search your library for a blue instant card, reveal that card, put it into your hand, then shuffle. +A:SP$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Instant.Blue | ChangeNum$ 1 | SpellDescription$ Search your library for a blue instant card, reveal that card, put it into your hand, then shuffle. AI:RemoveDeck:All Oracle:Search your library for a blue instant card, reveal that card, put it into your hand, then shuffle. diff --git a/forge-gui/res/cardsfolder/m/merciless_eviction.txt b/forge-gui/res/cardsfolder/m/merciless_eviction.txt index bb9af9d9e83..23d4921607c 100644 --- a/forge-gui/res/cardsfolder/m/merciless_eviction.txt +++ b/forge-gui/res/cardsfolder/m/merciless_eviction.txt @@ -1,7 +1,7 @@ Name:Merciless Eviction ManaCost:4 W B Types:Sorcery -A:SP$ Charm | Cost$ 4 W B | Choices$ ExileArtifact,ExileCreature,ExileEnchant,ExilePlaneswalker | CharmNum$ 1 +A:SP$ Charm | Choices$ ExileArtifact,ExileCreature,ExileEnchant,ExilePlaneswalker | CharmNum$ 1 SVar:ExileArtifact:DB$ ChangeZoneAll | ChangeType$ Artifact | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all artifacts. SVar:ExileCreature:DB$ ChangeZoneAll | ChangeType$ Creature | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all creatures. SVar:ExileEnchant:DB$ ChangeZoneAll | ChangeType$ Enchantment | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile all enchantments.