Page 3 of 4

Re: Magic 2012 Card Contributions

PostPosted: 04 Jul 2011, 14:20
by slapshot5
ZzzzSleep wrote:I don't think that Primordial Hydra is doable at the moment, as it needs to define about three different things for X (mana cost, x > 10 and x to double the counters).
Using the latest SVN, use X for etbCounter, use Y for stPumpSelf in Card.countersGEYP1P1, and use Z in the AB$ PutCounter | CounterNum$ Z

That should work. (I think.)

-slapshot5

Re: Magic 2012 Card Contributions

PostPosted: 04 Jul 2011, 22:37
by ZzzzSleep
slapshot5 wrote:
ZzzzSleep wrote:I don't think that Primordial Hydra is doable at the moment, as it needs to define about three different things for X (mana cost, x > 10 and x to double the counters).
Using the latest SVN, use X for etbCounter, use Y for stPumpSelf in Card.countersGEYP1P1, and use Z in the AB$ PutCounter | CounterNum$ Z
Thanks! If nobody else does it in the meantime, I'll have a look when the next beta is released.

Benalish Veteran
| Open
Name:Benalish Veteran
ManaCost:2 W
Types:Creature Human Soldier
Text:no text
PT:2/2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 1 | NumDef$ 1
SVar:Rarity:Common
End

Guardians' Pledge
| Open
Name:Guardians' Pledge
ManaCost:1 W W
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 1 W W | ValidCards$ Creature.White+YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ White creatures you control get +2/+2 until end of turn.
SVar:Rarity:Common
End

I haven't tested these, but it should be okay as it's just a reskinned Soltari Trooper and a reskinned Morale.

Re: Magic 2012 Card Contributions

PostPosted: 04 Jul 2011, 23:01
by Chris H.
ZzzzSleep wrote:Benalish Veteran
| Open
Name:Benalish Veteran
ManaCost:2 W
Types:Creature Human Soldier
Text:no text
PT:2/2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 1 | NumDef$ 1
SVar:Rarity:Common
End

Guardians' Pledge
| Open
Name:Guardians' Pledge
ManaCost:1 W W
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 1 W W | ValidCards$ Creature.White+YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ White creatures you control get +2/+2 until end of turn.
SVar:Rarity:Common
End

I haven't tested these, but it should be okay as it's just a reskinned Soltari Trooper and a reskinned Morale.
`
Thank you ZzzzSleep.

Re: Magic 2012 Card Contributions

PostPosted: 06 Jul 2011, 15:39
by Starcrash
Adaptive Automaton
| Open
Name:Adaptive Automaton
ManaCost:3
Types:Artifact Creature Construct
Text:no text
PT:2/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type.
SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature
K:stPumpSelf:Creature:0/0/Types=ChosenType:No Condition:CARDNAME is the chosen type in addition to its other types.
K:stPumpAll:Creature.ChosenType+Other+YouCtrl:+1/+1:No Condition:Other creatures you control of the chosen type get +1/+1.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/adaptive_automaton.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/201.jpg
End

Re: Magic 2012 Card Contributions

PostPosted: 06 Jul 2011, 16:35
by Chris H.
Starcrash wrote:Adaptive Automaton
| Open
Name:Adaptive Automaton
ManaCost:3
Types:Artifact Creature Construct
Text:no text
PT:2/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type.
SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature
K:stPumpSelf:Creature:0/0/Types=ChosenType:No Condition:CARDNAME is the chosen type in addition to its other types.
K:stPumpAll:Creature.ChosenType+Other+YouCtrl:+1/+1:No Condition:Other creatures you control of the chosen type get +1/+1.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/adaptive_automaton.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/201.jpg
End
`
Thank you Starcrash.

Re: Magic 2012 Card Contributions

PostPosted: 06 Jul 2011, 16:49
by friarsol
Any card that is "As ~ ETB", is not a Trigger. It's a Static Effect.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 05:53
by Starcrash
Master Thief
| Open
Name:Master Thief
ManaCost:2 U U
Types:Creature Human Rogue
Text:no text
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, gain control of target artifact for as long as you control CARDNAME.
SVar:TrigChange:AB$GainControl | Cost$ 0 | TgtPrompt$ Choose target artifact | ValidTgts$ Artifact | LoseControl$ LeavesPlay, LoseControl | SpellDescription$ Gain control of target artifact for as long as you control CARDNAME.
SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/master_thief.jpg
SetInfo:M12|Uncommon|http://magiccards.info/scans/en/m12/64.jpg
End


Primordial Hydra
| Open
Name:Primordial Hydra
ManaCost:X G G
Types:Creature Hydra
Text:no text
PT:0/0
K:etbCounter:P1P1:X
K:stPumpSelf:Creature.countersGT9P1P1:0/0/Trample:No Condition:CARDNAME has trample as long as it has ten or more +1/+1 counters on it.
SVar:X:Count$xPaid
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDoubleCounters | TriggerDescription$ At the beginning of your upkeep, double the number of +1/+1 counters on CARDNAME.
SVar:TrigDoubleCounters:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ Double
SVar:Double:Count$CardCounters.P1P1
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/primordial_hydra.jpg
SetInfo:M12|Mythic|http://magiccards.info/scans/en/m12/189.jpg
End


friarsol wrote:Any card that is "As ~ ETB", is not a Trigger. It's a Static Effect.
Are you trying to pick a fight with me? I took the code straight from Brass Herald, which was approved without complaint.

Yes, I've looked at the rulebook (http://www.wizards.com/magic/comprules/ ... 110617.txt). It isn't a trigger (which would begin with When, Whenever, or At) but it isn't a static ability. According to the rules, a static ability is continually applied, which would make a one-time choice something other than static. It's actually a replacement effect, and though it doesn't "trigger", it does pass priority, so for our purposes here it works just fine.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 10:03
by Hellfish
Brass Herald is probably a mistake, we've had quite a few instances of that kind of thing before. I believe the new StaticAbility-Factory will address this at some point.
Code: Select all
603.6e. Some permanents have text that reads "[This permanent] enters the battlefield with... ," "As [this permanent] enters the battlefield... ," "[This permanent] enters the battlefield as... ," or "[This permanent] enters the battlefield tapped." Such text is a static ability--not a triggered ability--whose effect occurs as part of the event that puts the permanent onto the battlefield.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 12:01
by friarsol
Starcrash wrote:Are you trying to pick a fight with me? I took the code straight from Brass Herald, which was approved without complaint.
Nope not with you. Just don't want any cards that are wrong, I tend to be very strict when it comes to that. But I don't have time to look over every single card that gets committed.

If I had noticed Brass Herald before it was committed I would have complained about that too. And as hellfish states above me, it is a static ability. There are many types of Static Abilities, not just Continuous ones.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 12:29
by Chris H.
I was never very strong in understanding the rules. I am trying to be helpful by moving the submissions into a single message. This topic is already 3 pages long and in the past some of the submissions were lost as new messages were posted.

I would like to thank everyone for the their time and help. Like Hellfish said, unintentional mistakes at times slip through the cracks and we try to fix them as quickly as we can. :) The new StaticAbility-Factory will be a welcome addition and will make scripting cards far easier.

I will remove Adaptive Automaton from the first message for the moment.

And once again I would like to apologize for not being able to examine each and every submission in great detail. I did find one with a missing "End" and added that when I noticed. I do appreciate any notices in reference to any problems that there may be in the submissions.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 12:38
by Chris H.
Starcrash wrote:Master Thief
| Open
Name:Master Thief
ManaCost:2 U U
Types:Creature Human Rogue
Text:no text
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, gain control of target artifact for as long as you control CARDNAME.
SVar:TrigChange:AB$GainControl | Cost$ 0 | TgtPrompt$ Choose target artifact | ValidTgts$ Artifact | LoseControl$ LeavesPlay, LoseControl | SpellDescription$ Gain control of target artifact for as long as you control CARDNAME.
SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/master_thief.jpg
SetInfo:M12|Uncommon|http://magiccards.info/scans/en/m12/64.jpg
End


Primordial Hydra
| Open
Name:Primordial Hydra
ManaCost:X G G
Types:Creature Hydra
Text:no text
PT:0/0
K:etbCounter:P1P1:X
K:stPumpSelf:Creature.countersGT9P1P1:0/0/Trample:No Condition:CARDNAME has trample as long as it has ten or more +1/+1 counters on it.
SVar:X:Count$xPaid
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDoubleCounters | TriggerDescription$ At the beginning of your upkeep, double the number of +1/+1 counters on CARDNAME.
SVar:TrigDoubleCounters:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ Double
SVar:Double:Count$CardCounters.P1P1
SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/primordial_hydra.jpg
SetInfo:M12|Mythic|http://magiccards.info/scans/en/m12/189.jpg
End
`
Thank you Starcrash.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 14:09
by Starcrash
Vengeful Pharaoh
| Open
Name:Vengeful Pharaoh
ManaCost:2 B B B
Types:Creature Zombie
Text:no text
PT:5/4
K:Deathtouch
T:Mode$ DamageDone | ValidTarget$ You,Planeswalker.YouCtrl | CombatDamage$ True | TriggerZones$ Graveyard | Execute$ TrigDestroy | TriggerDescription$ Whenever combat damage is dealt to you or a planeswalker you control, if CARDNAME is in your graveyard, destroy targeting attacking creature, then put Vengeful Pharoah on top of your library.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | SubAbility$ DBReturn
SVar:DBReturn:DB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Library
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vengeful_pharoah.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/116.jpg
End


Chandra's Phoenix
| Open
Name:Chandra's Phoenix
ManaCost:1 R R
Types:Creature Phoenix
Text:no text
PT:2/2
K:Flying
K:Haste
T:Mode$ DamageDone | ValidSource$ Instant.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ Whenever an opponent is dealt damage by a red instant spell you control, return CARDNAME from your graveyard to your hand.
T:Mode$ DamageDone | ValidSource$ Sorcery.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ Whenever an opponent is dealt damage by a red sorcery spell you control, return CARDNAME from your graveyard to your hand.
T:Mode$ DamageDone | ValidSource$ Planeswalker.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ Whenever an opponent is dealt damage by a red planeswalker you control, return CARDNAME from your graveyard to your hand.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Hand
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/chandras_phoenix.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/126.jpg
End


Chandra's Phoenix is a little more verbose than the actual card, but unless I was doing it wrong, you can't have more than one ValidSource separated by commas.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 14:20
by Hellfish
Huh, AFAIK Valids *can* be combined using commas... Either way, to make it a little less verbose, give the triggers oracle text and give all but one of them the "Secondary$ True" parameter. Not sure that parameter is documented on the wiki, now that I think about it :S

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 15:14
by Starcrash
Chandra's Phoenix
| Open
Name:Chandra's Phoenix
ManaCost:1 R R
Types:Creature Phoenix
Text:no text
PT:2/2
K:Flying
K:Haste
T:Mode$ DamageDone | ValidSource$ Instant.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ Whenever an opponent is dealt damage by a red instant or sorcery spell you control or by a red planeswalker you control, return Chandra’s Phoenix from your graveyard to your hand.
T:Mode$ DamageDone | ValidSource$ Sorcery.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | Secondary$ True | TriggerDescription$ Whenever an opponent is dealt damage by a red instant or sorcery spell you control or by a red planeswalker you control, return Chandra’s Phoenix from your graveyard to your hand.
T:Mode$ DamageDone | ValidSource$ Planeswalker.YouCtrl+Red | ValidTarget$ Opponent | TriggerZones$ Graveyard | Execute$ TrigReturn | Secondary$ True | TriggerDescription$ Whenever an opponent is dealt damage by a red instant or sorcery spell you control or by a red planeswalker you control, return Chandra’s Phoenix from your graveyard to your hand.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Hand
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/chandras_phoenix.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/126.jpg
End


Made changes. Secondary$ True is useful, I'd just never stumbled upon it. Yeah, I don't know what was going on with the ValidSource$ thing either, but in testing it just refused to look past the first comma.

Re: Magic 2012 Card Contributions

PostPosted: 07 Jul 2011, 19:25
by Chris H.
Starcrash wrote:Vengeful Pharaoh
| Open
Name:Vengeful Pharaoh
ManaCost:2 B B B
Types:Creature Zombie
Text:no text
PT:5/4
K:Deathtouch
T:Mode$ DamageDone | ValidTarget$ You,Planeswalker.YouCtrl | CombatDamage$ True | TriggerZones$ Graveyard | Execute$ TrigDestroy | TriggerDescription$ Whenever combat damage is dealt to you or a planeswalker you control, if CARDNAME is in your graveyard, destroy targeting attacking creature, then put Vengeful Pharoah on top of your library.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | SubAbility$ DBReturn
SVar:DBReturn:DB$ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Graveyard | Destination$ Library
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/vengeful_pharoah.jpg
SetInfo:M12|Rare|http://magiccards.info/scans/en/m12/116.jpg
End
`
Thank you Starcrash.