Innistrad Scripts
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Innistrad Scripts
by inb63 » 06 Sep 2011, 05:39
A blue/black legend!
I didn't know how to script "destroy target creature defending player controls" and instead used
EDIT:
- Grimgrin, Corpse-Born | Open
- Name:Grimgrin, Corpse-Born
ManaCost:3 U B
Types:Legendary Creature Zombie Warrior
Text:no text
PT:5/5
K:CARDNAME enters the battlefield tapped.
K:CARDNAME doesn't untap during your untap step.
A:AB$ Untap | Cost$ Sac<1/Creature.Other> | SubAbility$ SVar=DBPutCounter | SpellDescription$ Untap CARDNAME and put a +1/+1 counter on it.
SVar:DBPutCounter:DB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$1
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ Whenever CARDNAME attacks, destroy target creature defending player controls, then put a +1/+1 counter on CARDNAME.
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature | SubAbility$ SVar=DBPutCounter
SVar:DBPutCounter:DB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$1
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/grimgrin_corpse_born.jpg
End
I didn't know how to script "destroy target creature defending player controls" and instead used
- Code: Select all
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature
EDIT:
Seeing I don't even know what the word "commit" means, I probably dont have privileges to do such thing. I'll add this to every post I made with scripts.friarsol wrote:Each individual should commit their claimed scripts once magiccards.info has the spoiler up. If you want to script cards but don't have commit privileges, please mention that in the posting where you add a script, so we can know that someone will need to add them up for you.
Last edited by inb63 on 08 Sep 2011, 19:38, edited 1 time in total.
Re: Innistrad Scripts
by slapshot5 » 06 Sep 2011, 12:29
We have several cards that handle this exactly the way you did. I'm not sure it's perfect, but I think it's acceptable.inb63 wrote:I didn't know how to script "destroy target creature defending player controls" and instead usedIs that how cards of this type are supposed to work? Or is there another way?
- Code: Select all
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Innistrad Scripts
by ZzzzSleep » 06 Sep 2011, 12:43
Sorry for the delay!
Here's Stormkirk Noble!
Here's Stormkirk Noble!
- "Stormkirk Noble" | Open
- Name:Stormkirk Noble
ManaCost:R
Types:Creature Vampire
Text:CARDNAME can't be blocked Humans.
PT:1/1
K:CantBeBlockedBy Creature.Human
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Rare
End
Re: Innistrad Scripts
by Sloth » 06 Sep 2011, 13:59
The script of Blazing Torch is wrong. Currently it can be sacrificed without being equipped. You can make it work (almost) correctly if Blazing Torch is granting the ability to the equipped creature and the cost of the ability includes Sac<1/Card.Equipped+namedBlazing Torch>.ArsenalNut wrote:Blazing Torch is a reprint from Odyssey so I am going to go ahead and check it into the repository.
EDIT: I just realized that we have the properties equipped and Equipped meaning two different things (what a mess).
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by ArsenalNut » 07 Sep 2011, 03:49
I checked in a fixed version of Blazing Torch. I used Attached rather than equipped or Equipped. The card works but the text for the sacrifice prompt doesn't look very prettySloth wrote:The script of Blazing Torch is wrong. Currently it can be sacrificed without being equipped. You can make it work (almost) correctly if Blazing Torch is granting the ability to the equipped creature and the cost of the ability includes Sac<1/Card.Equipped+namedBlazing Torch>.ArsenalNut wrote:Blazing Torch is a reprint from Odyssey so I am going to go ahead and check it into the repository.
EDIT: I just realized that we have the properties equipped and Equipped meaning two different things (what a mess).
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Innistrad Scripts
by slapshot5 » 07 Sep 2011, 04:21
Here's Kessig Wolf Run, just saw it spoiled on Facebook:
-slapshot5
- | Open
- Name:Kessig Wolf Run
ManaCost:no cost
Types:Land
Text:no text
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$ Pump | Cost$ X R G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | KW$ Trample | SpellDescription$ Target creature gets +X/+0 and gains trample until end of turn.
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/kessig_wolf_run.jpg
End
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Innistrad Scripts
by inb63 » 07 Sep 2011, 04:45
Champion of the Parish
EDIT 2:
EDIT 3: Added "SVar:BuffedBy:Human" and "SVar:PlayMain1:TRUE" to Champion of the Parish.
- Champion of the Parish | Open
- Name:Champion of the Parish
ManaCost:W
Types:Creature Human Soldier
Text:no text
PT:1/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Human.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another Human enters the battlefield under your control, put a +1/+1 counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1
SVar:BuffedBy:Human
SVar:PlayMain1:TRUE
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/champion_of_the_parish.jpg
End
EDIT 2:
Seeing I don't even know what the word "commit" means, I probably dont have privileges to do such thing. I'll add this to every post I made with scripts.friarsol wrote:Each individual should commit their claimed scripts once magiccards.info has the spoiler up. If you want to script cards but don't have commit privileges, please mention that in the posting where you add a script, so we can know that someone will need to add them up for you.
EDIT 3: Added "SVar:BuffedBy:Human" and "SVar:PlayMain1:TRUE" to Champion of the Parish.
Last edited by inb63 on 16 Sep 2011, 12:44, edited 3 times in total.
Re: Innistrad Scripts
by Sloth » 07 Sep 2011, 06:47
Ah, I forgot about the good old Attached. If the generated text for a cost looks bad, you can use the "CostDesc$" parameter to replace it with a custom string.ArsenalNut wrote:I checked in a fixed version of Blazing Torch. I used Attached rather than equipped or Equipped. The card works but the text for the sacrifice prompt doesn't look very pretty
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by Sloth » 07 Sep 2011, 06:58
Just a little nit-picky detail: change the "ValidCard$" parameter to "Human.Other+YouCtrl" (then it won't trigger on itself and trigger on Tribal Human cards)inb63 wrote:Champion of the Parish
- Champion of the Parish | Open
- Name:Champion of the Parish
ManaCost:W
Types:Creature Human Soldier
Text:no text
PT:1/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Human+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another Human enters the battlefield under your control, put a +1/+1 counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/champion_of_the_parish.jpg
End
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by ArsenalNut » 07 Sep 2011, 07:41
- Battleground Geist | Open
- Name:Battleground Geist
ManaCost:4 U
Types:Creature Spirit
Text:no text
PT:3/3
K:Flying
S:Mode$ Continuous | Affected$ Creature.Spirit+Other+YouCtrl | AddPower$ 1 | AddToughness$ 0 | Description$ Other Spirit creatures you control get +1/+0.
SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/battleground_geist.jpg
End
- Grasp of Phantoms | Open
- Name:Grasp of Phantoms
ManaCost:3 U
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 3 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Put target creature on top of its owner's library.
A:SP$ ChangeZone | Cost$ 7 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | Flashback$ True | CostDesc$ Flashback - 7 U | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/grasp_of_phantoms.jpg
End
- Mindshrieker | Open
- Name:Mindshrieker
ManaCost:1 U
Types:Creature Spirit Bird
Text:no text
PT:1/1
K:Flying
A:AB$ Mill | Cost$ 2 | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 1 | SubAbility$ DBPump | RememberMilled$ True | SpellDescription$ Target player puts the top card of his or her library into his or her graveyard. Mindshrieker gets +X/+X until end of turn, where X is that card's converted mana cost.
SVar:DBPump:DB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/mindshrieker.jpg
End
- Reaper from the Abyss | Open
- Name:Reaper from the Abyss
ManaCost:3 B B B
Types:Creature Demon
Text:no text
PT:6/6
K:Flying
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ Morbid | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Morbid - At the beginning of each end step, if a creature died this turn, destroy target non-demon creature.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | ValidTgts$ Creature.nonDemon | TgtPrompt$ Select target non-demon creature
SVar:Morbid:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/reaper_from_the_abyss.jpg
End
- Silent Departure | Open
- Name:Silent Departure
ManaCost:U
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target creature to its owner's hand.
A:SP$ ChangeZone | Cost$ 4 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | Flashback$ True | CostDesc$ Flashback - 4 U | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/silent_departure.jpg
End
- Skirsdag Cultist | Open
- Name:Skirsdag Cultist
ManaCost:2 R R
Types:Creature Human Shaman
Text:no text
PT:2/2
A:AB$ DealDamage | Cost$ R T Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/skirsdag_cultist.jpg
End
- Skirsdag High Priest | Open
- Name:Skirsdag High Priest
ManaCost:1 B
Types:Creature Human Cleric
Text:no text
PT:1/2
A:AB$ Token | Cost$ T tapXType<2/Creature> | CheckSVar$ Morbid | SVarCompare$ GE1 | TokenImage$ B 5 5 Demon | TokenAmount$ 1 | TokenName$ Demon | TokenTypes$ Creature,Demon | TokenOwner$ You | TokenColors$ Black | TokenPower$ 5 | TokenToughness$ 5 | TokenKeywords$ Flying | CostDesc$ Morbid - Tap, tap two untapped creatures you control: | SpellDescription$ Put a 5/5 black Demon creature token with flying onto the battlefield. Activate this ability only if a creature died this turn.
SVar:Morbid:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/skirsdag_high_priest.jpg
End
- Spider Spawning | Open
- Name:Spider Spawning
ManaCost:4 G
Types:Sorcery
Text:no text
A:SP$ Token | Cost$ 4 G | TokenImage$ G 1 2 Spider | TokenAmount$ X | TokenName$ Spider | TokenTypes$ Creature,Spider | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 2 | TokenKeywords$ Reach | SpellDescription$ Put a 1/2 green Spider creature token with reach onto the battlefield for each creature card in your graveyard.
A:SP$ Token | Cost$ 6 B | TokenImage$ G 1 2 Spider | TokenAmount$ X | TokenName$ Spider | TokenTypes$ Creature,Spider | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 2 | TokenKeywords$ Reach | Flashback$ True | CostDesc$ Flashback - 6 B | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:X:Count$TypeInYourYard.Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/spider_spawning.jpg
End
- Wreath of Geists | Open
- Name:Wreath of Geists
ManaCost:G
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ G | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +X/+X, where X is the number of creature cards in your graveyard.
SVar:X:Count$TypeInYourYard.Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/wreath_of_geists.jpg
End
Edit: Fixed some copy and paste errors
Last edited by ArsenalNut on 08 Sep 2011, 02:20, edited 1 time in total.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Innistrad Scripts
by ArsenalNut » 07 Sep 2011, 07:47
Unfortunately, it's not the cost text that looks bad. It's the the prompt to sacrifice Blazing Torch. The prompt asks to sacrifice a "Card.Attached+namedBlazing Torch".Sloth wrote:Ah, I forgot about the good old Attached. If the generated text for a cost looks bad, you can use the "CostDesc$" parameter to replace it with a custom string.ArsenalNut wrote:I checked in a fixed version of Blazing Torch. I used Attached rather than equipped or Equipped. The card works but the text for the sacrifice prompt doesn't look very pretty
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Innistrad Scripts
by Sloth » 07 Sep 2011, 09:21
I will open a new issue for the cost prompt (we have this problem for a lot of non-standard costs). The cost description will appear on the equipped creature so it's worth to add it.ArsenalNut wrote:Unfortunately, it's not the cost text that looks bad. It's the the prompt to sacrifice Blazing Torch. The prompt asks to sacrifice a "Card.Attached+namedBlazing Torch".Sloth wrote:Ah, I forgot about the good old Attached. If the generated text for a cost looks bad, you can use the "CostDesc$" parameter to replace it with a custom string.ArsenalNut wrote:I checked in a fixed version of Blazing Torch. I used Attached rather than equipped or Equipped. The card works but the text for the sacrifice prompt doesn't look very pretty
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by inb63 » 07 Sep 2011, 11:18
Okay, changed the codeSloth wrote:Just a little nit-picky detail: change the "ValidCard$" parameter to "Human.Other+YouCtrl" (then it won't trigger on itself and trigger on Tribal Human cards)

I scripted Morkrut Banshee based on ArsenalNut's previous morbid cards and the whole bunch of Dismember / Grasp of Darkness / Disfigure cards:
- Morkrut Banshee | Open
- Name:Morkrut Banshee
ManaCost:3 B B
Types:Creature Spirit
Text:no text
PT:4/4
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigPump | TriggerDescription$ Morbid - When CARDNAME enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn.
SVar:TrigPump:AB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -4 | NumDef$ -4 | IsCurse$ True
SVar:X:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/morkrut_banshee.jpg
End
Just one question, what does the "IsCurse$ True" parameter do? I see it in negative pump spells/abilities but not in positive pump spells/abilities like Giant Growth.
EDIT 2:
Seeing I don't even know what the word "commit" means, I probably dont have privileges to do such thing. I'll add this to every post I made with scripts.friarsol wrote:Each individual should commit their claimed scripts once magiccards.info has the spoiler up. If you want to script cards but don't have commit privileges, please mention that in the posting where you add a script, so we can know that someone will need to add them up for you.
Last edited by inb63 on 08 Sep 2011, 19:40, edited 4 times in total.
Re: Innistrad Scripts
by Sloth » 07 Sep 2011, 11:19
Little things:ArsenalNut wrote:
- Battleground Geist | Open
- Name:Battleground Geist
ManaCost:4 U
Types:Creature Spirit
Text:no text
PT:3/3
K:Flying
S:Mode$ Continuous | Affected$ Creature.Spirit+Other+YouCtrl | AddPower$ 1 | AddToughness$ 0 | Description$ Other Spirit creatures you control get +1/+0.
SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/battleground_geist.jpg
End
- Grasp of Phantoms | Open
- Name:Grasp of Phantoms
ManaCost:3 U
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 3 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Put target creature on top of its owner's library.
A:SP$ ChangeZone | Cost$ 7 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | Flashback$ True | CostDesc$ Flashback - 7 U | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/grasp_of_phantoms.jpg
End
- Mindshrieker | Open
- Name:Mindshrieker
ManaCost:1 U
Types:Creature Spirit Bird
Text:no text
PT:1/1
K:Flying
A:AB$ Mill | Cost$ 2 | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 1 | SubAbility$ DBPump | RememberMilled$ True | SpellDescription$ Target player puts the top card of his or her library into his or her graveyard. Mindshrieker gets +X/+X until end of turn, where X is that card's converted mana cost.
SVar:DBPump:DB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/mindshrieker.jpg
End
- Reaper from the Abyss | Open
- Name:Reaper from the Abyss
ManaCost:3 B B B
Types:Creature Demon
Text:no text
PT:6/6
K:Flying
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ Morbid | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Morbid - At the beginning of each end step, if a creature died this turn, destroy target non-demon creature.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | ValidTgts$ Creature.nonDemon | TgtPrompt$ Select target non-demon creature
SVar:Morbid:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/reaper_from_the_abyss.jpg
End
- Silent Departure | Open
- Name:Silent Departure
ManaCost:U
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target creature to its owner's hand.
A:SP$ ChangeZone | Cost$ 4 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | Flashback$ True | CostDesc$ Flashback - 4 U | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/silent_departure.jpg
End
- Skirsdag Cultist | Open
- Name:Skirsdag Cultist
ManaCost:2 R R
Types:Creature Human Shaman
Text:no text
PT:2/2
A:AB$ DealDamage | Cost$ R T Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/skirsdag_cultist.jpg
End
- Skirsdag High Priest | Open
- Name:Skirsdag High Priest
ManaCost:1 B
Types:Creature Human Cleric
Text:no text
PT:1/2
A:AB$ Token | Cost$ T tapXType<2/Creature> | CheckSVar$ Morbid | SVarCompare$ GE1 | TokenImage$ B 5 5 Demon | TokenAmount$ 1 | TokenName$ Demon | TokenTypes$ Creature,Demon | TokenOwner$ You | TokenColors$ Black | TokenPower$ 5 | TokenToughness$ 5 | TokenKeywords$ Flying | CostDesc$ Morbid - {t}, tap two untapped creatures you control: | SpellDescription$ Put a 5/5 black Demon creature token with flying onto the battlefield. Activate this ability only if a creature died this turn.
SVar:Morbid:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/skirsdag_high_priest.jpg
End
- Spider Spawning | Open
- Name:Spider Spawning
ManaCost:4 G
Types:Sorcery
Text:no text
A:SP$ Token | Cost$ 4 G | TokenImage$ G 1 2 Spider | TokenAmount$ X | TokenName$ Spider | TokenTypes$ Creature,Spider | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 2 | TokenKeywords$ Reach | SpellDescription$ Put a 1/2 green Spider creature token with reach onto the battlefield for each creature card in your graveyard.
A:SP$ Token | Cost$ 6 B | TokenImage$ G 1 2 Spider | TokenAmount$ X | TokenName$ Spider | TokenTypes$ Creature,Spider | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 2 | TokenKeywords$ Reach | Flashback$ True | CostDesc$ Flashback - 6 B | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:X:Count$TypeInYourYard.Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/spider_spawning.jpg
End
- Wreath of Geists | Open
- Name:Wreath of Geists
ManaCost:G
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ G | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +X/+X, where X is the number of creature cards in your graveyard.
SVar:X:Count$TypeInYourYard.Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/wreath_of_geists.jpg
End
Skirsdag Cultist is an uncommon
We use "Tap" for tap costs, Skirsdag High Priest uses {t}
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by friarsol » 07 Sep 2011, 12:03
Why open a new bug? This should already be possible (I just haven't had the chance to write up docs about it).Sloth wrote:I will open a new issue for the cost prompt (we have this problem for a lot of non-standard costs). The cost description will appear on the equipped creature so it's worth to add it.
Try it like this:
- Code: Select all
SVar:TorchDamage:AB$ DealDamage | Cost$ T Sac<1/Card.Attached+namedBlazing Torch/Equipped Blazing Torch> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target creature or player | NumDmg$ 2 | DamageSource$ Sacrificed | SpellDescription$ Blazing Torch deals 2 damage to target creature or player.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Who is online
Users browsing this forum: MelindaWromo and 55 guests