Page 3 of 86

Re: Card Contributions

PostPosted: 25 Jan 2011, 19:30
by timmermac
jhhh wrote:
Name:Lions Eye Diamond
ManaCost:0
Types:Artifact
Text:no text
A:AB$Mana|Cost$ Sac<1/CARDNAME> Discard<0/Hand> |Produced$W|Amount$3|SpellDescription$Add W W W to your mana pool.
A:AB$Mana|Cost$ Sac<1/CARDNAME> Discard<0/Hand> |Produced$U|Amount$3|SpellDescription$Add U U U to your mana pool.
A:AB$Mana|Cost$ Sac<1/CARDNAME> Discard<0/Hand> |Produced$B|Amount$3|SpellDescription$Add B B B to your mana pool.
A:AB$Mana|Cost$ Sac<1/CARDNAME> Discard<0/Hand> |Produced$R|Amount$3|SpellDescription$Add R R R to your mana pool.
A:AB$Mana|Cost$ Sac<1/CARDNAME> Discard<0/Hand> |Produced$G|Amount$3|SpellDescription$Add G G G to your mana pool.
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://magiccards.info/scans/en/mr/272.jpg
End
Name:Ghost Quarter
ManaCost:no cost
Types:Land
Text:no text
A:AB$Mana|Cost$T|Produced$1|SpellDescription$Add 1 to your mana pool.
A:AB$Destroy | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Land | TgtPrompt$ Select target land. | SubAbility$ SVar=DBChange | SpellDescription$ Destroy target land. Its controller may search his or her library for a basic land card, put it onto the battlefield, then shuffle his or her library.
SVar:DBChange:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | Optional$ True | ChangeType$ Land.Basic | ChangeNum$ 1 | Defined$ TargetedController
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/di/173.jpg
End
This should be Lion's Eye Diamond

Re: Card Contributions

PostPosted: 25 Jan 2011, 19:39
by friarsol
Lion's Eye Diamond needs some extra coding to work properly since it can only be activated as an Instant. (That is to say, if you are in the process of spending mana you can't activate it)

Re: Card Contributions

PostPosted: 26 Jan 2011, 22:23
by jhhh
Name:Trygon Predator
ManaCost:1 G U
Types:Creature Beast
Text:
PT:2/3
K:Flying
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | Optional$ True | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ Whenever Trygon Predator deals combat damage to a player, you may destroy target artifact or enchantment that player controls.
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Artifact.YouDontCtrl,Enchantment.YouDontCtrl | TgtPrompt$ Select target artifact or enchantment you don't control
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/di/133.jpg
End

Re: Card Contributions

PostPosted: 27 Jan 2011, 04:39
by lazylockie
Code: Select all
Name:Drana, Kalastria Bloodchief
ManaCost:3 B B
Types:Legendary Creature Vampire Shaman
Text:no text
PT:4/4
K:Flying
A:AB$Pump | Cost$ X | NumAtt$ 0 | NumDef$ -X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ SVar=DBPump | SpellDescription$ Target creature gets -0/-X until end of turn.
SVar:DBPump:DB$Pump | NumAtt$ X | Defined$ Self
SVar:X:Count$xPaid
SVar:Picture:http://www.wizards.com/global/images/magic/general/drana_kalastria_bloodchief.jpg
SVar:RemAIDeck:True
SVar:Rarity:Rare
SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/107.jpg
End

Re: Card Contributions

PostPosted: 27 Jan 2011, 04:41
by jeffwadsworth
@jhhh Card is posted with a few fixes. Thanks!

Re: Card Contributions

PostPosted: 27 Jan 2011, 05:13
by jeffwadsworth
@lazylockie, card was posted with a few tiny fixes. Thanks.

Re: Card Contributions

PostPosted: 27 Jan 2011, 06:12
by lazylockie
Code: Select all
Name:Lilting Refrain
ManaCost:1 U
Types:Enchantment
Text:no text
A:AB$Counter | Cost$ Sac<1/CARDNAME> | Type$ Spell | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays X.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/lilting_refrain.jpg
SVar:Rarity:Uncommon
SetInfo:USG|Uncommon|http://magiccards.info/scans/en/us/83.jpg
Code: Select all
Name:Recantation
ManaCost:3 U U
Types:Enchantment
Text:no text
A:AB$ChangeZone | Cost$ U Sac<1/CARDNAME> | Origin$ Battlefield | Destination$ Hand | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | SpellDescription$ Return X target permanents to their owners' hands.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/recantation.jpg
SVar:Rarity:Rare
SetInfo:USG|Rare|http://magiccards.info/scans/en/us/91.jpg
Code: Select all
Name:Rumbling Crescendo
ManaCost:3 R R
Types:Enchantment
Text:no text
A:AB$Destroy | Cost$ R Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select target land | SpellDescription$ Destroy X target lands.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/rumbling_crescendo.jpg
SVar:Rarity:Rare
SetInfo:USG|Rare|http://magiccards.info/scans/en/us/210.jpg
Code: Select all
Name:Serra's Liturgy
ManaCost:2 W W
Types:Enchantment
Text:no text
A:AB$Destroy | Cost$ W Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy X target artifacts and/or enchantments.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/serras_liturgy.jpg
SVar:Rarity:Rare
SetInfo:USG|Rare|http://magiccards.info/scans/en/us/49.jpg
Code: Select all
Name:Vile Requiem
ManaCost:2 B B
Types:Enchantment
Text:no text
A:AB$Destroy | Cost$ 1 B Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy X target nonblack creatures.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/vile_requiem.jpg
SVar:Rarity:Uncommon
SetInfo:USG|Uncommon|http://magiccards.info/scans/en/us/167.jpg
Code: Select all
Name:War Dance
ManaCost:G
Types:Enchantment
Text:no text
A:AB$Pump | Cost$ Sac<1/CARDNAME> | NumAtt$ +X | NumDef$ +X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +X/+X until end of turn.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VERSE | CounterNum$ 1
SVar:X:Count$CardCounters.VERSE
SVar:Picture:http://www.wizards.com/global/images/magic/general/war_dance.jpg
SVar:Rarity:Uncommon
SetInfo:USG|Uncommon|http://magiccards.info/scans/en/us/282.jpg
a few verse counters from Urza's Saga that were missing

Re: Card Contributions

PostPosted: 27 Jan 2011, 06:30
by jeffwadsworth
Great, I will test and post these on Thursday. Thanks!

Re: Card Contributions

PostPosted: 27 Jan 2011, 13:19
by jhhh
Name:Price of Progress
ManaCost:1 R
Types:Instant
Text:no text
A:SP$DealDamage | Cost$ 1 R | Defined$ Opponent | NumDmg$ XOpp | SubAbility$ SVar=DB | SpellDescription$ Price of Progress deals damage to each player equal to twice the number of nonbasic lands that player controls.
SVar:DB:DB$DealDamage | Defined$ You | NumDmg$ XYou
SVar:XOpp:Count$Valid Land.nonBasic+YouDontCtrl/Times.2
SVar:XYou:Count$Valid Land.nonBasic+YouCtrl/Times.2
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://magiccards.info/scans/en/pd2/18.jpg
End

Re: Card Contributions

PostPosted: 27 Jan 2011, 17:46
by jeffwadsworth
All cards posted. Please check for the few minor corrections made to them on the SVN.

Re: Card Contributions

PostPosted: 27 Jan 2011, 18:05
by slapshot5
Does anyone know why my Whetwheel crashes when implemented as:
Code: Select all
Name:Whetwheel
ManaCost:4
Types:Artifact
Text:no text
K:Morph:3
A:AB$Mill | Cost$ X X T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Target player puts the top X cards of his or her library into his or her graveyard.
SVar:X:Count$xPaid
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/whetwheel.jpg
End
It gives index out of range when parsing the X X T ability cost I believe. But other cards use X T for a cost and work fine, or at least used to. Two X's aren't supported?

-slapshot5

Re: Card Contributions

PostPosted: 27 Jan 2011, 18:18
by friarsol
slapshot5 wrote:It gives index out of range when parsing the X X T ability cost I believe. But other cards use X T for a cost and work fine, or at least used to. Two X's aren't supported?
Some bad logic in ManaCost.java. Should be fixed now. It was just working for me.

Re: Card Contributions

PostPosted: 27 Jan 2011, 20:54
by friarsol

Re: Card Contributions

PostPosted: 27 Jan 2011, 22:26
by lazylockie
Name:Conquering Manticore
ManaCost:4 R R
Types:Creature Manticore
Text:no text
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigThreaten | TriggerDescription$ When CARDNAME enters the battlefield, gain control of target creature an opponent controls until end of turn. Untap that creature. It gains haste until end of turn.
SVar:TrigThreaten:AB$GainControl | Cost$ 0 | TgtPrompt$ Choose target creature card you don't control | ValidTgts$ Creature.YouDontCtrl | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/conquering_manticore.jpg
SVar:Rarity:Rare
SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/139.jpg
End
Seems to be working. The only problem is that I couldn't make it target a creature an opponent controls only.

Name:Escaped Null
ManaCost:3 B
Types:Creature Zombie Berserker
Text:no text
PT:1/2
K:Lifelink
T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets +5/+0 until end of turn.
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets +5/+0 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 5
SVar:Picture:http://www.wizards.com/global/images/magic/general/escaped_null.jpg
SVar:Rarity:Uncommon
SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/109.jpg
End
Name:Kiln Fiend
ManaCost:1 R
Types:Creature Elemental Beast
Text:no text
PT:1/2
T:Mode$ SpellCast | ValidCard$ Instant.YouCtrl,Sorcery.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever you cast a instant or sorcery spell, CARDNAME gets +3/+0 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | NumAtt$ +3 | NumDef$ +0 | Defined$ Self
SVar:Picture:http://www.wizards.com/global/images/magic/general/kiln_fiend.jpg
SVar:Rarity:Common
SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/153.jpg
End
Name:Magmaw
ManaCost:3 R R
Types:Creature Elemental
Text:no text
PT:4/4
A:AB$DealDamage | Cost$ 1 Sac<1/Permanent.nonland> | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:Picture:http://www.wizards.com/global/images/magic/general/magmaw.jpg
SVar:Rarity:Rare
SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/158.jpg
End
Though when it prompts to sacrifice a nonland permanent it says: Sacrifice 1 Permanent.nonland

Name:Surrakar Spellblade
ManaCost:1 U U
Types:Creature Surrakar
Text:no text
PT:2/1
T:Mode$ SpellCast | ValidCard$ Instant.YouCtrl,Sorcery.YouCtrl | TriggerZones$ Battlefield | Optional$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a instant or sorcery spell, you may put a charge counter on CARDNAME.
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Optional$ True | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw X cards, where X is the number of charge counters on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ X
SVar:X:Count$CardCounters.CHARGE
SVar:Picture:http://www.wizards.com/global/images/magic/general/surrakar_spellblade.jpg
SVar:Rarity:Rare
SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/90.jpg
End
I'll edit this post as I make new cards.

Re: Card Contributions

PostPosted: 27 Jan 2011, 22:31
by friarsol
ValidTgts is much more flexible, and allows you to do things like that. Replace Tgt$ TgtC with:

Code: Select all
TgtPrompt$ Choose target creature card you don't control | ValidTgts$ Creature.YouDontCtrl