mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Updated the scripting of AltCost (in preparation of adding conditions).
This commit is contained in:
@@ -3,7 +3,7 @@ ManaCost:1 W W
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Destroy | Cost$ 1 W W | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment.
|
||||
SVar:AltCost:Discard<1/Plains>
|
||||
SVar:AltCost:Cost$ Discard<1/Plains>
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/abolish.jpg
|
||||
SetInfo:PCY|Uncommon|http://magiccards.info/scans/en/pr/1.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:1+*/1+*
|
||||
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of lands you control.
|
||||
SVar:X:Count$Valid Land.YouCtrl/Plus.1
|
||||
SVar:AltCost:ExileFromHand<2/Card.Green>$You may exile two green cards from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:AltCost:Cost$ ExileFromHand<2/Card.Green> | Description$ You may exile two green cards from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/allosaurus_rider.jpg
|
||||
SetInfo:CSP|Rare|http://magiccards.info/scans/en/cs/101.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Bringer
|
||||
Text:no text
|
||||
PT:5/5
|
||||
K:Trample
|
||||
SVar:AltCost:W U B R G
|
||||
SVar:AltCost:Cost$ W U B R G
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ At the beginning of your upkeep, you may pay 2 life. If you do, search your library for a card, then shuffle your library and put that card on top of it.
|
||||
SVar:TrigChange:AB$ChangeZone | Cost$ PayLife<2> | Origin$ Library | Destination$ Library | LibraryPosition$ 0 | ChangeType$ Card | ChangeNum$ 1
|
||||
SVar:RemAIDeck:True
|
||||
|
||||
@@ -6,7 +6,7 @@ PT:5/5
|
||||
K:Trample
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, you may draw two cards.
|
||||
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 2
|
||||
SVar:AltCost:W U B R G
|
||||
SVar:AltCost:Cost$ W U B R G
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/bringer_of_the_blue_dawn.jpg
|
||||
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/26.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Bringer
|
||||
Text:no text
|
||||
PT:5/5
|
||||
K:Trample
|
||||
SVar:AltCost:W U B R G
|
||||
SVar:AltCost:Cost$ W U B R G
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, you may put a 3/3 green Beast creature token onto the battlefield.
|
||||
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Beast | TokenTypes$ Creature,Beast | TokenOwner$ You | TokenColors$ Green | TokenPower$ 3 | TokenToughness$ 3
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Bringer
|
||||
Text:no text
|
||||
PT:5/5
|
||||
K:Trample
|
||||
SVar:AltCost:W U B R G
|
||||
SVar:AltCost:Cost$ W U B R G
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ At the beginning of your upkeep, you may untap target creature and gain control of it until end of turn. That creature gains haste until end of turn.
|
||||
SVar:TrigChange:AB$GainControl | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | Untap$ True | AddKWs$ Haste
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Bringer
|
||||
Text:no text
|
||||
PT:5/5
|
||||
K:Trample
|
||||
SVar:AltCost:W U B R G
|
||||
SVar:AltCost:Cost$ W U B R G
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ At the beginning of your upkeep, you may return target artifact card from your graveyard to the battlefield.
|
||||
SVar:TrigChange:AB$ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Artifact.YouCtrl | Cost$ 0
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:3 R R
|
||||
Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ DamageAll | Cost$ 3 R R | NumDmg$ 2 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player.
|
||||
SVar:AltCost:ExileFromHand<1/Card.Red>$You may exile a red card from your hand rather than pay Cave-In's mana cost.
|
||||
SVar:AltCost:Cost$ ExileFromHand<1/Card.Red> | Description$ You may exile a red card from your hand rather than pay Cave-In's mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/cave_in.jpg
|
||||
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/180.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Instant
|
||||
Text:no text
|
||||
A:SP$ PutCounter | Cost$ 3 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature (1) | CounterType$ M2M1 | CounterNum$ 1 | SubAbility$ SVar=DBPutCounter | IsCurse$ True | SpellDescription$ Distribute two -2/-1 counters among one or two target creatures.
|
||||
SVar:DBPutCounter:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature (2) | CounterType$ M2M1 | IsCurse$ True | CounterNum$ 1
|
||||
SVar:AltCost:PayLife<1> ExileFromHand<1/Card.Black>$You may pay 1 life and exile a black card from your hand rather than pay Contagion's mana cost.
|
||||
SVar:AltCost:Cost$ PayLife<1> ExileFromHand<1/Card.Black> | Description$ You may pay 1 life and exile a black card from your hand rather than pay Contagion's mana cost.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/contagion.jpg
|
||||
SVar:Rarity:Uncommon
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:2 R
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Destroy | Cost$ 2 R | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SpellDescription$ Destroy target artifact.
|
||||
SVar:AltCost:Sac<1/Mountain>
|
||||
SVar:AltCost:Cost$ Sac<1/Mountain>
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/crash.jpg
|
||||
SetInfo:MMQ|Common|http://magiccards.info/scans/en/mm/186.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Horror
|
||||
Text:no text
|
||||
PT:6/6
|
||||
K:Trample
|
||||
SVar:AltCost:Sac<3/Creature.Black>$You may sacrifice three black creatures rather than pay Delraich's mana cost.
|
||||
SVar:AltCost:Cost$ Sac<3/Creature.Black> | Description$ You may sacrifice three black creatures rather than pay Delraich's mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/delraich.jpg
|
||||
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/133.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:9/9
|
||||
K:Trample
|
||||
K:Flying
|
||||
SVar:AltCost:PayLife<6> Sac<3/Creature.Black>$You may pay 6 life and sacrifice three black creatures rather than pay Demon of Death's Gate's mana cost.
|
||||
SVar:AltCost:Cost$ PayLife<6> Sac<3/Creature.Black> | Description$ You may pay 6 life and sacrifice three black creatures rather than pay Demon of Death's Gate's mana cost.
|
||||
SVar:Rarity:Mythic
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/demon_of_deaths_gate.jpg
|
||||
SetInfo:M11|Mythic|http://magiccards.info/scans/en/m11/92.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:3 U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ TapAll | Cost$ 3 U | ValidCards$ Creature | SpellDescription$ Tap all creatures.
|
||||
SVar:AltCost:Return<2/Island>
|
||||
SVar:AltCost:Cost$ Return<2/Island>
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/ensnare.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add W to your mana pool.
|
||||
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add U to your mana pool.
|
||||
SVar:AltCost:1 Return<1/Land.Basic>$You may pay 1 and return a basic land you control to its owner's hand rather than pay Fieldmist Borderpost's mana cost.
|
||||
SVar:AltCost:Cost$ 1 Return<1/Land.Basic> | Description$ You may pay 1 and return a basic land you control to its owner's hand rather than pay Fieldmist Borderpost's mana cost.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/fieldmist_borderpost.jpg
|
||||
SetInfo:ARB|Common|http://magiccards.info/scans/en/arb/5.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:4 R R
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ DealDamage | Cost$ 4 R R | Tgt$ TgtCP | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature or player.
|
||||
SVar:AltCost:Sac<2/Mountain>
|
||||
SVar:AltCost:Cost$ Sac<2/Mountain>
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/fireblast.jpg
|
||||
SetInfo:VIS|Common|http://magiccards.info/scans/en/vi/79.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
|
||||
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add G to your mana pool.
|
||||
SVar:AltCost:1 Return<1/Land.Basic>$You may pay 1 and return a basic land you control to its owner's hand rather than pay Firewild Borderpost's mana cost.
|
||||
SVar:AltCost:Cost$ 1 Return<1/Land.Basic> | Description$ You may pay 1 and return a basic land you control to its owner's hand rather than pay Firewild Borderpost's mana cost.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/firewild_borderpost.jpg
|
||||
SetInfo:ARB|Common|http://magiccards.info/scans/en/arb/54.jpg
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Name:Foil
|
||||
ManaCost:2 U U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
|
||||
SVar:AltCost:Discard<1/Island> Discard<1/Card>$You may discard an Island card and another card rather than pay Foil's mana cost.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/foil.jpg
|
||||
SetInfo:PCY|Uncommon|http://magiccards.info/scans/en/pr/34.jpg
|
||||
Name:Foil
|
||||
ManaCost:2 U U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
|
||||
SVar:AltCost:Cost$ Discard<1/Island> Discard<1/Card> | Description$ You may discard an Island card and another card rather than pay Foil's mana cost.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/foil.jpg
|
||||
SetInfo:PCY|Uncommon|http://magiccards.info/scans/en/pr/34.jpg
|
||||
End
|
||||
@@ -3,7 +3,7 @@ ManaCost:3 U U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ Graveyard | SpellDescription$ Counter target spell.
|
||||
SVar:AltCost:PayLife<1> ExileFromHand<1/Card.Blue>$You may pay 1 life and exile a blue card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:AltCost:Cost$ PayLife<1> ExileFromHand<1/Card.Blue> | Description$ You may pay 1 life and exile a blue card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/force_of_will.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:4 U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Draw | Cost$ 4 U | NumCards$ 2 | SpellDescription$ Draw two cards.
|
||||
SVar:AltCost:Return<2/Island>
|
||||
SVar:AltCost:Cost$ Return<2/Island>
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/gush.jpg
|
||||
SetInfo:MMQ|Common|http://magiccards.info/scans/en/mm/82.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Eldrazi
|
||||
Text:no text
|
||||
PT:7/7
|
||||
K:Annihilator 1
|
||||
SVar:AltCost:Sac<4/Eldrazi.Spawn>$You may sacrifice four Eldrazi Spawn rather than pay Hand of Emrakul's mana cost.
|
||||
SVar:AltCost:Cost$ Sac<4/Eldrazi.Spawn> | Description$ You may sacrifice four Eldrazi Spawn rather than pay Hand of Emrakul's mana cost.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/hand_of_emrakul.jpg
|
||||
SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/5.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add U to your mana pool.
|
||||
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add B to your mana pool.
|
||||
SVar:AltCost:1 Return<1/Land.Basic>$You may pay 1 and return a basic land you control to its owner's hand rather than pay Mistvein Borderpost's mana cost.
|
||||
SVar:AltCost:Cost$ 1 Return<1/Land.Basic> | Description$ You may pay 1 and return a basic land you control to its owner's hand rather than pay Mistvein Borderpost's mana cost.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/mistvein_borderpost.jpg
|
||||
SetInfo:ARB|Common|http://magiccards.info/scans/en/arb/27.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ ChooseType | Cost$ 3 B | Defined$ You | Type$ Creature | SubAbility$ SVar=DBPumpAll | SpellDescription$ Choose a creature type. All creatures of that type get -1/-1 until end of turn.
|
||||
SVar:DBPumpAll:DB$PumpAll | ValidCards$ Creature.ChosenType | IsCurse$ True | NumAtt$ -1 | NumDef$ -1 | PumpAllDescription$ All creatures of that type get -1/-1 until end of turn.
|
||||
SVar:AltCost:Discard<1/Swamp>
|
||||
SVar:AltCost:Cost$ Discard<1/Swamp>
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/outbreak.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:4 R R
|
||||
Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ DestroyAll | Cost$ 4 R R | ValidCards$ Artifact | SpellDescription$ Destroy all artifacts.
|
||||
SVar:AltCost:Sac<2/Mountain>$You may sacrifice two Mountains rather than pay Pulverize's mana cost.
|
||||
SVar:AltCost:Cost$ Sac<2/Mountain> | Description$ You may sacrifice two Mountains rather than pay Pulverize's mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/pulverize.jpg
|
||||
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/207.jpg
|
||||
|
||||
@@ -6,7 +6,7 @@ A:SP$ DealDamage | Cost$ 4 R R | ValidTgts$ Creature | TgtPrompt$ Select target
|
||||
SVar:DBDamage2:DB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature (2) | NumDmg$ 1 | SubAbility$ SVar=DBDamage3
|
||||
SVar:DBDamage3:DB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature (3) | NumDmg$ 1 | SubAbility$ SVar=DBDamage4
|
||||
SVar:DBDamage4:DB$DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature (4) | NumDmg$ 1
|
||||
SVar:AltCost:ExileFromHand<1/Card.Red>$You may exile a red card from your hand rather than pay CARDNAME 's mana cost.
|
||||
SVar:AltCost:Cost$ ExileFromHand<1/Card.Red> | Description$ You may exile a red card from your hand rather than pay CARDNAME 's mana cost.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/pyrokinesis.jpg
|
||||
SVar:Rarity:Uncommon
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:4 B B
|
||||
Types:Artifact Creature Golem
|
||||
Text:no text
|
||||
PT:6/4
|
||||
SVar:AltCost:Sac<3/Artifact>$You may sacrifice three artifacts creatures rather than pay CARDNAME's mana cost.
|
||||
SVar:AltCost:Cost$ Sac<3/Artifact> | Description$ You may sacrifice three artifacts creatures rather than pay CARDNAME's mana cost.
|
||||
A:AB$ ChangeZone | Cost$ ExileFromGrave<3/Artifact> | Origin$ Graveyard | Destination$ Hand | Defined$ Self | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to your hand.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/salvage_titan.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:2 R
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature.
|
||||
SVar:AltCost:Sac<1/Mountain>
|
||||
SVar:AltCost:Cost$ Sac<1/Mountain>
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/thunderclap.jpg
|
||||
SetInfo:MMQ|Common|http://magiccards.info/scans/en/mm/219.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:2 U U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
|
||||
SVar:AltCost:Return<3/Island>
|
||||
SVar:AltCost:Cost$ Return<3/Island>
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/thwart.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:1 U
|
||||
Types:Instant
|
||||
Text:no text
|
||||
A:SP$ TapOrUntap | Cost$ 1 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ You may tap or untap target creature.
|
||||
SVar:AltCost:Return<1/Island>
|
||||
SVar:AltCost:Cost$ Return<1/Island>
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/tidal_bore.jpg
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:3 B
|
||||
Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ Discard | Cost$ 3 B | ValidTgts$ Player | Mode$ RevealYouChoose | DiscardValid$ Card.nonLand | NumCards$ 1 | SpellDescription$ Target player reveals his or her hand. You choose a nonland card from it. That player discards that card.
|
||||
SVar:AltCost:ExileFromHand<1/Card.Black>$You may exile one black card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:AltCost:Cost$ ExileFromHand<1/Card.Black> | Description$ You may exile one black card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/unmask.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add B to your mana pool.
|
||||
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
|
||||
SVar:AltCost:1 Return<1/Land.Basic>$You may pay 1 and return a basic land you control to its owner's hand rather than pay Firewild Veinfire Borderpost's mana cost.
|
||||
SVar:AltCost:Cost$ 1 Return<1/Land.Basic> | Description$ You may pay 1 and return a basic land you control to its owner's hand rather than pay Firewild Veinfire Borderpost's mana cost.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/veinfire_borderpost.jpg
|
||||
SetInfo:ARB|Common|http://magiccards.info/scans/en/arb/48.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:1/3
|
||||
K:Flash
|
||||
K:Forestwalk
|
||||
SVar:AltCost:ExileFromHand<1/Card.Green>$You may exile one green card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:AltCost:Cost$ ExileFromHand<1/Card.Green> | Description$ You may exile one green card from your hand rather than pay CARDNAME's mana cost.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/vine_dryad.jpg
|
||||
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/284.jpg
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
K:CARDNAME enters the battlefield tapped.
|
||||
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add G to your mana pool.
|
||||
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add W to your mana pool.
|
||||
SVar:AltCost:1 Return<1/Land.Basic>$You may pay 1 and return a basic land you control to its owner's hand rather than pay Wildfield Borderpost's mana cost.
|
||||
SVar:AltCost:Cost$ 1 Return<1/Land.Basic> | Description$ You may pay 1 and return a basic land you control to its owner's hand rather than pay Wildfield Borderpost's mana cost.
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/wildfield_borderpost.jpg
|
||||
SetInfo:ARB|Common|http://magiccards.info/scans/en/arb/80.jpg
|
||||
|
||||
@@ -4442,19 +4442,40 @@ public class CardFactoryUtil {
|
||||
}// Vanishing
|
||||
|
||||
// AltCost
|
||||
SpellAbility[] abilities = card.getSpellAbility();
|
||||
if (abilities.length > 0) {
|
||||
String altCost = card.getSVar("AltCost");
|
||||
String altCostDescription = "";
|
||||
String[] altCosts = altCost.split("\\$");
|
||||
if (!card.getSVar("AltCost").equals("")) {
|
||||
SpellAbility[] abilities = card.getSpellAbility();
|
||||
if (abilities.length > 0 && abilities[0].isSpell()) {
|
||||
String altCost = card.getSVar("AltCost");
|
||||
HashMap<String, String> mapParams = new HashMap<String, String>();
|
||||
String altCostDescription = "";
|
||||
String[] altCosts = altCost.split("\\|");
|
||||
|
||||
for (int aCnt = 0; aCnt < altCosts.length; aCnt++)
|
||||
altCosts[aCnt] = altCosts[aCnt].trim();
|
||||
|
||||
for (int i = 0; i < altCosts.length; i++) {
|
||||
String aa[] = altCosts[i].split("\\$");
|
||||
|
||||
if (altCosts.length > 1) {
|
||||
altCostDescription = altCosts[1];
|
||||
altCost = altCosts[0];
|
||||
}
|
||||
for (int aaCnt = 0; aaCnt < aa.length; aaCnt++)
|
||||
aa[aaCnt] = aa[aaCnt].trim();
|
||||
|
||||
SpellAbility sa = abilities[0];
|
||||
if (!altCost.equals("") && sa.isSpell()) {
|
||||
if (aa.length != 2) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("StaticEffectFactory Parsing Error: Split length of ");
|
||||
sb.append(altCosts[i]).append(" in ").append(card.getName()).append(" is not 2.");
|
||||
throw new RuntimeException(sb.toString());
|
||||
}
|
||||
|
||||
mapParams.put(aa[0], aa[1]);
|
||||
}
|
||||
|
||||
altCost = mapParams.get("Cost");
|
||||
|
||||
if (mapParams.containsKey("Description")) {
|
||||
altCostDescription = mapParams.get("Description");
|
||||
}
|
||||
|
||||
SpellAbility sa = abilities[0];
|
||||
SpellAbility altCostSA = sa.copy();
|
||||
|
||||
Cost abCost = new Cost(altCost, card.getName(), altCostSA.isAbility());
|
||||
@@ -4462,7 +4483,7 @@ public class CardFactoryUtil {
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if (altCosts.length > 1) {
|
||||
if (!altCostDescription.equals("")) {
|
||||
sb.append(altCostDescription);
|
||||
} else {
|
||||
sb.append("You may ").append(abCost.toStringAlt());
|
||||
@@ -4474,6 +4495,7 @@ public class CardFactoryUtil {
|
||||
card.addSpellAbility(altCostSA);
|
||||
}
|
||||
}
|
||||
|
||||
return card;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user