It is currently 16 Sep 2025, 23:18
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

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

Re: Card Contributions

Postby eidolon » 17 Apr 2011, 16:31

@Replika, no, I usually just put these together in a text editor.
And you are right, the blue Shoal is not working:
error msg | Open
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com


For input string: "Y"


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "Y"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at forge.Card.hasProperty(Card.java:2761)
at forge.Card.isValid(Card.java:2631)
at forge.Card.isValidCard(Card.java:2604)
at forge.card.abilityFactory.AbilityFactory_CounterMagic.matchesValid(AbilityFactory_CounterMagic.java:552)
at forge.card.abilityFactory.AbilityFactory_CounterMagic.matchSpellAbility(AbilityFactory_CounterMagic.java:539)
at forge.card.abilityFactory.AbilityFactory_CounterMagic.counterCanPlay(AbilityFactory_CounterMagic.java:268)
at forge.card.abilityFactory.AbilityFactory_CounterMagic.access$2(AbilityFactory_CounterMagic.java:260)
at forge.card.abilityFactory.AbilityFactory_CounterMagic$2.canPlay(AbilityFactory_CounterMagic.java:128)
at forge.GameAction.canPlaySpellAbility(GameAction.java:3294)
at forge.GameAction.playCard(GameAction.java:2679)
at forge.gui.input.Input_PassPriority.selectCard(Input_PassPriority.java:52)
at forge.GuiInput.selectCard(GuiInput.java:49)
at forge.GuiDisplay4$11.mousePressed(GuiDisplay4.java:393)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
eidolon
 
Posts: 56
Joined: 15 Sep 2009, 22:12
Location: Bavaria, Germany
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby lazylockie » 19 Apr 2011, 04:05

I've coded the following cards, based on r8109:

Chimeric Coils
Dragonsoul Knight
Ensouled Scimitar
Guardian Idol
Liquimetal Coating
Myr Landshaper
Opal Acrolith
Paragon of the Amesha
Scrapbasket
Sensei Golden-Tail
Still Life
Testament of Faith
Vastwood Animist
Veil of Birds
Veiled Apparition
Verdant Touch
Vivify
Woodwraith Corrupter

Still need to test them (probably tomorrow should be done), I'm just checking so no one makes duplicated codes. I'll edit this post with the cards later.

Edit: added the attachment with the cards, double checked and tested. The only issue is Sensei Golden-Tail, which has no TRAINING counter and I don't know if the Bushido 1s are stacking.
Attachments
animate.zip
(8.58 KiB) Downloaded 494 times
Last edited by lazylockie on 21 Apr 2011, 01:34, edited 1 time in total.
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: Card Contributions

Postby eidolon » 19 Apr 2011, 13:07

@jhhh: If Golgari Grave-Troll is in your graveyard and you reanimate it, it is supposed to get a counter for itself as well.
Maybe a changeszone trigger could solve that?
eidolon
 
Posts: 56
Joined: 15 Sep 2009, 22:12
Location: Bavaria, Germany
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby friarsol » 19 Apr 2011, 15:46

eidolon wrote:@jhhh: If Golgari Grave-Troll is in your graveyard and you reanimate it, it is supposed to get a counter for itself as well.
No. By the time it's entering the battlefield, it's no longer in your graveyard.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Sloth » 19 Apr 2011, 20:30

Added these cards earlier today:
- Belltower Sphinx, Betrayal of Flesh, Binding Agony and Blazing Shoal for eidolon.
- Golgari Grave-Troll and Idle Thoughts for jhhh.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby eidolon » 19 Apr 2011, 22:44

friarsol wrote:
eidolon wrote:@jhhh: If Golgari Grave-Troll is in your graveyard and you reanimate it, it is supposed to get a counter for itself as well.
No. By the time it's entering the battlefield, it's no longer in your graveyard.
Sure, but the number of creature cards in your graveyard get "locked in" while you cast the spell, so it gets a counter for itself, even if that sounds unintuitive.
Magiccards.info: http://magiccards.info/query?q=!Golgari%20Grave-Troll
WotC Gatherer: http://gatherer.wizards.com/Pages/Card/ ... seid=88960
Official Ravnika FAQ: http://www.wizards.com/dci/downloads/ra ... 005_en.doc
eidolon
 
Posts: 56
Joined: 15 Sep 2009, 22:12
Location: Bavaria, Germany
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby Sloth » 22 Apr 2011, 09:22

I've added Nourishing Shoal and Sickening Shoal for eidolon.

lazylockie wrote:I've coded the following cards, based on r8109:

Chimeric Coils
Dragonsoul Knight
Ensouled Scimitar
Guardian Idol
Liquimetal Coating
Myr Landshaper
Opal Acrolith
Paragon of the Amesha
Scrapbasket
Sensei Golden-Tail
Still Life
Testament of Faith
Vastwood Animist
Veil of Birds
Veiled Apparition
Verdant Touch
Vivify
Woodwraith Corrupter

Still need to test them (probably tomorrow should be done), I'm just checking so no one makes duplicated codes. I'll edit this post with the cards later.

Edit: added the attachment with the cards, double checked and tested. The only issue is Sensei Golden-Tail, which has no TRAINING counter and I don't know if the Bushido 1s are stacking.
I've added all of your cards, but Ensouled Scimitar (it should fall off if it becomes a creature while attached). I've added TRAINING counters for Sensei Golden-Tail (I'm working on the stacking issue).
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby ZzzzSleep » 22 Apr 2011, 22:31

Sloth wrote:Added Far Wanderings and Esperzoa for ZzzzSleep and Backlash and Bargaining Table for eidolon. Thanks again.
Did Explosive Growth get missed, or is there something wrong with how it's coded?
Also, is there a preferred format for listing these new cards? (e.g. All in a zip file, all in a single code section, each card in an individual section).

Thanks,
ZzzzSleep.
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Card Contributions

Postby Chris H. » 22 Apr 2011, 22:57

Listing the cards in a spoiler helps to let people look at the scripts and they can then comment on anything that looks amiss.

Attaching cards to the end of the message can save the few active devs some time and work as they add peoples cards.

The devs can get busy and preoccupied with other things and we can be forgetful. It does not hurt to ask if a card was accidentally or purposely not added.

I took a quick glance at the card. I do not have time to test it but it looks reasonable. It may have simply been overlooked.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Card Contributions

Postby eidolon » 24 Apr 2011, 23:37

Corrupt should get a note, that it gains you life equal to the number of Swamps and not equal to the number of damage dealt, which is relevant with protection, damage prevention spells, or cards that let sources deal some additional damage.

new cards:
Blood Frenzy
Blood Hound
Blood Speaker
new cards | Open
Code: Select all
Name:Blood Frenzy
ManaCost:1 R
Types:Instant
Text:no text
A:SP$Pump | Cost$ 1 R | ActivatingPhases$ Upkeep,Draw,Main1,BeginCombat,Declare Attackers - Play Instants and Abilities,Declare Blockers - Play Instants and Abilities | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature |  NumAtt$ +4 | NumDef$ +0 | KW$ At the beginning of the end step, destroy CARDNAME.  | SpellDescription$ Cast CARDNAME only before the combat damage step. Target attacking or blocking creature gets +4/+0 until end of turn. Destroy that creature at the beginning of the next end step.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_frenzy.jpg
SetInfo:TMP|Common|http://magiccards.info/scans/en/tp/164.jpg
End
Code: Select all
Name:Blood Hound
ManaCost:2 R
Types:Creature Hound
PT:1/1
T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many +1/+1 counters on CARDNAME.
SVar:TrigPutCounter: AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ X
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of your end step, remove all +1/+1 counters from CARDNAME.
SVar:TrigRemoveCounter: AB$ RemoveCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ All
SVar:X:Count$TriggeredDamageAmount
SVar:All:Count$CardCounters.P1P1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_hound.jpg
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/176.jpg
End
Code: Select all
Name:Blood Speaker
ManaCost:3 B
Types:Creature Ogre Shaman
Text:no text
PT:3/2
A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | Origin$ Library | Destination$ Hand |ChangeType$ Demon | ChangeNum$ 1 | ActivatingZone$ Battlefield | ActivatingPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ At the beginning of your upkeep, you may sacrifice CARDNAME. If you do, search your library for a Demon card, reveal that card, and put it into your hand. Then shuffle your library.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Demon.YouCtrl | TriggerZones$ Graveyard | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ Whenever a Demon enters the battlefield under your control, you may return CARDNAME from your graveyard to your Hand.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Hand
SVar:BuffedBy:Demon
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_speaker.jpg
SetInfo:CHK|Uncommon|http://magiccards.info/scans/en/chk/103.jpg
End
fixed cards
Nourishing Shoal (spell description)
Benevolent Bodyguard (creature -> creature you control)
Vedalken Shackles (the card is also considered untapped if it gets destroyed or leaves play. Source: http://www.wizards.com/Magic/TCG/Articl ... /fifthdawn)
All Suns' Dawn (added exile part)
Agonizing Demise (creature -> nonblack creature + pictures)
fixed cards | Open
Code: Select all
Name:Nourishing Shoal
ManaCost:X G G
Types:Instant Arcane
Text:no text
A:SP$ GainLife | Cost$ X G G | LifeAmount$ X | SpellDescription$ You gain X life.
A:SP$ GainLife | Cost$ ExileFromHand<1/Card.Green> | CostDesc$ You may exile a green card from your hand rather than pay CARDNAME's mana cost. | LifeAmount$ Y | SpellDescription$ You gain X life, where X is the exiled card's converted mana cost.
SVar:X:Count$xPaid
SVar:Y:Exiled$CardManaCost
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/nourishing_shoal.jpg
SetInfo:BOK|Rare|http://magiccards.info/scans/en/bok/137.jpg
End
Code: Select all
Name:Benevolent Bodyguard
ManaCost:W
Types:Creature Human Cleric
Text:no text
PT:1/1
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from white | SpellDescription$ Target creature you control gains protection from white until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from black | SpellDescription$ Target creature you control gains protection from black until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from blue | SpellDescription$ Target creature you control gains protection from blue until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from red | SpellDescription$ Target creature you control gains protection from red until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from green | SpellDescription$ Target creature you control gains protection from green until end of turn.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/benevolent_bodyguard.jpg
SetInfo:JUD|Common|http://magiccards.info/scans/en/ju/5.jpg
End
Code: Select all
Name:Vedalken Shackles
ManaCost:3
Types:Artifact
Text:no text
K:You may choose not to untap CARDNAME during your untap step.
A:AB$ GainControl | Cost$ 2 T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of Islands you control. | LoseControl$ Untap,LeavesPlay,LoseControl | SpellDescription$ Gain control of target creature with power less than or equal to the number of Islands you control for as long as CARDNAME remains tapped.
SVar:X:Count$TypeYouCtrl.Island
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_shackles.jpg
Code: Select all
Name:All Suns' Dawn
ManaCost:4 G
Types:Sorcery
Text:no text
A:SP$ChangeZone | Cost$ 4 G | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target white card in your graveyard | ValidTgts$ Card.White+YouCtrl | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnU | SpellDescription$ Return white green card from your graveyard to your hand.
SVar:ReturnU:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target blue card in your graveyard | ValidTgts$ Card.Blue+YouCtrl | TargetMin$ 0 | TargetMax$ 1 |SubAbility$ SVar=ReturnB | SpellDescription$ Return target blue card from your graveyard to your hand.
SVar:ReturnB:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target black card in your graveyard | ValidTgts$ Card.Black+YouCtrl |TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnR | SpellDescription$ Return target black card from your graveyard to your hand.
SVar:ReturnR:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target red card in your graveyard | ValidTgts$ Card.Red+YouCtrl |TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnG | SpellDescription$ Return target red card from your graveyard to your hand.
SVar:ReturnG:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target green card in your graveyard | ValidTgts$ Card.Green+YouCtrl | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=DBExile | SpellDescription$ Return target green card from your graveyard to your hand.
SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/all_suns_dawn.jpg
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/81.jpg
End
Code: Select all
Name:Agonizing Demise
ManaCost:3 B
Types:Instant
Text:no text
A:SP$ Destroy | Cost$ 3 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. If Agonizing Demise was kicked, it deals damage equal to that creature's power to the creature's controller.
A:SP$ Destroy | Cost$ 4 B R | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ SVar=DBDamage | SpellDescription$ Kicker 1 R (You may pay an additional 1 R as you cast this spell.)
SVar:DBDamage:DB$DealDamage | Cost$ 0 | Defined$ TargetedController| NumDmg$ X
SVar:X:Targeted$CardPower
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/agonizing_demise.jpg
SetInfo:INV|Common|http://magiccards.info/scans/en/in/92.jpg
End
eidolon
 
Posts: 56
Joined: 15 Sep 2009, 22:12
Location: Bavaria, Germany
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby ZzzzSleep » 02 May 2011, 11:58

Two new phyrexian cards
| Open
Name:Flameborn Viron
ManaCost:4 R R
Types:Creature Insect
Text:no text
PT:6/4
SVar:Rarity:Common
End

| Open
Name:Dementia Bat
ManaCost:4 B
Types:Creature Bat
Text:no text
PT:2/2
K:Flying
A:AB$ Discard | Cost$ Sac<1/CARDNAME> 4 B | ValidTgts$ Player | NumCards$ 2 | Mode$ TgtChoose | SpellDescription$ Target player discards two cards.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/dementia_bat.jpg
End

Edited for fixing spoiler tags.
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Card Contributions

Postby Sloth » 02 May 2011, 13:28

ZzzzSleep wrote:Did Explosive Growth get missed, or is there something wrong with how it's coded?
Also, is there a preferred format for listing these new cards? (e.g. All in a zip file, all in a single code section, each card in an individual section).

Thanks,
ZzzzSleep.
Now added.

ZzzzSleep wrote:Two new phyrexian cards
And added. Thanks ZzzzSleep.

eidolon wrote:Corrupt should get a note, that it gains you life equal to the number of Swamps and not equal to the number of damage dealt, which is relevant with protection, damage prevention spells, or cards that let sources deal some additional damage.

new cards:
Blood Frenzy
Blood Hound
Blood Speaker
new cards | Open
Code: Select all
Name:Blood Frenzy
ManaCost:1 R
Types:Instant
Text:no text
A:SP$Pump | Cost$ 1 R | ActivatingPhases$ Upkeep,Draw,Main1,BeginCombat,Declare Attackers - Play Instants and Abilities,Declare Blockers - Play Instants and Abilities | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature |  NumAtt$ +4 | NumDef$ +0 | KW$ At the beginning of the end step, destroy CARDNAME.  | SpellDescription$ Cast CARDNAME only before the combat damage step. Target attacking or blocking creature gets +4/+0 until end of turn. Destroy that creature at the beginning of the next end step.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_frenzy.jpg
SetInfo:TMP|Common|http://magiccards.info/scans/en/tp/164.jpg
End
Code: Select all
Name:Blood Hound
ManaCost:2 R
Types:Creature Hound
PT:1/1
T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many +1/+1 counters on CARDNAME.
SVar:TrigPutCounter: AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ X
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of your end step, remove all +1/+1 counters from CARDNAME.
SVar:TrigRemoveCounter: AB$ RemoveCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ All
SVar:X:Count$TriggeredDamageAmount
SVar:All:Count$CardCounters.P1P1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_hound.jpg
SetInfo:MMQ|Rare|http://magiccards.info/scans/en/mm/176.jpg
End
Code: Select all
Name:Blood Speaker
ManaCost:3 B
Types:Creature Ogre Shaman
Text:no text
PT:3/2
A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | Origin$ Library | Destination$ Hand |ChangeType$ Demon | ChangeNum$ 1 | ActivatingZone$ Battlefield | ActivatingPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ At the beginning of your upkeep, you may sacrifice CARDNAME. If you do, search your library for a Demon card, reveal that card, and put it into your hand. Then shuffle your library.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Demon.YouCtrl | TriggerZones$ Graveyard | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ Whenever a Demon enters the battlefield under your control, you may return CARDNAME from your graveyard to your Hand.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Hand
SVar:BuffedBy:Demon
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_speaker.jpg
SetInfo:CHK|Uncommon|http://magiccards.info/scans/en/chk/103.jpg
End
fixed cards
Nourishing Shoal (spell description)
Benevolent Bodyguard (creature -> creature you control)
Vedalken Shackles (the card is also considered untapped if it gets destroyed or leaves play. Source: http://www.wizards.com/Magic/TCG/Articl ... /fifthdawn)
All Suns' Dawn (added exile part)
Agonizing Demise (creature -> nonblack creature + pictures)
fixed cards | Open
Code: Select all
Name:Nourishing Shoal
ManaCost:X G G
Types:Instant Arcane
Text:no text
A:SP$ GainLife | Cost$ X G G | LifeAmount$ X | SpellDescription$ You gain X life.
A:SP$ GainLife | Cost$ ExileFromHand<1/Card.Green> | CostDesc$ You may exile a green card from your hand rather than pay CARDNAME's mana cost. | LifeAmount$ Y | SpellDescription$ You gain X life, where X is the exiled card's converted mana cost.
SVar:X:Count$xPaid
SVar:Y:Exiled$CardManaCost
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/nourishing_shoal.jpg
SetInfo:BOK|Rare|http://magiccards.info/scans/en/bok/137.jpg
End
Code: Select all
Name:Benevolent Bodyguard
ManaCost:W
Types:Creature Human Cleric
Text:no text
PT:1/1
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from white | SpellDescription$ Target creature you control gains protection from white until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from black | SpellDescription$ Target creature you control gains protection from black until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from blue | SpellDescription$ Target creature you control gains protection from blue until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from red | SpellDescription$ Target creature you control gains protection from red until end of turn.
A:AB$Pump | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Protection from green | SpellDescription$ Target creature you control gains protection from green until end of turn.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/benevolent_bodyguard.jpg
SetInfo:JUD|Common|http://magiccards.info/scans/en/ju/5.jpg
End
Code: Select all
Name:Vedalken Shackles
ManaCost:3
Types:Artifact
Text:no text
K:You may choose not to untap CARDNAME during your untap step.
A:AB$ GainControl | Cost$ 2 T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of Islands you control. | LoseControl$ Untap,LeavesPlay,LoseControl | SpellDescription$ Gain control of target creature with power less than or equal to the number of Islands you control for as long as CARDNAME remains tapped.
SVar:X:Count$TypeYouCtrl.Island
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_shackles.jpg
Code: Select all
Name:All Suns' Dawn
ManaCost:4 G
Types:Sorcery
Text:no text
A:SP$ChangeZone | Cost$ 4 G | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target white card in your graveyard | ValidTgts$ Card.White+YouCtrl | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnU | SpellDescription$ Return white green card from your graveyard to your hand.
SVar:ReturnU:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target blue card in your graveyard | ValidTgts$ Card.Blue+YouCtrl | TargetMin$ 0 | TargetMax$ 1 |SubAbility$ SVar=ReturnB | SpellDescription$ Return target blue card from your graveyard to your hand.
SVar:ReturnB:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target black card in your graveyard | ValidTgts$ Card.Black+YouCtrl |TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnR | SpellDescription$ Return target black card from your graveyard to your hand.
SVar:ReturnR:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target red card in your graveyard | ValidTgts$ Card.Red+YouCtrl |TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=ReturnG | SpellDescription$ Return target red card from your graveyard to your hand.
SVar:ReturnG:DB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target green card in your graveyard | ValidTgts$ Card.Green+YouCtrl | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ SVar=DBExile | SpellDescription$ Return target green card from your graveyard to your hand.
SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/all_suns_dawn.jpg
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/81.jpg
End
Code: Select all
Name:Agonizing Demise
ManaCost:3 B
Types:Instant
Text:no text
A:SP$ Destroy | Cost$ 3 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. If Agonizing Demise was kicked, it deals damage equal to that creature's power to the creature's controller.
A:SP$ Destroy | Cost$ 4 B R | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ SVar=DBDamage | SpellDescription$ Kicker 1 R (You may pay an additional 1 R as you cast this spell.)
SVar:DBDamage:DB$DealDamage | Cost$ 0 | Defined$ TargetedController| NumDmg$ X
SVar:X:Targeted$CardPower
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/agonizing_demise.jpg
SetInfo:INV|Common|http://magiccards.info/scans/en/in/92.jpg
End
All added! Thanks eidolon.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby jhhh » 02 May 2011, 19:22

Name:Mental Misstep
ManaCost:PU
Types:Instant
Text:no text
A:SP$ Counter | Cost$ U | Type$ Spell | CounterValid$ Card.cmcEQ1 | SpellDescription$ Counter target spell with converted mana cost 1.
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/nph/38.jpg
SetInfo:NPH|Uncommon|http://magiccards.info/scans/en/nph/38.jpg
End
jhhh
 
Posts: 58
Joined: 15 Oct 2010, 23:40
Has thanked: 0 time
Been thanked: 0 time

Re: Card Contributions

Postby Sloth » 02 May 2011, 19:49

jhhh wrote:
Name:Mental Misstep
ManaCost:PU
Types:Instant
Text:no text
A:SP$ Counter | Cost$ U | Type$ Spell | CounterValid$ Card.cmcEQ1 | SpellDescription$ Counter target spell with converted mana cost 1.
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/nph/38.jpg
SetInfo:NPH|Uncommon|http://magiccards.info/scans/en/nph/38.jpg
End
Added. Thanks jhhh.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby ZzzzSleep » 03 May 2011, 22:34

Looks like Priest of Urabrask is just a recoloured Priest of Gix, so I've added it to the wiki and here too.
Code: Select all
Name:Priest of Urabrask
ManaCost:2 R
Types:Creature Human Cleric
Text:no text
PT:2/1
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMana | TriggerDescription$ When CARDNAME enters the battlefield, add R R R to your mana pool.
SVar:TrigMana:AB$Mana | Cost$ 0 | Produced$ R | Amount$ 3
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/priest_of_urabrask.jpg
End
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 56 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 56 users online :: 0 registered, 0 hidden and 56 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 56 guests

Login Form