Innistrad Scripts
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Innistrad Scripts
by friarsol » 03 Sep 2011, 14:09
For those of you wanting to script some Innistrad cards based on the spoilers here how we like to do things:
Firstly, go here: http://www.slightlymagic.net/wiki/Forge_Upcoming and claim a handful of cards you would like to script based off the existing spoiler. Please add them in Alphabetical order, and not too many at a time.
Next, once the script is done, post it up on this thread in spoiler tags, so the other devs can spot check mistakes. Last time Chris volunteered to organize everything, but we shouldn't need to do that step. 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.
As usual, most of the stuff will work straight out of the box. The "fight" keyword won't since the damage needs to happen simultaneously. And obviously, the "transform" cards need work similar to "flip" cards before they can be done. But new sets usually provides some motivation to get things like that coded up.
Firstly, go here: http://www.slightlymagic.net/wiki/Forge_Upcoming and claim a handful of cards you would like to script based off the existing spoiler. Please add them in Alphabetical order, and not too many at a time.
Next, once the script is done, post it up on this thread in spoiler tags, so the other devs can spot check mistakes. Last time Chris volunteered to organize everything, but we shouldn't need to do that step. 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.
As usual, most of the stuff will work straight out of the box. The "fight" keyword won't since the damage needs to happen simultaneously. And obviously, the "transform" cards need work similar to "flip" cards before they can be done. But new sets usually provides some motivation to get things like that coded up.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Innistrad Scripts
by Sloth » 03 Sep 2011, 18:25
To get the ball roling:
Abbey Griffin
Abbey Griffin
- | Open
- Name:Abbey Griffin
ManaCost:3 W
Types:Creature Griffin
Text:no text
PT:2/2
K:Flying
K:Vigilance
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abbey_griffin.jpg
End
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by inb63 » 03 Sep 2011, 23:38
Forge is a great program, I started using it around a year ago and was amazed at the huge number of cards I could play with. Months later I was creating a custom set and scripted my first cards. It was so amazing for a guy with near zero programming experience see some of his babies work on Forge.
Anyways, I tested this card and it works
EDIT: not sure if this one is written 100% correctly, but it also works
The only problem I found with it is that when it dies, it only returns the most recent creature it took control of to its owner (I'm using the Forge 1.1.2 version)
EDIT 2:
Anyways, I tested this card and it works

- Dearly Departed | Open
- Name:Dearly Departed
ManaCost:4 W W
Types:Creature Spirit
Text:no text
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Human+YouCtrl | TriggerZones$ Graveyard | Static$ True | Execute$ TrigPutCounter | TriggerDescription$ As long as CARDNAME is in your graveyard, each Human creature you control enters the battlefield with an additional +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredCard | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/dearly_departed.jpg
End
EDIT: not sure if this one is written 100% correctly, but it also works
- Olivia Voldaren | Open
- Name:Olivia Voldaren
ManaCost:2 B R
Types:Legendary Creature Vampire
Text:no text
PT:3/3
K:Flying
A:AB$ DealDamage | Cost$ 1 R | ValidTgts$ Creature.Other | NumDmg$ 1 | SubAbility$ SVar=Animate | SpellDescription$ CARDNAME deas 1 damage to another target crature. That creature becomes a Vampire in addition to its other types. Put a +1/+1 counter on CARDNAME.
SVar:Animate:DB$Animate | Defined$ Targeted | Types$ Vampire | Permanent$ True | SubAbility$ SVar=PutCounter
SVar:PutCounter:DB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1
A:AB$ GainControl | Cost$ 3 B B | ValidTgts$ Creature.Vampire | TgtPrompt$ Select target vampire | LoseControl$ LeavesPlay,LoseControl | SpellDescription$ Gain control of target creature for as long as you control CARDNAME.
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/olivia_voldaren.jpg
End
The only problem I found with it is that when it dies, it only returns the most recent creature it took control of to its owner (I'm using the Forge 1.1.2 version)
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:31, edited 2 times in total.
Re: Innistrad Scripts
by ZzzzSleep » 04 Sep 2011, 06:39
To continue...
Bloodcrazed Neonate
Bloodcrazed Neonate
- Bloodcrazed Neonate | Open
- Name:Bloodcrazed Neonate
ManaCost:1 R
Types:Creature Vampire
Text:no text
PT:2/1
K:CARDNAME attacks each turn if able.
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:Common
End
Re: Innistrad Scripts
by Hellfish » 04 Sep 2011, 08:17
Hi! Welcome to the forum!inb63 wrote:Forge is a great program, I started using it around a year ago and was amazed at the huge number of cards I could play with. Months later I was creating a custom set and scripted my first cards. It was so amazing for a guy with near zero programming experience see some of his babies work on Forge.
Anyways, I tested this card and it works![]()
- Dearly Departed | Open
- Name:Dearly Departed
ManaCost:4 W W
Types:Creature Spirit
Text:no text
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Human+YouCtrl | TriggerZones$ Graveyard | Execute$ TrigPutCounter | TriggerDescription$ As long as CARDNAME is in your graveyard, each Human creature you control enters the battlefield with an additional +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredCard | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/dearly_departed.jpg
End
EDIT: not sure if this one is written 100% correctly, but it also works
- Olivia Voldaren | Open
- Name:Olivia Voldaren
ManaCost:2 B R
Types:Legendary Creature Vampire
Text:no text
PT:3/3
K:Flying
A:AB$ DealDamage | Cost$ 1 R | ValidTgts$ Creature.Other | NumDmg$ 1 | SubAbility$ SVar=Animate | SpellDescription$ CARDNAME deas 1 damage to another target crature. That creature becomes a Vampire in addition to its other types. Put a +1/+1 counter on CARDNAME.
SVar:Animate:DB$Animate | Defined$ Targeted | Types$ Vampire | Permanent$ True | SubAbility$ SVar=PutCounter
SVar:PutCounter:DB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1
A:AB$ GainControl | Cost$ 3 B B | ValidTgts$ Creature.Vampire | TgtPrompt$ Select target vampire | LoseControl$ LeavesPlay,LoseControl | SpellDescription$ Gain control of target creature for as long as you control CARDNAME.
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/olivia_voldaren.jpg
End
The only problem I found with it is that when it dies, it only returns the most recent creature it took control of to its owner (I'm using the Forge 1.1.2 version)

Dearly Departed's ability is technically not a trigger, but this script can be made functionally correct by adding the "Static$ True" parameter to the trigger line.
Olivia Voldaren is affected by a bug in the GainControl abilityfactory that is currently being looked into.
Thanks for the contributions! (And thanks to ZzzzSleep and Sloth as well!)
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Innistrad Scripts
by inb63 » 04 Sep 2011, 12:44
Thanks for the warm welcome!Hi! Welcome to the forum!
Dearly Departed's ability is technically not a trigger, but this script can be made functionally correct by adding the "Static$ True" parameter to the trigger line.
Olivia Voldaren is affected by a bug in the GainControl abilityfactory that is currently being looked into.
Thanks for the contributions! (And thanks to ZzzzSleep and Sloth as well!)

I edited my previous post to add that parameter to the trigger line in Dearly Departed. Thank you for the help!
EDIT: Mentor of the Meek
- Mentor of the Meek | Open
- Name:Mentor of the Meek
ManaCost:2 W
Types:Creature Human Soldier
Text:no text
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.powerLE2+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever another creature with power 2 or less enters the battlefield under your control, you may pay 1. If you do, draw a card.
SVar:TrigDraw:AB$Draw | Cost$ 1 | NumCards$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/mentor_of_the_meek.jpg
End
EDIT 2: Mikaeus, The Lunarch

- Mikaeus, The Lunarch | Open
- Name:Mikaeus, The Lunarch
ManaCost:X W
Types:Legendary Creature Human Cleric
Text:no text
PT:0/0
K:etbCounter:P1P1:X
SVar:X:Count$xPaid
A:AB$ PutCounter | Cost$ T | CounterType$ P1P1 | CounterNum$1 | SpellDescription$ Put a +1/+1 counter on CARDNAME.
A:AB$ PutCounterAll | Cost$ T SubCounter<1/P1P1> | ValidCards$ Creature.Other+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on each other creature you control.
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/mikaeus_the_lunarch.jpg
End
- Diregraf Ghoul | Open
- Name:Diregraf Ghoul
ManaCost:B
Types:Creature Zombie
Text:no text
PT:2/2
K:CARDNAME enters the battlefield tapped.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/diregraf_ghoul.jpg
End
- Invisible Stalker | Open
- Name:Invisible Stalker
ManaCost:1 U
Types:Creature Human Rogue
Text:no text
PT:1/1
K:Hexproof
K:Unblockable
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/invisible_stalker.jpg
End
- Stitcher's Apprentice | Open
- Name:Stitcher's Apprentice
ManaCost:1 U
Types:Creature Homunculus
Text:no text
PT:1/2
A:AB$ Token | Cost$ 1 U T | TokenImage$ U 2 2 Homunculus | TokenAmount$ 1 | TokenName$ Homunculus | TokenTypes$ Creature,Homunculus | TokenOwner$ You | TokenColors$ Blue | TokenPower$ 2 | TokenToughness$ 2 | SubAbility$ SVar=DBSac | SpellDescription$ Put a 2/2 blue Homunculus creature token onto the battlefield, then sacrifice a creature.
SVar:DBSac:DB$Sacrifice | SacValid$ Creature | Defined$ You | Amount$ 1
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/stitchers_apprentice.jpg
End
EDIT 3: This script of Devil's Play works sexily. I am pretty sure it is written 99% correctly. If someone has any feedback, it will be appreciated.
- Devil's Play | Open
- Name:Devil's Play
ManaCost:X R
Types:Sorcery
Text:no text
A:SP$ DealDamage | Cost$ X R | Tgt$ TgtCP | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature or player.
A:SP$ DealDamage | Cost$ X R R R | Tgt$ TgtCP | NumDmg$ Y | Flashback$ True | CostDesc$ Flashback - X R R R | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:X:Count$xPaid
SVar:Y:Count$xPaid
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/devils_play.jpg
End
EDIT 4:
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:34, edited 4 times in total.
Re: Innistrad Scripts
by ArsenalNut » 04 Sep 2011, 15:23
Here's the ones I've done so far
Edit 1:
Edit 2:
Edit 3:
Edit 4
Edit: Removed YouCtrl from SVar X for Hollowhenge Scavenger
- Creepy Doll | Open
- Name:Creepy Doll
ManaCost:5
Types:Artifact Creature Construct
Text:no text
PT:1/1
K:Indestructible
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | CombatDamage$ True | Execute$ TrigFlip | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a creature, flip a coin. If you win the flip, destroy that creature.
SVar:TrigFlip:AB$ FlipACoin | Cost$ 0 | Defined$ You | WinSubAbility$ DBDestroy
SVar:DBDestroy:DB$Destroy | Cost$ 0 | Defined$ TriggeredTarget | NoRegen$ False
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/creepy_doll.jpg
Oracle:Creepy Doll is indestructible. Whenever Creepy Doll deals combat damage to a creature, flip a coin. If you win the flip, destroy that creature.
End
- Clifftop Retreat | Open
- Name:Clifftop Retreat
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped unless you control a Mountain or a Plains.
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add W to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/clifftop_retreat.jpg
Oracle:Clifftop Retreat enters the battlefield tapped unless you control a Mountain or Plains.
End
- Hinterland Harbor | Open
- Name:Hinterland Harbor
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped unless you control a Forest or an Island.
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add G to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add U to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/hinterland_harbor.jpg
Oracle:Hinterland Harbor enters the battlefield tapped unless you control a Forest or Island.
End
- Isolated Chapel | Open
- Name:Isolated Chapel
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped unless you control a Plains or a Swamp.
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add W to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add B to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/isolated_chapel.jpg
Oracle:Isolated Chapel enters the battlefield tapped unless you control a Plains or Swamp.
End
- Sulfur Falls | Open
- Name:Sulfur Falls
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped unless you control an Island or a Mountain.
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add U to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sulfur_falls.jpg
Oracle:Sulfur Falls enters the battlefield tapped unless you control an Island or Mountain.
End
- Woodland Cemetery | Open
- Name:Woodland Cemetery
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped unless you control a Swamp or a Forest.
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add B to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add G to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/woodland_cemetery.jpg
Oracle:Woodland Cemetery enters the battlefield tapped unless you control a Swamp or Forest.
End
Edit 1:
- Spidery Grasp | Open
- Name:Spidery Grasp
ManaCost:2 G
Types:Instant
A:SP$ Untap | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature |SubAbility$ DBPump | SpellDescription$ Untap target creature. It gets +2/+4 and gains reach until end of turn.
SVar:DBPump:DB$ Pump | Cost$ 0 | Defined$ Targeted | NumAtt$ +2 | NumDef$ +4 | KW$ Reach
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/spidery_grasp.jpg
#SetInfo:ISD|Common|Empty
Oracle:Untap target creature. It gets +2/+4 and gains reach until end of turn.
End
- Travel Preparations | Open
- Name:Travel Preparations
ManaCost:1 G
Types:Sorcery
A:SP$ PutCounter | Cost$ 1 G | CounterNum$ 1 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creatures | SpellDescription$ Put a +1/+1 counter on each of up to two target creatures.
A:SP$ PutCounter | Cost$ 1 W | CounterNum$ 1 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creatures | Flashback$ True | CostDesc$ Flashback 1 W | 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/travel_preparations.jpg
#SetInfo:ISD|Common|Empty
Oracle:Put a +1/+1 counter on each of up to two target creatures.\nFlashback{W}
End
Edit 2:
- Bloodgift Demon | Open
- Name:Bloodgift Demon
ManaCost:3 B B
Types:Creature Demon
Text:no text
PT:5/4
K:Flying
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You |TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, target player draws a card and loses 1 life.
SVar:TrigDraw:AB$ Draw | Cost$ 0 | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBLoseLife
SVar:DBLoseLife:DB$ LoseLife | Cost$ 0 | Defined$ Targeted | LifeAmount$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodgift_demon.jpg
SetInfo:ISD|Rare|Empty
Oracle:At the beginning of your upkeep, target player draws a card and loses 1 life.
End
- Army of the Damned | Open
- Name:Army of the Damned
ManaCost:5 B B B
Types:Sorcery
Text:no text
A:SP$Token | Cost$ 5 B B B | TokenImage$ B 2 2 Zombie | TokenAmount$ 13 | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black | TokenTapped$ True | SpellDescription$ Put thirteen 2/2 black Zombie creature tokens onto the battlefield tapped.
A:SP$Token | Cost$ 7 B B B | TokenImage$ B 2 2 Zombie | TokenAmount$ 13 | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black | TokenTapped$ True | Flashback$ True | CostDesc$ Flashback 7 B B B | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/army_of_the_damned.jpg
SetInfo:ISD|Mythic|Empty
Oracle:Put thirteen 2/2 black Zombie creature tokens onto the battlefield tapped.\nFlashback{B}{B}{B}
End
Edit 3:
- Vampire Interloper | Open
- Name:Vampire Interloper
ManaCost:1 B
Types:Creature Vampire Scout
Text:no text
PT:2/1
K:Flying
K:CARDNAME can't block.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/vampire_interloper.jpg
End
- Village Cannibals | Open
- Name:Village Cannibals
ManaCost:2 B
Types:Creature Human
Text:no text
PT:2/2
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | ValidCard$ Card.Other+Human | Execute$ TrigPutCounter | TriggerDescription$ Whenever another Human creature dies, put a +1/+1 counter on CARDNAME.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/village_cannibals.jpg
End
Edit 4
- Angel of Flight Alabaster | Open
- Name:Angel of Flight Alabaster
ManaCost:4 W
Types:Creature Angel
Text:no text
PT:4/4
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You |TriggerZones$ Battlefield | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, return target Spirit card from your graveyard to your hand.
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | Mandatory$ True | TgtPrompt$ Select target Spirit card in your graveyard | ValidTgts$ Spirit.YouCtrl
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/angel_of_flight_alabaster.jpg
End
- Boneyard Wurm | Open
- Name:Boneyard Wurm
ManaCost:1 G
Types:Creature Wurm
Text:no text
PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 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/boneyard_wurm.jpg
End
- Fiend Hunter | Open
- Name:Fiend Hunter
ManaCost:1 W W
Types:Creature Human Cleric
Text:no text
PT:1/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, you may exile another target creature.
SVar:TrigExile:AB$ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ When CARDNAME leaves the battlefield, return the exiled card to the battlefield under its owner's control.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Origin$ Exile | Destination$ Battlefield | Defined$ Remembered
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/fiend_hunter.jpg
End
- Hollowhenge Scavenger | Open
- Name:Hollowhenge Scavenger
ManaCost:3 G G
Types:Creature Elemental
Text:no text
PT:4/5
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self |CheckSVar$ Morbid | SVarCompare$ GE1 | Execute$ TrigGainLife | TriggerDescription$ Morbid - When CARDNAME enters the battlefield, if a creature died this turn, you gain 5 life.
SVar:TrigGainLife:AB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 5
SVar:Morbid:Count$ThisTurnEntered Graveyard from Battlefield Creature
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/hollowhenge_scavenger.jpg
End
- Slayer of the Wicked | Open
- Name:Slayer of the Wicked
ManaCost:3 W
Types:Creature Human Soldier
Text:no text
PT:3/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestory | TriggerDescription$ When CARDNAME enters the battlefield, you may destroy target Vampire, Werewolf, or Zombie.
SVar:TrigDestory:AB$ Destroy | Cost$ 0 | ValidTgts$ Creature.Vampire,Creature.Werewolf,Creature.Zombie | TgtPrompt$ Select target Vampire, Werewolf, or Zombie
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/slayer_of_the_wicked.jpg
End
Edit: Removed YouCtrl from SVar X for Hollowhenge Scavenger
Last edited by ArsenalNut on 07 Sep 2011, 12:47, edited 7 times 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 inb63 » 05 Sep 2011, 10:43
The official three-letter code for Innistrad is ISDArsenalNut wrote:#SetInfo:IND|Common|Empty
Anyways, here is Balefire Dragon
- Balefire Dragon | Open
- Name:Balefire Dragon
ManaCost:5 R R
Types:Creature Dragon
Text:no text
PT:6/6
K:Flying
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, it deals that much damage to each creature that player controls.
SVar:TrigDamage:AB$ DamageAll | Cost$ 0 | NumDmg$ X | ValidCards$ Creature.YouDontCtrl
SVar:X:TriggerCount$DamageAmount
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/balefire_dragon.jpg
End
I also scripted Army of the Damned but was sad to find out it had already been taken =(
It was so awesome to get 13 zombies all at once


Its smaller cousin will have to do:
- Moan of the Unhallowed | Open
- Name:Moan of the Unhallowed
ManaCost:2 B B
Types:Sorcery
Text:no text
A:SP$ Token | Cost$ 2 B B | TokenImage$ B 2 2 Zombie | TokenAmount$ 2 | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenColors$ Black | TokenPower$ 2 | TokenToughness$ 2 | SpellDescription$ Put two 2/2 black Zombie creature tokens onto the battlefield.
A:SP$ Token | Cost$ 5 B B | TokenImage$ B 2 2 Zombie | TokenAmount$ 2 | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenColors$ Black | TokenPower$ 2 | TokenToughness$ 2 | Flashback$ True | CostDesc$ Flashback - 5 B B | 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/moan_of_the_unhallowed.jpg
End
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:35, edited 1 time in total.
Re: Innistrad Scripts
by Iran » 05 Sep 2011, 12:11
I make this script for Endless Ranks of the Dead . I'm not sure this is 100% correct.
How can i claim this card? I could not.
How can i claim this card? I could not.
- Code: Select all
Name:Endless Ranks of the Dead
Cost:2 B B
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$
At the beginning of your upkeep, put X 2/2 black zombie creature tokens onto the battlefield, where X is half the number of the zombies you control, rounded down.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenImage$ B 2 2 Zombie | TokenAmount$ X | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black
SVar:X:Count$Valid Creature.zombie+YouCtrl/HalfDown
End
Last edited by Iran on 05 Sep 2011, 20:09, edited 2 times in total.
Re: Innistrad Scripts
by Sloth » 05 Sep 2011, 12:26
The script looks good Iran. You have to log yourself in the wiki (Username and Password is the same as for this forum) to edit the page.Iran wrote:I make this script for Endless Ranks of the Dead . I'm not sure this is 100% correct.
How can i claim this card? I could not.
- Code: Select all
Name:Endless Ranks of the Dead
Cost:2 B B
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$
At the beginning of your upkeep, put X 2/2 black zombie creature tokens onto the battlefield, where X is half the number of the zombies you control, rounded down.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenImage$ B 2 2 Zombie | TokenAmount$ X | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black
SVar:X:Count$Valid Creature.zombie+YouCtrl/HalfDown
End
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by Iran » 05 Sep 2011, 13:27
- Spectral Rider | Open
- Name:Spectral Rider
ManaCost:W W
Types:Creature Spirit Knight
Text:no text
PT:2/2
K:Intimidate
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/spectral_rider.jpg
End
Last edited by Iran on 22 Sep 2011, 02:38, edited 1 time in total.
Re: Innistrad Scripts
by Max mtg » 05 Sep 2011, 13:32
Don't forget SetInfo line, card won't work without it
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Innistrad Scripts
by friarsol » 05 Sep 2011, 13:34
We have automated scripts to add the SetInfo line...Max mtg wrote:Don't forget SetInfo line, card won't work without it
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Innistrad Scripts
by Sloth » 05 Sep 2011, 13:35
SetInfo is not so important. We have a script that adds it to all cards where it's missing.Max mtg wrote:Don't forget SetInfo line, card won't work without it
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Innistrad Scripts
by Max mtg » 05 Sep 2011, 13:41
I want to point to a fact that the current version of forge will not include card into database used by quests and deckeditor unless setinfo is specified. Such card will also be impossible to load from deck.Sloth wrote:SetInfo is not so important. We have a script that adds it to all cards where it's missing.Max mtg wrote:Don't forget SetInfo line, card won't work without it
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Who is online
Users browsing this forum: No registered users and 18 guests