It is currently 07 Jun 2025, 20:44
   
Text Size

Innistrad Scripts

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Innistrad Scripts

Postby inb63 » 06 Sep 2011, 05:39

A blue/black legend!

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
Is that how cards of this type are supposed to work? Or is there another way?
EDIT:
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.
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.
Last edited by inb63 on 08 Sep 2011, 19:38, edited 1 time in total.
User avatar
inb63
 
Posts: 24
Joined: 03 Sep 2011, 23:28
Has thanked: 5 times
Been thanked: 3 times

Re: Innistrad Scripts

Postby slapshot5 » 06 Sep 2011, 12:29

inb63 wrote: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
Is that how cards of this type are supposed to work? Or is there another way?
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.

-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

Postby ZzzzSleep » 06 Sep 2011, 12:43

Sorry for the delay!
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
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Innistrad Scripts

Postby Sloth » 06 Sep 2011, 13:59

ArsenalNut wrote:Blazing Torch is a reprint from Odyssey so I am going to go ahead and check it into the repository.
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>.

EDIT: I just realized that we have the properties equipped and Equipped meaning two different things (what a mess).
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Innistrad Scripts

Postby ArsenalNut » 07 Sep 2011, 03:49

Sloth wrote:
ArsenalNut wrote:Blazing Torch is a reprint from Odyssey so I am going to go ahead and check it into the repository.
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>.

EDIT: I just realized that we have the properties equipped and Equipped meaning two different things (what a mess).
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
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Innistrad Scripts

Postby slapshot5 » 07 Sep 2011, 04:21

Here's Kessig Wolf Run, just saw it spoiled on Facebook:

| 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

Postby inb63 » 07 Sep 2011, 04:45

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:
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.
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.
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.
User avatar
inb63
 
Posts: 24
Joined: 03 Sep 2011, 23:28
Has thanked: 5 times
Been thanked: 3 times

Re: Innistrad Scripts

Postby Sloth » 07 Sep 2011, 06:47

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
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.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Innistrad Scripts

Postby Sloth » 07 Sep 2011, 06:58

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
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)
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Innistrad Scripts

Postby 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
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Innistrad Scripts

Postby ArsenalNut » 07 Sep 2011, 07:47

Sloth wrote:
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
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.
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".
So many cards, so little time
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Innistrad Scripts

Postby Sloth » 07 Sep 2011, 09:21

ArsenalNut wrote:
Sloth wrote:
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
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.
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".
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.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Innistrad Scripts

Postby inb63 » 07 Sep 2011, 11:18

Sloth 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)
Okay, changed the code :mrgreen:

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:
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.
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.
Last edited by inb63 on 08 Sep 2011, 19:40, edited 4 times in total.
User avatar
inb63
 
Posts: 24
Joined: 03 Sep 2011, 23:28
Has thanked: 5 times
Been thanked: 3 times

Re: Innistrad Scripts

Postby Sloth » 07 Sep 2011, 11:19

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
Little things:
Skirsdag Cultist is an uncommon
We use "Tap" for tap costs, Skirsdag High Priest uses {t}
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Innistrad Scripts

Postby friarsol » 07 Sep 2011, 12:03

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.
Why open a new bug? This should already be possible (I just haven't had the chance to write up docs about 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.
Also, you probably need a +YouCtrl in there in case your Torch gets stolen by the AI.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 32 guests


Who is online

In total there are 32 users online :: 0 registered, 0 hidden and 32 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 32 guests

Login Form