It is currently 31 Oct 2025, 23:13
   
Text Size

Dragons of Tarkir Spoiler Season

Post MTG Forge Related Programming Questions Here

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

Re: Dragons of Tarkir Spoiler Season

Postby swordshine » 06 Mar 2015, 14:02

Marek14 wrote:Added new cards to Upcoming and fixed the numbers. Swordshine, I see you've implemented Stratus Dancer and Sidisi, Undead Vizier -- I presume megamorph is simply K:Megamorph: Cost and exploit K:Exploit, but what is the syntax for exploited trigger?
I implemented Exploit based on Champion. Exploit trigger should be (from the new Sidisi):
Code: Select all
T:Mode$ Exploited | ValidCard$ Creature | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigSearch | OptionalDecider$ You | TriggerDescription$ When CARDNAME exploits a creature, you may search your library for a card, put it into your hand, then shuffle your library.
SVar:TrigSearch:AB$ ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | ShuffleNonMandatory$ True
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Dragons of Tarkir Spoiler Season

Postby swordshine » 06 Mar 2015, 14:06

Marek14 wrote:Den Protector -- same ability as Silumgar Assassin. How do I write that, swordshine?
Den Protector should have keyword "K:Creatures with power less than CARDNAME's power can't block it."
Silumgar Assassin has a similar keyword "K:Creatures with power greater than CARDNAME's power can't block it." which is recently added based on the above one.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 06 Mar 2015, 17:42

swordshine wrote:
Marek14 wrote:Den Protector -- same ability as Silumgar Assassin. How do I write that, swordshine?
Den Protector should have keyword "K:Creatures with power less than CARDNAME's power can't block it."
Silumgar Assassin has a similar keyword "K:Creatures with power greater than CARDNAME's power can't block it." which is recently added based on the above one.
Right. For some reason I thought it has the same one as Silumgar Assassin.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 06 Mar 2015, 18:50

Risen Executioner: not sure how to do the last ability (cast from graveyard with variable additional cost)

Code: Select all
Name:Cunning Breezedancer
ManaCost:4 W U
Types:Creature Dragon
PT:4/4
K:Flying
T:Mode$ SpellCast | ValidCard$ Card.nonCreature | ValidActivatingPlayer$ You | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a noncreature spell, CARDNAME gets +2/+2 until end of turn.
SVar:TrigPump:AB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ CARDNAME gets +2/+2 until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/cunning_breezedancer.jpg
Oracle:Flying\nWhenever you cast a noncreature spell, Cunning Breezedancer gets +2/+2 until end of turn.
Code: Select all
Name:Den Protector
ManaCost:1 G
Types:Creature Human Warrior
PT:2/1
K:Creatures with power less than CARDNAME's power can't block it.
K:Megamorph:1 G
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, return target card from your graveyard to your hand.
SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | ValidTgts$ Card | TgtPrompt$ Select target card | Origin$ Graveyard | Destination$ Hand
SVar:Picture:http://www.wizards.com/global/images/magic/general/den_protector.jpg
Oracle:Creatures with power less than Den Protector's power can't block it.\nMegamorph {1}{G} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Den Protector is turned face up, return target card from your graveyard to your hand.
Code: Select all
Name:Dragonlord Atarka
ManaCost:5 R G
Types:Legendary Creature Elder Dragon
PT:8/8
K:Flying
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ Dmg1 | TriggerDescription$ Whenever CARDNAME enters the battlefield, it deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers your opponents control.
SVar:Dmg1:AB$ DealDamage | Cost$ 0 | ValidTgts$ Creature.OppCtrl,Planeswalker.OppCtrl | TgtPrompt$ Select target creature or planeswalker to distribute damage to | NumDmg$ 5 | TargetMin$ 1 | TargetMax$ 5 | DividedAsYouChoose$ 5
SVar:Picture:http://www.wizards.com/global/images/magic/general/dragonlord_atarka.jpg
Oracle:Flying, trample\nWhen Dragonlord Atarka enters the battlefield, it deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers your opponents control.
(I noticed that target prompt for Bogardan Hellkite says "Select target creature", even though it can target players as well.)

Code: Select all
Name:Roast
ManaCost:1 R
Types:Sorcery
A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying | NumDmg$ 5 | SpellDescription$ CARDNAME deals 5 damage to target creature without flying.
SVar:Picture:http://www.wizards.com/global/images/magic/general/roast.jpg
Oracle:Roast deals 5 damage to target creature without flying.
Code: Select all
Name:Shorecrasher Elemental
ManaCost:U U U
Types:Creature Elemental
PT:3/3
A:AB$ ChangeZone | Cost$ U | Defined$ Self | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBReturn | SpellDescription$ Exile CARDNAME, then return it to the battlefield face down under its owner's control.
SVar:DBReturn:DB$ChangeZone | FaceDown$ True | Origin$ Exile | Destination$ Battlefield
A:AB$ Pump | Cost$ 1 | Subability$ ABChoice | SpellDescription$ CARDNAME gets +1/-1 or -1/+1 until end of turn.
SVar:ABChoice:DB$ GenericChoice | Defined$ You | Cost$ 0 | Choices$ ABPump1,ABPump2
SVar:ABPump1:DB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ +1 | NumDef$ -1 | SpellDescription$ +1/-1
SVar:ABPump2:DB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ -1 | NumDef$ +1 | SpellDescription$ -1/+1
K:Megamorph:4 U
SVar:Picture:http://www.wizards.com/global/images/magic/general/shorecrasher_elemental.jpg
Oracle:{U}: Exile Shorecrasher Elemental, then return it to the battlefield face down under its owner's control.\n{1}: Shorecrasher Elemental gets +1/-1 or -1/+1 until end of turn.\nMegamorph {4}{U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)
(Pemmin's Aura should be probably changed to something like this or Liliana of the Dark Realms -- it should have only one pump ability with two results chosen on resolution.)

Code: Select all
Name:Silumgar Butcher
ManaCost:4 B
Types:Creature Zombie Djinn
PT:3/3
K:Exploit
T:Mode$ Exploited | ValidCard$ Creature | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ When CARDNAME exploits a creature, target creature gets -3/-3 until end of turn/
SVar:TrigPump:AB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/silumgar_butcher.jpg
Oracle:Exploit (When this creature enters the battlefield, you may sacrifice a creature.)\nWhen Silumgar Butcher exploits a creature, target creature gets -3/-3 until end of turn.
Code: Select all
Name:Silumgar's Command
ManaCost:3 U B
Types:Instant
A:SP$ Charm | Cost$ 3 U B | Choices$ DBCounter,DBReturn,DBPump,DBDestroy | CharmNum$ 2 | SpellDescription$ Choose two - Counter target noncreature spell; Return target permanent to its owner's hand; Target creature gets -3/-3 until end of turn; Destroy target planeswalker.
SVar:DBCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card.nonCreature | SpellDescription$ Counter target noncreature spell.
SVar:DBReturn:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | SpellDescription$ Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield.
SVar:DBPump:DB$ Pump | ValidTgts$ Creature | NumAtt$ -3 | NumDef$ -3 | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets -3/-3 until end of turn.
SVar:DBDestroy:DB$ Destroy | ValidTgts$ Planeswalker | TgtPrompt$ Select target planeswalker | SpellDescription$ Destroy target planeswalker.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/silumgars_command.jpg
Oracle:Choose two -\n• Counter target noncreature spell.\n• Return target permanent to its owner's hand.\n• Target creature gets -3/-3 until end of turn.\n• Destroy target planeswalker.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 06 Mar 2015, 21:58

Sarkhan Unbroken: Not sure how to write the first ability (adding mana as a subability).

Code: Select all
Name:Dragonlord Ojutai
ManaCost:3 W U
Types:Legendary Creature Elder Dragon
PT:5/4
K:Flying
S:Mode$ Continuous | Affected$ Card.Self+untapped | AddKeyword$ Hexproof | Description$ CARDNAME has hexproof as long as it's untapped.
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDig | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
SVar:TrigDig:AB$Dig | Cost$ 0 | DigNum$ 3 | Defined$ You
SVar:Picture:http://www.wizards.com/global/images/magic/general/dragonlord_ojutai.jpg
Oracle:Flying\nDragonlord Ojutai has hexproof as long as it's untapped.\nWhenever Dragonlord Ojutai deals combat damage to a player, look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
Code: Select all
Name:Epic Confrontation
ManaCost:1 G
Types:Sorcery
A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | AILogic$ Fight | TgtPrompt$ Select target creature you control | SubAbility$ DBFight | NumAtt$ +1 | NumDef$ +2 | SpellDescription$ Target creature you control gets +1/+2 until end of turn. It fights target creature you don't control.
SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control
SVar:Picture:http://www.wizards.com/global/images/magic/general/epic_confrontation.jpg
Oracle:Target creature you control gets +1/+2 until end of turn. It fights target creature you don't control.
Code: Select all
Name:Stormwing Dragon
ManaCost:5 R
Types:Creature Dragon
PT:3/3
K:Flying
K:First Strike
K:Megamorph:5 R R
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigCounters | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, put a +1/+1 counter on each other Dragon creature you control.
SVar:TrigCounters:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.Dragon+YouCtrl+other | CounterType$ P1P1 | CounterNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/stormwing_dragon.jpg
Oracle:Flying, first strike\nMegamorph {5}{R}{R} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Stormwing Dragon is turned face up, put a +1/+1 counter on each other Dragon creature you control.
Code: Select all
Name:Sunbringer's Touch
ManaCost:2 G G
Types:Sorcery
A:SP$ PutCounter | Cost$ 2 G G | Bolster$ True | CounterNum$ X | References$ X | SubAbility$ DBPumpAll | CounterType$ P1P1 | SpellDescription$ Bolster X, where X is the number of cards in your hand. Each creature you control with a +1/+1 counter on it gains trample until end of turn. (To bolster X, choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.)
SVar:X:Count$InYourHand
SVar:DBPumpAll:DB$PumpAll | Cost$ 0 | ValidCards$ Creature.YouCtrl+counters_GE1_P1P1 | KW$ Trample
SVar:Picture:http://www.wizards.com/global/images/magic/general/sunbringers_touch.jpg
Oracle:Bolster X, where X is the number of cards in your hand. Each creature you control with a +1/+1 counter on it gains trample until end of turn. (To bolster X, choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.)
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 06 Mar 2015, 22:03

As for Liliana, Heretical Healer/Liliana, Defiant Necromancer spoiled from Magic Origins, she doesn't seem that hard, but I'm not sure how to implement token creation that is dependent on her being returned to battlefield successfully.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 07 Mar 2015, 08:13

Enduring Scalelord: not sure how to write a trigger for "one or more +1/+1 counters placed on a creature"

Code: Select all
Name:Acid-Spewer Dragon
ManaCost:5 B
Types:Creature Dragon
PT:3/3
K:Flying
K:Deathtouch
K:Megamorph:5 B B
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigCounters | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, put a +1/+1 counter on each other Dragon creature you control.
SVar:TrigCounters:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.Dragon+YouCtrl+other | CounterType$ P1P1 | CounterNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/acid_spewer_dragon.jpg
Oracle:Flying, deathtouch\nMegamorph {5}{B}{B} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Acid-Spewer Dragon is turned face up, put a +1/+1 counter on each other Dragon creature you control.
Code: Select all
Name:Collected Company
ManaCost:3 G
Types:Instant
A:SP$ Dig | Cost$ 3 G | DigNum$ 6 | ChangeNum$ 2 | Optional$ True | Reveal$ True | ChangeValid$ Creature.cmcLE3 | DestinationZone$ Battlefield | SpellDescription$ Reveal the top six cards of your library. Put up to two creature cards with converted mana cost 3 or less from among them onto the battlefield. Put the rest of the revealed cards into your graveyard.
SVar:Picture:http://www.wizards.com/global/images/magic/general/kruphixs_insight.jpg
Oracle:Reveal the top six cards of your library. Put up to three enchantment cards from among them into your hand and the rest of the revealed cards into your graveyard.
(Kruphix's Insight says "Reveal", but it lacks "Reveal$ True" in its code -- is that correct?)

Code: Select all
Name:Descent of the Dragons
ManaCost:4 R R
Types:Sorcery
A:SP$ Destroy | Cost$ 4 R R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | RememberLKI$ True | SubAbility$ DBToken | SpellDescription$ Destroy any number of target creatures. For each creature destroyed this way, its controller puts a 4/4 red Dragon creature token with flying onto the battlefield.
SVar:DBToken:DB$ RepeatEach | UseImprinted$ True | DefinedCards$ DirectRemembered | RepeatSubAbility$ TokenDragon | SubAbility$ DBCleanup
SVar:TokenDragon:DB$ Token | TokenAmount$ 1 | TokenName$ Dragon | TokenTypes$ Creature,Dragon | TokenOwner$ ImprintedController | TokenColors$ Red | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | TokenImage$ r_4_4_dragon_dtk
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:MaxTgts:Count$Valid Creature
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/descent_of_the_dragons.jpg
Oracle:Destroy any number of target creatures. For each creature destroyed this way, its controller puts a 4/4 red Dragon creature token with flying onto the battlefield.
Code: Select all
Name:Hidden Dragonslayer
ManaCost:1 W
Types:Creature Human Warrior
PT:2/1
K:Lifelink
K:Megamorph:2 W
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, destroy target creature with power 4 or greater an opponent controls.
SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Creature.powerGE4+OppCtrl | TgtPrompt$ Select target creature with power 4 or greater an opponent controls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/hidden_dragonslayer.jpg
Oracle:Lifelink\nMegamorph {2}{W} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Hidden Dragonslayer is turned face up, destroy target creature with power 4 or greater an opponent controls.
Code: Select all
Name:Ruthless Deathfang
ManaCost:4 U B
Types:Creature Dragon
PT:4/4
K:Flying
T:Mode$ Sacrificed | ValidPlayer$ You | ValidCard$ Creature | TriggerZones$ Battlefield | Execute$ TrigSacrifice | TriggerDescription$ Whenever you sacrifice a creature, target opponent sacrifices a creature.
SVar:TrigSacrifice:AB$ Sacrifice | ValidTgts$ Opponent | SacValid$ Creature | SacMessage$ Creature
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/ruthless_deathfang.jpg
Oracle:Flying\nWhenever you sacrifice a creature, target opponent sacrifices a creature.
Code: Select all
Name:Savage Ventmaw
ManaCost:4 R G
Types:Creature Dragon
PT:4/4
K:Flying
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMana | TriggerDescription$ Whenever CARDNAME attacks, add {R}{R}{R}{G}{G}{G} to your mana pool. Until end of turn, this mana doesn't empty from your mana pool as steps and phases end.
SVar:TrigMana:AB$ Mana | Cost$ 0 | Produced$ R R R G G G | PersistentMana$ True | SpellDescription$ Add {R}{R}{R}{G}{G}{G} to your mana pool. Until end of turn, this mana doesn't empty from your mana pool as steps and phases end.
SVar:Picture:http://www.wizards.com/global/images/magic/general/savage_ventmaw.jpg
Oracle:Flying\nWhenever Savage Ventmaw attacks, add {R}{R}{R}{G}{G}{G} to your mana pool. Until end of turn, this mana doesn't empty from your mana pool as steps and phases end.
(Radha, Heir to Keld has triggered mana-adding ability mandatory; it should be optional.)

Code: Select all
Name:Swift Warkite
ManaCost:4 B R
Types:Creature Dragon
PT:4/4
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a creature card with converted mana cost 3 or less from your hand onto the battlefield. That creature gains haste. Return it to your hand at the beginning of the next end step.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Hand,Graveyard | Destination$ Battlefield | ChangeType$ Creature.cmcLE3+YouCtrl | SubAbility$ DBPump | RememberChanged$ True | ChangeNum$ 1
SVar:DBPump:DB$ Animate | Keywords$ Haste | sVars$ SneakAttackEOT | Defined$ Remembered | Permanent$ True | SubAbility$ DelTrig
SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigReturn | RememberObjects$ Remembered | TriggerDescription$ CARDNAME - Return the creature to your hand at the beginning of the next end step. | SubAbility$ DBCleanup | AILogic$ Always
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Defined$ DelayTriggerRemembered | Origin$ Battlefield | Destination$ Hand SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:SneakAttackEOT:SVar:EndOfTurnLeavePlay:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/swiftwing_warkite.jpg
Oracle:Flying\nWhen Swiftwing Warkite enters the battlefield, you may put a creature card with converted mana cost 3 or less from your hand onto the battlefield. That creature gains haste. Return it to your hand at the beginning of the next end step.
(Please test this one, I cobbled it from many sources including Elvish Pioneer, Sneak Attack and Cauldron Dance.)
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 07 Mar 2015, 21:31

Hmm, I'm now not that sure about Descent of the Dragons. The way I wrote it, will it interact with indestructible creatures or regeneration correctly? (Creatures that are not destroyed should not create a token.)
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby swordshine » 08 Mar 2015, 05:24

Marek14 wrote:Hmm, I'm now not that sure about Descent of the Dragons. The way I wrote it, will it interact with indestructible creatures or regeneration correctly? (Creatures that are not destroyed should not create a token.)
It looks fine. Both "RememberLKI" and "RememberDestroyed" in DestroyEffect check if the card is destroyed.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 08 Mar 2015, 06:22

OK then.

So, after the first week of spoilers, what do we lack?

Arashin Sovereign: I wonder if the generic Choice ability (similar to use in Shorecrasher Elemental) would work here. What I'm not sure is if the ability should be implemented as optional with two choices or as mandatory with three choices (put on top, put on bottom, do nothing).
Deathbringer Regent: a complicated condition as intervening if.
Dragonlord Kolaghan: trigger condition.
Risen Executioner: casting from graveyard with variable additional cost
Stampeding Elk Herd: intervening if formidable condition

Dragonlord's Prerogative and Scaleguard Sentinels: These two are pretty complicated with the rules interactions. Here are the facts:

1. They have two states, let's call them "active" and "passive". For Dragonlord's Prerogative, the card is uncounterable in active state, for Scaleguard Sentinels, it gets a +1/+1 counter when moving from stack to battlefield in active state.
2. If you pay the additional cost, they get the active state.
3. If you cast them while controlling a Dragon, they also get the active state.
4. The ability doesn't care if the additional cost was paid; it cares about whether you revealed a Dragon card as you cast the spell, which is stronger. This means that if you control the spell, but didn't cast it, or if it wasn't cast at all (for example a copy of Dragonlord's Prerogative), it will always be in the passive state.
5. Artificial Evolution used on these spells can add another wrinkle. It can't change the alternative cost, but it can hit the spells later while on the stack, which can retroactively change the creature type they check. To work properly with Artificial Evolution, it would be necessary for these cards to store a list of all creature types you either controlled at the time of casting, or that were present on the revealed card, if any was revealed.

So the ideal implementation would be: Two modes of casting (with revealing a Dragon card or without), store list of all creature types you control, add list of creature types of the revealed card if that mode is used, empty the list for copies of the spell, keep the spell in active state if the creature type word (standardly "Dragon") is in the list AND if the current controller is identical to the player who cast the spell, deal with attempts to counter the spell (for Dragonlord's Prerogative) or with moving to battlefield (for Scaleguard Sentinels) accordingly.

EDIT: Unfortunately, even this is not enough: this list must be implemented generally, for every spell to cover situations like Clone copying Scaleguard Sentinels (it would still check if you controlled a Dragon when you cast it) or Infinite Reflection on Scaleguard Sentinels (which would make it necessary to check it for ANY creature card).

Finally, Carnival of Souls gave me the last hint on how to write Sarkhan Unbroken, so here he is:

Code: Select all
Name:Sarkhan Unbroken
ManaCost:2 G U R
Types:Planeswalker Sarkhan
Loyalty:4
A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Defined$ You | SubAbility$ DBMana | Planeswalker$ True | SpellDescription$ Draw a card, then add one mana of any color to your mana pool.
SVar:DBMana:DB$Mana | Produced$ Any | AILogic$ MostProminentInComputerHand
A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | TokenAmount$ 1 | TokenName$ Dragon | TokenTypes$ Creature,Dragon | TokenOwner$ You | TokenColors$ Red | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | TokenImage$ r 4 4 dragon DTK | Planeswalker$ True | SpellDescription$ Put a 4/4 red Dragon creature token with flying onto the battlefield.
A:AB$ ChangeZone | Cost$ SubCounter<8/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Dragon | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | References$ XFetch | SpellDescription$ Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library.
SVar:XFetch:Count$TypeInYourLibrary.Dragon
SVar:Picture:http://www.wizards.com/global/images/magic/general/sarkhan_unbroken.jpg
Oracle:[+1] Draw a card, then add one mana of any color to your mana pool.\n[-2] Put a 4/4 red Dragon creature token with flying onto the battlefield.\n[-8] Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 08 Mar 2015, 21:23

Code: Select all
Name:Crater Elemental
ManaCost:2 R
Types:Creature Elemental
PT:0/6
A:AB$ DealDamage | Cost$ R T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature.
A:AB$ Animate | Cost$ 2 R | Defined$ Self | Power$ 8 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | SpellDescription$ Formidable - CARDNAME has base power 8 until end of turn. Activate this ability only if creatures you control have total power 8 or greater.
SVar:FormidableTest:Count$SumPower_Creature.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/crater_elemental.jpg
Oracle:{R}, {T}, Sacrifice Crater Elemental: Crater Elemental deals 4 damage to target creature.\nFormidable - {2}{R}: Crater Elemental has base power 8 until end of turn. Activate this ability only if creatures you control have total power 8 or greater.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 09 Mar 2015, 06:23

Code: Select all
Name:Kolaghan's Command
ManaCost:1 B R
Types:Instant
A:SP$ Charm | Cost$ 1 B R | Choices$ DBReturn,DBDiscard,DBDestroy,DBDamage | CharmNum$ 2 | SpellDescription$ Choose two - Return target creature card from your graveyard to your hand; Target player discards a card; Destroy target artifact; CARDNAME deals 2 damage to target creature or player.
SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature card | SpellDescription$ Return target creature card from your graveyard to the battlefield.
SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ 1 | Mode$ TgtChoose | SpellDescription$ Target player discards a card.
SVar:DBDestroy:DB$ Destroy | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SpellDescription$ Destroy target artifact.
SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/kolaghans_command.jpg
Oracle:Choose two -\n• Return target creature card from your graveyard to your hand.\n• Target player discards a card.\n• Destroy target artifact.\n• Kolaghan's Command deals 2 damage to target creature or player.
Last edited by Marek14 on 09 Mar 2015, 15:47, edited 1 time in total.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 09 Mar 2015, 15:46

Deathmist Raptor -- like with Arashin Sovereign, not sure how best to implement the choice of how to return it (if at all).
Self-Inflicted Wound -- not sure how to write the "If that player does" condition. Closest I found is Pillar Tombs of Aku, but that's not implemented.
Silumgar's Scorn -- another card similar to Scaleguard Sentinels

Code: Select all
Name:Anafenza, Kin-Tree Spirit
ManaCost:W W
Types:Legendary Creature Spirit Soldier
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+nonToken+Other | Execute$ TrigBolster | TriggerDescription$ Whenever another nontoken creature enters the battlefield under your control, bolster 1. (Choose a creature with the least toughness among creatures you control and put a +1/+1 counter on it.)
SVar:TrigBolster:AB$ PutCounter | Cost$ 0 | Bolster$ True | CounterType$ P1P1 | CounterNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/anafenza_kin_tree_spirit.jpg
Oracle:Whenever another nontoken creature enters the battlefield under your control, bolster 1. (Choose a creature with the least toughness among creatures you control and put a +1/+1 counter on it.)
Code: Select all
Name:Blood-Chin Fanatic
ManaCost:1 B B
Types:Creature Orc Warrior
PT:3/3
A:AB$ LoseLife | Cost$ 1 B Sac<1/Creature.Other+Warrior/another Warrior creature> | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Target player loses X life and you gain X life, where X is the sacrificed creature's power.
SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X
SVar:X:Sacrificed$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_chin_fanatic.jpg
Oracle:{1}{B}, Sacrifice another Warrior creature: Target player loses X life and you gain X life, where X is the sacrificed creature's power.
Code: Select all
Name:Display of Dominance
ManaCost:1 G
Types:Instant
A:SP$ Charm | Cost$ 1 G | Choices$ DBDestroy,DBProtect | SpellDescription$ Choose one - Destroy target blue or black noncreature permanent; Permanents you control can't be the targets of blue or black spells your opponents control this turn.
SVar:DBDestroy:DB$ Destroy | ValidTgts$ Permanent.nonCreature+Blue,Permanent.nonCreature+Black | TgtPrompt$ Select target blue or black noncreature permanent | SpellDescription$ Destroy target blue or black noncreature permanent.
SVar:DBProtect:DB$ Effect | Name$ Display of Dominance Effect | StaticAbilities$ STCantBeTarget | SpellDescription$ Permanents you control can't be the targets of blue or black spells your opponents control this turn.
SVar:STCantBeTarget:Mode$ CantTarget | ValidCard$ Permanent.YouCtrl | ValidSource$ Card.Blue+OppCtrl,Card.Black+OppCtrl | Spell$ True | EffectZone$ Command | Description$ Permanents you control can't be the targets of blue or black spells your opponents control this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/display_of_dominance.jpg
Oracle:Choose one -\n• Destroy target blue or black noncreature permanent.\n• Permanents you control can't be the targets of blue or black spells your opponents control this turn.
Code: Select all
Name:Dragon Whisperer
ManaCost:R R
Types:Creature Human Shaman
PT:2/2
A:AB$ Pump | Cost$ R | KW$ Flying | Defined$ Self | SpellDescription$ CARDNAME gains flying until end of turn.
A:AB$ Pump | Cost$ 1 R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn.
A:AB$ Token | Cost$ 4 R R | TokenOwner$ You | TokenAmount$ 1 | TokenName$ Dragon | TokenTypes$ Creature,Dragon | TokenColors$ Red | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | TokenImage$ r 4 4 dragon DTK | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | SpellDescription$ Put a 4/4 red Dragon creature token with flying onto the battlefield.
SVar:FormidableTest:Count$SumPower_Creature.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/dragon_whisperer.jpg
Oracle:{R}: Dragon Whisperer gains flying until end of turn.\n{1}{R}: Dragon Whisperer gets +1/+0 until end of turn.\nFormidable - {4}{R}{R}: Put a 4/4 red Dragon creature token with flying onto the battlefield. Activate this ability only if creatures you control have total power 8 or greater.
Code: Select all
Name:Encase in Ice
ManaCost:1 U
Types:Enchantment Aura
K:Flash
K:Enchant red or green creature
A:SP$ Attach | Cost$ 1 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$ CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step.
SVar:Picture:http://www.wizards.com/global/images/magic/general/encase_in_ice.jpg
Oracle:Flash\nEnchant red or green creature\nWhen Encase in Ice enters the battlefield, tap enchanted creature.\nEnchanted creature doesn't untap during its controller's untap step.
Code: Select all
Name:Mirror Mockery
ManaCost:1 U
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature | AILogic$ Pump
T:Mode$ Attacks | ValidCard$ Card.AttachedBy | Execute$ TrigCopy | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature attacks, you may put a token onto the battlefield that's a copy of that creature. Exile that token at end of combat.
SVar:TrigCopy:AB$ CopyPermanent | Defined$ TriggeredAttacker | NumCopies$ 1 | RememberTokens$ True | SubAbility$ DelTrig
SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ EndCombat | Execute$ TrigExile | RememberObjects$ Remembered | TriggerDescription$ Exile the token at end of combat. | SubAbility$ DBCleanup
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Defined$ DelayTriggerRemembered | Origin$ Battlefield | Destination$ Exile
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:AE:SVar:HasAttackEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/mirror_mockery.jpg
Oracle:Enchant creature\nWhenever enchanted creature attacks, you may put a token onto the battlefield that's a copy of that creature. Exile that token at end of combat.
EDIT: What would be a good AI logic for this? It can be used both offensively (on your creatures with good ETB abilities) or defensively (on opponent's creatures to discourage from attacking).

Code: Select all
Name:Surge of Righteousness
ManaCost:1 W
Types:Instant
A:SP$ Destroy | Cost$ 1 W | ValidTgts$ Creature.Black+attacking,Creature.Black+blocking,Creature.Red+attacking,Creature.Red+blocking | TgtPrompt$ Select target black or red creature that's attacking or blocking | SubAbility$ NaturalLife | SpellDescription$ Destroy target black or red creature that's attacking or blocking. You gain 2 life.
SVar:NaturalLife:DB$GainLife | Defined$ You | LifeAmount$ 2
SVar:Picture:http://www.wizards.com/global/images/magic/general/surge_of_righteousness.jpg
Oracle:Destroy target black or red creature that's attacking or blocking. You gain 2 life.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 10 Mar 2015, 06:31

Code: Select all
Name:Shieldhide Dragon
ManaCost:5 W
Types:Creature Dragon
PT:3/3
K:Flying
K:Lifelink
K:Megamorph:5 W W
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigCounters | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, put a +1/+1 counter on each other Dragon creature you control.
SVar:TrigCounters:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.Dragon+YouCtrl+other | CounterType$ P1P1 | CounterNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/shieldhide_dragon.jpg
Oracle:Flying, lifelink\nMegamorph {5}{W}{W} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it.)\nWhen Shieldhide Dragon is turned face up, put a +1/+1 counter on each other Dragon creature you control.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Dragons of Tarkir Spoiler Season

Postby Marek14 » 10 Mar 2015, 06:37

Code: Select all
Name:Haven of the Spirit Dragon
ManaCost:no cost
Types:Land
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add {1} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | RestrictValid$ Creature.Dragon | SpellDescription$ Add one mana of any color to your mana pool. Spend this mana only to cast a Dragon creature spell.
A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | TgtPrompt$ Select target Dragon creature card or Ugin planeswalker card in your graveyard | ValidTgts$ Creature.Dragon+YouCtrl,Planeswalker.Ugin+YouCtrl | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return target Dragon creature card or Ugin planeswalker card from your graveyard to your hand.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/haven_of_the_spirit_dragon.jpg
Oracle:{T}: Add {1} to your mana pool.\n{T}: Add one mana of any color to your mana pool. Spend this mana only to cast a Dragon creature spell.\n{2}, {T}, Sacrifice Haven of the Spirit Dragon: Return target Dragon creature card or Ugin planeswalker card from your graveyard to your hand.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 24 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 24 guests

Login Form