It is currently 10 Sep 2025, 19:59
   
Text Size

Innistrad Scripts

Post MTG Forge Related Programming Questions Here

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

Re: Innistrad Scripts

Postby Rob Cashwalker » 13 Sep 2011, 13:52

ArsenalNut wrote:Mostly my point is there needs to be a way to show the proper card text and image for these cards in the gui. If all the alternative information is buried in the script parameters of an ability line, then we have to parse the abilities to get the information. If you can come up with a scheme to encapsulate the data to make it easy to display the transformed state in the gui, then you could likely use this same scheme to pass the data to an Ability Factory to make the transformation.
We should see how the Oracle text will be handled for these cards, this may either cause new problems, or solve the problem... Shouldn't be too difficult if they do it like the existing split and flip cards.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Innistrad Scripts

Postby Sloth » 13 Sep 2011, 19:01

inb63 wrote:
Blasphemous Act | Open
Name:Blasphemous Act
ManaCost:8 R
Types:Sorcery
Text:no text
A:SP$ DamageAll | Cost$ 8 R | NumDmg$ 13 | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals 13 damage to each creature.
K:CostChange:Player:Less:X:Self:All:All:NoSpecial
SVar:X:Count$TypeOnBattlefield.Creature
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/blasphemous_act.jpg
End
The CostChange keyword doesn't generate a description, so you have to put it into the text line yourself.

inb63 wrote:
Rakish Heir | Open
Name:Rakish Heir
ManaCost:2 R
Types:Creature Vampire
Text:no text
PT:2/2
T:Mode$ DamageDone | ValidSource$ Vampire.YouCtrl | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Vampire you control deals combat damage to a player, put a +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredSource | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/rakish_heir.jpg
End

ZzzzSleep wrote:
"Falkenrath Marauders" | Open
Name:Falkenrath Marauders
ManaCost:3 R R
Types:Creature Vampire Warrior
Text:no text
PT:2/2
K:Flying
K:Haste
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put two +1/+1 counters on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2
SVar:Rarity:Rare
End

"Stromkirk Noble" | Open
Name:Stromkirk 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

"ValidTarget" should be "Player".
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 » 14 Sep 2011, 03:02

Sloth wrote:
inb63 wrote:
Blasphemous Act | Open
Name:Blasphemous Act
ManaCost:8 R
Types:Sorcery
Text:no text
A:SP$ DamageAll | Cost$ 8 R | NumDmg$ 13 | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals 13 damage to each creature.
K:CostChange:Player:Less:X:Self:All:All:NoSpecial
SVar:X:Count$TypeOnBattlefield.Creature
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/blasphemous_act.jpg
End
The CostChange keyword doesn't generate a description, so you have to put it into the text line yourself.

inb63 wrote:
Rakish Heir | Open
Name:Rakish Heir
ManaCost:2 R
Types:Creature Vampire
Text:no text
PT:2/2
T:Mode$ DamageDone | ValidSource$ Vampire.YouCtrl | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Vampire you control deals combat damage to a player, put a +1/+1 counter on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredSource | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/rakish_heir.jpg
End

ZzzzSleep wrote:
"Falkenrath Marauders" | Open
Name:Falkenrath Marauders
ManaCost:3 R R
Types:Creature Vampire Warrior
Text:no text
PT:2/2
K:Flying
K:Haste
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put two +1/+1 counters on it.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2
SVar:Rarity:Rare
End

"Stromkirk Noble" | Open
Name:Stromkirk 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

"ValidTarget" should be "Player".
Fixed and fixed :)
User avatar
inb63
 
Posts: 24
Joined: 03 Sep 2011, 23:28
Has thanked: 5 times
Been thanked: 3 times

Re: Innistrad Scripts

Postby Milod » 15 Sep 2011, 12:32

deranged assistant is buggy in game and champion of parish enters the field with 1/1 on ai side on his own
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: Innistrad Scripts

Postby ArsenalNut » 15 Sep 2011, 12:55

Milod wrote:deranged assistant is buggy in game and champion of parish enters the field with 1/1 on ai side on his own
Did you get the updated script for champion of parish? The original post was edited. I tested the latest script and it worked right for the AI.

What is the deranged assistant doing to be buggy? Could you describe the situation where it acted buggy?
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 » 15 Sep 2011, 13:07

To test Champion of Parish, I setup a deck with 1x Champion of Parish, 1x Devoted Retainer, 1x Mox Pearl, 4x Plains. In one hand of testing, the computer played Devoted Retainer then Champion of Parish. In another it played them the opposite order. Clearly, playing Champion of Parish first is better.

Should Champion of Parish have "BuffedBy:Human" and/or "PlayMain1:TRUE" ? Will either flag help the AI play this situation better? I don't know all the extra flags that help the AI play cards better and when to added them.
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 » 15 Sep 2011, 13:30

ArsenalNut wrote:Should Champion of Parish have "BuffedBy:Human" and/or "PlayMain1:TRUE" ? Will either flag help the AI play this situation better? I don't know all the extra flags that help the AI play cards better and when to added them.
Yes, it should have both.
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 » 16 Sep 2011, 07:30

more cards
One-Eyed Scarecrow | Open
Name:One-Eyed Scarecrow
ManaCost:3
Types:Artifact Creature Scarecrow
Text:no text
PT:2/3
K:Defender
S:Mode$ Continuous | Affected$ Creature.withFlying+YouDontCtrl | AddPower$ -1 | AddToughness$ 0 | Description$ Creatures with flying your opponents control get -1/-0.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/one_eyed_scarecrow.jpg
End

Heartless Summoning | Open
Name:Heartless Summoning
ManaCost:1 B
Types:Enchantment
Text:Creature spells you cast cost 2 less to cast.
K:CostChange:Player:Less:2:Spell:All:Creature:NoSpecial
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ -1 | AddToughness$ -1 | Description$ Creatures you control get -1/-1.
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/heartless_summoning.jpg
End

Sever the Bloodline | Open
Name:Sever the Bloodline
ManaCost:3 B
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 3 B | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ DBSearch | SpellDescription$ Exile target creature and all other creatures with the same name as that creature.
A:SP$ ChangeZone | Cost$ 5 B B | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ DBSearch | Flashback$ True | CostDesc$ Flashback 5 B B | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:DBSearch:DB$ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | Shuffle$ True | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/sever_the_bloodline.jpg
End

Claustrophobia | Open
Name:Claustrophobia
ManaCost:1 U U
Types:Enchantment Aura
K:Enchant creature
Text:no text
A:SP$ Attach | Cost$ 1 U U | ValidTgts$ Creature | AILogic$ KeepTapped
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature.
SVar:TrigTap:AB$ Tap | Cost$ 0 | Defined$ Enchanted
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/claustrophobia.jpg
End

Forbidden Alchemy | Open
Name:Forbidden Alchemy
ManaCost:2 U
Types:Instant
Text:no text
A:SP$ Dig | Cost$ 2 U | DigNum$ 4 | DestinationZone2$ Graveyard | SpellDescription$ Look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard.
A:SP$ Dig | Cost$ 6 B | DigNum$ 4 | DestinationZone2$ Graveyard | Flashback$ True | CostDesc$ Flashback 6 B | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/forbidden_alchemy.jpg
End

Frightful Delusion | Open
Name:Frightful Delusion
ManaCost:2 U
Types:Instant
Text:no text
A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 1 | SubAbility$ DBDiscard | SpellDescription$ Counter target spell unless its controller pays 1. That player discards a card.
SVar:DBDiscard:DB$ Discard | Defined$ TargetedController | NumCards$ 1 | Mode$ TgtChoose
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/frightful_delusion.jpg
End

Elder of Laurels | Open
Name:Elder of Laurels
ManaCost:2 G
Types:Creature Human Advisor
Text:no text
PT:2/3
A:AB$ Pump | Cost$ 3 G | NumAtt$ +X | NumDef$ +X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of creatures you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/elder_of_laurels.jpg
End

Geistflame | Open
Name:Geistflame
ManaCost:R
Types:Instant
Text:no text
A:SP$ DealDamage | Cost$ R | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
A:SP$ DealDamage | Cost$ 3 R | Tgt$ TgtCP | NumDmg$ 1 | Flashback$ True | CostDesc$ Flashback 3 R | 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/geistflame.jpg
End

Geist-Honored Monk | Open
Name:Geist-Honored Monk
ManaCost:3 W W
Types:Creature Human Monk
Text:no text
PT:*/*
K:Vigilance
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, put two 1/1 white Spirit creature tokens with flying onto the battlefield.
SVar:TrigToken:AB$ Token | Cost$ 0 | TokenImage$ W 1 1 Spirit | TokenAmount$ 2 | TokenName$ Spirit | TokenTypes$ Creature,Spirit | TokenOwner$ You | TokenPower$ 1 | TokenToughness$ 1 | TokenColors$ White | TokenKeywords$ Flying
SVar:X:Count$Valid Creature.YouCtrl
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/geist_honored_monk.jpg
End


Edited Heartless Summoning and Claustrophobia to make suggested changes
Last edited by ArsenalNut on 16 Sep 2011, 12:49, edited 2 times 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 Sloth » 16 Sep 2011, 07:41

ArsenalNut wrote:more cards
Heartless Summoning | Open
Name:Heartless Summoning
ManaCost:1 B
Types:Enchantment
Text:Creature spells you cast cost 2 less to cast.
K:CostChange:Player:Less:2:Spell:All:Creature:NoSpecial
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ -1 | AddToughness$ -1 | Description$ Creatures you control get -1/-1.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/heartless_summoning.jpg
End
Needs RemAIDeck SVar.

Claustrophobia | Open
Name:Claustrophobia
ManaCost:1 U U
Types:Enchantment Aura
K:Enchant creature
Text:no text
A:SP$ Attach | Cost$ 1 U U | ValidTgts$ Creature | IsCurse$ True
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature.
SVar:TrigTap:AB$ Tap | Cost$ 0 | Defined$ Enchanted
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/claustrophobia.jpg
End
AF Attach has a custom parameter "AILogic" that supports "KeepTapped".
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 » 16 Sep 2011, 12:45

Sloth wrote:
ArsenalNut wrote:Should Champion of Parish have "BuffedBy:Human" and/or "PlayMain1:TRUE" ? Will either flag help the AI play this situation better? I don't know all the extra flags that help the AI play cards better and when to added them.
Yes, it should have both.
Just added both.

EDIT: Really struggled with this one
Geist of Saint Traft | Open
Name:Geist of Saint Traft
ManaCost:1 W U
Types:Legendary Creature Spirit Cleric
Text:no text
PT:2/2
K:Hexproof
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, put a 4/4 white Angel creature token with flying onto the battlefield tapped and attacking. Exile that token at the end of combat.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenImage$ W 4 4 Angel | TokenAmount$ 1 | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | TokenTapped$ True | TokenAttacking$ True | TokenTriggers$ DelTrig | TokenSVars$ TrigExile
SVar:DelTrig:Mode$ Phase | Phase$ EndCombat | Execute$ TrigExile | TriggerDescription$ At end of combat, exile the Angel token.
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Battlefield | Destination$ Exile
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/geist_of_saint_traft.jpg
End

Sharpened Pitchfork | Open
Name:Sharpened Pitchfork
ManaCost:2
Types:Artifact Equipment
Text:Equipped creature has first strike.
K:eqPump 1:First Strike
S:Mode$ Continuous | Affected$ Card.EquippedBy+Human | AddPower$ 1 | AddToughness$ 1 | Description$ As long as equipped creature is a Human, it gets +1/+1.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sharpened_pitchfork.jpg
End

EDIT 2: Fixed Sharpened Pitchfork
Last edited by inb63 on 17 Sep 2011, 15:12, edited 2 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 ArsenalNut » 16 Sep 2011, 14:13

Another batch of cards

Falkenrath Noble | Open
Name:Falkenrath Noble
ManaCost:3 B
Types:Creature Vampire
Text:no text
PT:2/2
K:Flying
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME or another creature dies, target player loses 1 life and you gain 1 life.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLoseLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature dies, target player loses 1 life and you gain 1 life.
SVar:TrigLoseLife:AB$ LoseLife | Cost$ 0 | ValidTgts$ Player | TgtPrompt$ Choose a player | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/falkenrath_noble.jpg
End

Creeping Renaissance | Open
Name:Creeping Renaissance
ManaCost:3 G G
Types:Sorcery
Text:no text
A:SP$ ChooseType | Cost$ 3 G G | Defined$ You | Type$ Card | InvalidTypes$ Instant,Sorcery,Tribal | SubAbility$ DBReturn | SpellDescription$ Choose a permanent type. Return all cards of the chosen type from your graveyard to your hand.
A:SP$ ChooseType | Cost$ 5 G G | Defined$ You | Type$ Card | InvalidTypes$ Instant,Sorcery,Tribal | SubAbility$ DBReturn |Flashback$ True | CostDesc$ Flashback 5 G G | SpellDescription$ (You may cast this card from your graveyard for its flashback cost. Then exile it.)
SVar:DBReturn:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.ChosenType
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/creeping_renaissance.jpg
End

Darkthicket Wolf | Open
Name:Darkthicket Wolf
ManaCost:1 G
Types:Creature Wolf
Text:no text
PT:2/2
A:AB$ Pump | Cost$ 2 G | NumAtt$ +2 | NumDef$ +2 | ActivationLimit$ 1 | SpellDescription$ CARDNAME gets +2/+2 until end of turn. Activate this ability only once each turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/darkthicket_wolf.jpg
End

Splinterfright | Open
Name:Splinterfright
ManaCost:2 G
Types:Creature Elemental
Text:no text
PT:*/*
K:Trample
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.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, put the top two cards of your library into your graveyard.
SVar:TrigMill:AB$ Mill | Cost$ 0 | Defined$ You | NumCards$ 2
SVar:X:Count$TypeInYourYard.Creature
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/splinterfright.jpg
End

Feral Ridgewolf | Open
Name:Feral Ridgewolf
ManaCost:2 R
Types:Creature Wolf
Text:no text
PT:1/2
K:Trample
A:AB$ Pump | Cost$ 1 R | NumAtt$ +2 | NumDef$ +0 | SpellDescription$ CARDNAME gets +2/+0 until end of turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/feral_ridgewolf.jpg
End

Vampiric Fury | Open
Name:Vampiric Fury
ManaCost:1 R
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 1 R | NumAtt$ +2 | NumDef$ +0 | KW$ First Strike | ValidCards$ Creature.Vampire+YouCtrl | SpellDescription$ Vampire creatures you control get +2/+0 and gain first strike until end of turn.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/vampiric_fury.jpg
End

Full Moon's Rise | Open
Name:Full Moon's Rise
ManaCost:1 G
Types:Enchantment
Text:no text
S:Mode$ Continuous | Affected$ Creature.Werewolf+YouCtrl | AddPower$ 1 | AddToughness$ 0 | AddKeyword$ Trample | Description$ Werewolf creatures you control get +1/+0 and have trample.
A:AB$RegenerateAll | Cost$ Sac<1/CARDNAME> | ValidCards$ Creature.Werewolf+YouCtrl | SpellDescription$ Regenerate all Werewolf creatures you control.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/full_moons_rise.jpg
End


To test "Full Moon's Rise", I created a fake card that is a 1/1 Human Werewolf creature that can tranform to a 3/3 Werewolf until the end of turn. It's good for testing some of the cards that effect Werewolves. I can post it if other people want to use it, maybe to a different thread so it doesn't get mixed in with the official cards.
Last edited by ArsenalNut on 16 Sep 2011, 14:19, 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 » 16 Sep 2011, 14:17

inb63 wrote:
Sharpened Pitchfork | Open
Name:Sharpened Pitchfork
ManaCost:2
Types:Artifact Equipment
Text:Equipped creature has first strike.
K:eqPump 1:First Strike
S:Mode$ Continuous | Affected$ Card.EquippedBy+Human | AddPower$ 2 | AddToughness$ 2 | Description$ As long as equipped creature is a Human, it gets +1/+1.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sharpened_pitchfork.jpg
End
Sharpened Pitchfork should be adding +1/+1 not +2/+2
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 inb63 » 16 Sep 2011, 14:23

ArsenalNut wrote:
inb63 wrote:
Sharpened Pitchfork | Open
Name:Sharpened Pitchfork
ManaCost:2
Types:Artifact Equipment
Text:Equipped creature has first strike.
K:eqPump 1:First Strike
S:Mode$ Continuous | Affected$ Card.EquippedBy+Human | AddPower$ 2 | AddToughness$ 2 | Description$ As long as equipped creature is a Human, it gets +1/+1.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sharpened_pitchfork.jpg
End
Sharpened Pitchfork should be adding +1/+1 not +2/+2
Woops, my bad :oops:

EDIT: New cards, someone please commit them:
Doomed Traveler | Open
Name:Doomed Traveler
ManaCost:W
Types:Creature Human Soldier
Text:no text
PT:1/1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME dies, put a 1/1 white Spirit creature token with flying onto the battlefield.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenImage$ W 1 1 Spirit | TokenAmount$ 1 | TokenName$ Spirit | TokenTypes$ Creature,Spirit | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying
SVar:SacMe:1
SVar:Picture:http://www.wizards.com/global/images/magic/general/doomed_traveler.jpg
SVar:Rarity:Common
End

I based Doomed Traveler on Myr Sire. Should "Svar:SacMe:1" be kept in? What does it do exactly?
Rally the Peasants | Open
Name:Rally the Peasants
ManaCost:2 W
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | SpellDescription$ Creatures you control get +2/+0 until end of turn.
A:SP$ PumpAll | Cost$ 2 R | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | Flashback$ True | CostDesc$ Flashback - 2 R | 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/rally_the_peasants.jpg
End

Avacynian Priest | Open
Name:Avacynian Priest
ManaCost:1 W
Types:Creature Human Cleric
Text:no text
PT:1/2
A:AB$ Tap | Cost$ 1 T | ValidTgts$ Creature.nonHuman | TgtPrompt$ Select target non-Human creature | SpellDescription$ Tap target non-Human creature.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/avacynian_priest.jpg
End

Voiceless Spirit | Open
Name:Voiceless Spirit
ManaCost:2 W
Types:Creature Spirit
Text:no text
PT:2/1
K:Flying
K:First Strike
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/voiceless_spirit.jpg
End

Unburial Rites | Open
Name:Unburial Rites
ManaCost:4 B
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 4 B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Return target creature card from your graveyard to the battlefield.
A:SP$ ChangeZone | Cost$ 3 W | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | Flashback$ True | CostDesc$ Flashback - 3 W | 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/unburial_rites.jpg
End

Stensia Bloodhall | Open
Name:Stensia Bloodhall
ManaCost:no cost
Types:Land
Text:no text
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$ DealDamage | Cost$ 3 B R T | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/stensia_bloodhall.jpg
End

EDIT 2: Read in wiki what the "Svar:SacMe" does. Fun stuff.

EDIT 3:
Grave Bramble | Open
Name:Grave Bramble
ManaCost:1 G G
Types:Creature Plant
Text:no text
PT:3/4
K:Defender
K:Protection from Zombies
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/grave_bramble.jpg
End

Scourge of Geier Reach | Open
Name:Scourge of Geier Reach
ManaCost:3 R R
Types:Creature Elemental
Text:no text
PT:3/3
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each creature your opponents control.
SVar:X:Count$Valid Creature.YouDontCtrl
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/scourge_of_geier_reach.jpg
End

Fortress Crab | Open
Name:Fortress Crab
ManaCost:3 U
Types:Creature Crab
Text:no text
PT:1/6
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/fortress_crab.jpg
End

Markov Patrician | Open
Name:Markov Patrician
ManaCost:2 B
Types:Creature Vampire
Text:no text
PT:3/1
K:Lifelink
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/markov_patrician.jpg
End

Unbreathing Horde | Open
Name:Unbreathing Horde
ManaCost:2 B
Types:Creature Zombie
Text:no text
PT:0/0
K:etbCounter:P1P1:X
K:If damage would be dealt to CARDNAME, prevent that damage. Remove a +1/+1 counter from CARDNAME.
SVar:X:Count$Valid Zombie.YouCtrl+Other/Plus.Y
SVar:Y:Count$TypeInYourYard.Zombie
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/unbreathing_horde.jpg
Oracle:Unbreathing Horde enters the battlefield with a +1/+1 counter on it for each other Zombie you control and for each Zombie card in your graveyard.\nIf Unbreathing Horde would be dealt damage, prevent that damage and remove a +1/+1 counter from it.
End
Last edited by inb63 on 17 Sep 2011, 15:10, edited 2 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 ArsenalNut » 17 Sep 2011, 02:36

Finally found my bug in this one

Corpse Lunge | Open
Name:Corpse Lunge
ManaCost:2 B
Types:Instant
Text:no text
A:SP$ DealDamage | Cost$ 2 B ExileFromGrave<1/Creature> | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | CostDesc$ As an additional cost to cast CARDNAME, exile a creature card from your graveyard. | SpellDescription$ CARDNAME deals damage equal to the exiled card's power to target creature.
SVar:X:Exiled$CardPower
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/corpse_lunge.jpg
End
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 Milod » 17 Sep 2011, 20:38

if i add the endless ranks of the dead to cards.zip forge wont load further it hangs

and thnx for the cards contributions inb63 and all others
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 16 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 16 guests

Login Form