Battle for Zendikar spoiler season
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Battle for Zendikar spoiler season
by Marek14 » 15 Sep 2015, 12:05
Doubling Season doesn't have a tricky interaction -- it doubles counters Quarantine Field enters the battlefield in, which is before the trigger is put on stack.Hanmac wrote:@Marek14: about Quarantine Field, what if Doubling Season is on the field and the Quarantine Field does enter the battlefield with double that much counters? doest it have any affect on this card?
@code problems: i need to checkout the code of some other triggers, like the Sacrifice trigger used with Savra, Queen of the Golgari need to be corrected to check the attributes of the creature while it was on the battlefield before it got sacrificed and not the attributes while it is in the graveyard.
Re: Battle for Zendikar spoiler season
by Marek14 » 15 Sep 2015, 12:08
- Code: Select all
Name:Molten Nursery
ManaCost:2 R
Types:Enchantment
K:Devoid
T:Mode$ SpellCast | ValidCard$ Card.Colorless | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever you cast a colorless spell, CARDNAME deals 1 damage to target creature or player.
SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/molten_nursery.jpg
Oracle:Devoid (This card has no color.)\nWhenever you cast a colorless spell, Molten Nursery deals 1 damage to target creature or player.
Re: Battle for Zendikar spoiler season
by Marek14 » 15 Sep 2015, 16:52
- Code: Select all
Name:Retreat to Coralhelm
ManaCost:2 U
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Land.YouCtrl | Execute$ TrigCharm | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, choose one - You may tap or untap target creature; Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
SVar:TrigCharm:AB$ Charm | Cost$ 0 | Choices$ DBTapOrUntap,DBScry | SpellDescription$ You may tap or untap target creature; Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
SVar:DBTapOrUntap:DB$ TapOrUntap | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature
SVar:DBScry:DB$ Scry | ScryNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/retreat_to_coralhelm.jpg
Oracle:Landfall - Whenever a land enters the battlefield under your control, choose one -\n• You may tap or untap target creature.\n• Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.)
- Code: Select all
Name:Retreat to Hagra
ManaCost:2 B
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Land.YouCtrl | Execute$ TrigCharm | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, choose one - Target creature gets +1/+0 and gains deathtouch until end of turn; Each opponent loses 1 life and you gain 1 life.
SVar:TrigCharm:AB$ Charm | Cost$ 0 | Choices$ DBPump,DBLoseLife | SpellDescription$ Choose one - Target creature gets +1/+0 and gains deathtouch until end of turn; Each opponent loses 1 life and you gain 1 life.
SVar:DBPump:DB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | KW$ Deathtouch
Var:DBLoseLife:AB$ LoseLife | Cost$ 0 | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/retreat_to_hagra.jpg
Oracle:Landfall - Whenever a land enters the battlefield under your control, choose one -\n• Target creature gets +1/+0 and gains deathtouch until end of turn.\n• Each opponent loses 1 life and you gain 1 life.
- Code: Select all
Name:Retreat to Valakut
ManaCost:2 R
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Land.YouCtrl | Execute$ TrigCharm | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, choose one - Target creature gets +2/+0 until end of turn; Target creature can't block this turn.
SVar:TrigCharm:AB$ Charm | Cost$ 0 | Choices$ DBPump1,DBPump2 | SpellDescription$ Choose one - Target creature gets +2/+0 until end of turn; Target creature can't block this turn.
SVar:DBPump1:DB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2
SVar:DBPump2:DB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/retreat_to_valakut.jpg
Oracle:Landfall - Whenever a land enters the battlefield under your control, choose one -\n• Target creature gets +2/+0 until end of turn.\n• Target creature can't block this turn.
- Code: Select all
Name:Ugin's Insight
ManaCost:3 U U
Types:Sorcery
A:SP$ Scry | Cost$ U | ScryNum$ X | References$ X | SpellDescription$ Scry X, where X is the highest converted mana cost among permanents you control, then draw three cards. | SubAbility$ DBDraw
SVar:X:Count$MaxCMCYouCtrl
SVar:DBDraw:DB$Draw | NumCards$ 3
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/ugins_insight.jpg
Oracle:Scry X, where X is the highest converted mana cost among permanents you control, then draw three cards.
- Code: Select all
Name:Wasteland Strangler
ManaCost:2 B
Types:Creature Eldrazi Processor
PT:3/2
K:Devoid
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Self | Execute$ TrigProcess | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, target creature gets -3/-3 until end of turn.
SVar:TrigProcess:DB$ ChooseCard | ChoiceZone$ Exile | Choices$ Card.OppOwn | Amount$ 1 | RememberChosen$ True | SubAbility$ DBChangeZone
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Exile | Destination$ Graveyard | Defined$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBPump
SVar:DBPump:DB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True
http://www.wizards.com/global/images/magic/general/wasteland_strangler.jpg
Oracle:Devoid (This card has no color.)\nWhen Wasteland Strangler enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, target creature gets -3/-3 until end of turn.
- Code: Select all
Name:Angelic Captain
ManaCost:3 R W
Types:Creature Angel Ally
PT:4/3
K:Flying
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other attacking Ally.
SVar:TrigPump:AB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X
SVar:X:Count$Valid Ally.attacking+Other
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_captain.jpg
Oracle:Flying\nWhenever Angelic Captain attacks, it gets +1/+1 until end of turn for each other attacking Ally.
Re: Battle for Zendikar spoiler season
by Marek14 » 15 Sep 2015, 16:54
Noticed that the Processors are all optional; I corrected code for Ulamog's Nullifier, but Blight Herder which is already uploaded needs to have "OptionalDecider$ You" added
Re: Battle for Zendikar spoiler season
by Agetian » 15 Sep 2015, 18:00
I added OptionalDecider$ You in r30007, can you please check if it's added in the correct place?Marek14 wrote:Noticed that the Processors are all optional; I corrected code for Ulamog's Nullifier, but Blight Herder which is already uploaded needs to have "OptionalDecider$ You" added
- Agetian
- Agetian
- Programmer
- Posts: 3489
- Joined: 14 Mar 2011, 05:58
- Has thanked: 684 times
- Been thanked: 572 times
Re: Battle for Zendikar spoiler season
by Marek14 » 15 Sep 2015, 20:49
- Code: Select all
Name:Scour from Existence
ManaCost:7
Types:Instant
A:SP$ ChangeZone | Cost$ 7 | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target permanent.
SVar:Picture:http://www.wizards.com/global/images/magic/general/scour_from_existence.jpg
Oracle:Exile target permanent.
Re: Battle for Zendikar spoiler season
by Marek14 » 16 Sep 2015, 05:24
- Code: Select all
Name:Blighted Cataract
ManaCost:no cost
Types:Land
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add {1} to your mana pool.
A:AB$ Draw | Cost$ 5 U T Sac<1/CARDNAME> | NumCards$ 2 | SpellDescription$ Draw two cards.
SVar:Picture:http://www.wizards.com/global/images/magic/general/blighted_cataract.jpg
Oracle:{T}: Add {1} to your mana pool.\n{5}{U}, {T}, Sacrifice Blighted Cataract: Draw 2 cards.
Re: Battle for Zendikar spoiler season
by Hanmac » 16 Sep 2015, 13:00
took parts from Somberwald Sage for it:
- Code: Select all
Name:Beastcaller Expert
ManaCost:1 G
Types:Creature Elf Shaman Ally
PT:1/1
K:Haste
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | RestrictValid$ Card.Creature | SpellDescription$ Add 1 mana of any color to your mana pool. Use this mana only to cast creature spells.
SVar:Picture:http://www.wizards.com/global/images/magic/general/beastcaller_expert.jpg
Oracle:Haste\n{T}: Add 1 mana of any color to your mana pool. Use this mana only to cast creature spells.
Re: Battle for Zendikar spoiler season
by Marek14 » 16 Sep 2015, 16:03
- Code: Select all
Name:Drana, Liberator of Malakir
ManaCost:1 B B
Types:Legendary Creature Vampire Ally
PT:2/3
K:Flying
K:First Strike
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounters | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a +1/+1 counter on each attacking creature you control.
SVar:TrigPutCounters:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.YouCtrl+attacking | CounterType$ P1P1 | CounterNum$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/drana_liberator_of_malakir.jpg
Oracle:Flying, first strike\nWhenever Drana, Liberator of Malakir deals combat damage to a player, put a +1/+1 counter on each attacking creature you control.
- Code: Select all
Name:Culling Drone
ManaCost:1 B
Types:Creature Eldrazi Drone
PT:2/2
K:Devoid
K:Ingest
SVar:Picture:http://www.wizards.com/global/images/magic/general/culling_drone.jpg
Oracle:Devoid (This card has no color.)\nIngest (Whenever this creature deals combat damage to a player, that player exiles the top card of his or her library.)
- Code: Select all
Name:Benthic Infiltrator
ManaCost:2 U
Types:Creature Eldrazi Drone
PT:1/4
K:Devoid
K:Ingest
K:Unblockable
SVar:Picture:http://www.wizards.com/global/images/magic/general/benthic_infiltrator.jpg
Oracle:Devoid (This card has no color.)\nIngest (Whenever this creature deals combat damage to a player, that player exiles the top card of his or her library.)\nBenthic Infiltrator can't be blocked.
- Code: Select all
Name:Murk Strider
ManaCost:3 U
Types:Creature Eldrazi Processor
PT:3/2
K:Devoid
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Self | Execute$ TrigProcess | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target creature to its owner's hand.
SVar:TrigProcess:DB$ ChooseCard | ChoiceZone$ Exile | Choices$ Card.OppOwn | Amount$ 1 | RememberChosen$ True | SubAbility$ DBChangeZone1
SVar:DBChangeZone1:DB$ ChangeZone | Origin$ Exile | Destination$ Graveyard | Defined$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBChangeZone2
SVar:DBChangeZone2:DB$ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True
http://www.wizards.com/global/images/magic/general/murk_strider.jpg
Oracle:Devoid (This card has no color.)\nWhen Murk Strider enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target creature to its owner's hand.
- Code: Select all
Name:Mind Raker
ManaCost:3 B
Types:Creature Eldrazi Processor
PT:3/3
K:Devoid
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Self | Execute$ TrigProcess | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, each opponent discards a card.
SVar:TrigProcess:DB$ ChooseCard | ChoiceZone$ Exile | Choices$ Card.OppOwn | Amount$ 1 | RememberChosen$ True | SubAbility$ DBChangeZone
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Exile | Destination$ Graveyard | Defined$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBDiscard
SVar:DBDiscard:DB$ Discard | Defined$ Opponent | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True
http://www.wizards.com/global/images/magic/general/mind_raker.jpg
Oracle:Devoid (This card has no color.)\nWhen Mind Raker enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, each opponent discards a card.
- Code: Select all
Name:Complete Disregard
ManaCost:2 B
Types:Instant
K:Devoid
A:SP$ ChangeZone | Cost$ 2 B | ValidTgts$ Creature.powerLE3 | TgtPrompt$ Select target creature with power 3 or less | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature with power 3 or less.
SVar:Picture:http://www.wizards.com/global/images/magic/general/complete_disregard.jpg
Oracle:Devoid (This card has no color.)\nExile target creature with power 3 or less.
- Code: Select all
Name:Guul Draz Overseer
ManaCost:4 B B
Types:Creature Vampire
PT:3/4
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPumpAll | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, other creatures you control get +1/+0 until end of turn. If that land is a Swamp, those creatures get +2/+0 until end of turn instead.
SVar:TrigPumpAll:AB$PumpAll | Cost$ 0 | ValidCards$ Creature.other+YouCtrl | NumAtt$ X | References$ X
SVar:X:TriggeredCard.Swamp/Plus.1
SVar:Picture:http://www.wizards.com/global/images/magic/general/guul_draz_overseer.jpg
Oracle:Flying\nLandfall — Whenever a land enters the battlefield under your control, other creatures you control get +1/+0 until end of turn. If that land is a Swamp, those creatures get +2/+0 until end of turn instead.
Last edited by Marek14 on 16 Sep 2015, 20:28, edited 1 time in total.
Re: Battle for Zendikar spoiler season
by Hanmac » 16 Sep 2015, 16:25
you forgot the Legendary for Drana, Liberator of Malakir
but the trigger description is wrong because Drana says player and not opponent
Murk Strider does have two SVar:DBChangeZone does that even work like that and dont you need a second name?
for Complete Disregard, Cost$ 7 is wrong and need to be changed to the spells mana cost
but the trigger description is wrong because Drana says player and not opponent
Murk Strider does have two SVar:DBChangeZone does that even work like that and dont you need a second name?
for Complete Disregard, Cost$ 7 is wrong and need to be changed to the spells mana cost
Re: Battle for Zendikar spoiler season
by Marek14 » 16 Sep 2015, 20:28
Thanks, Hanmac, corrected all three.
Re: Battle for Zendikar spoiler season
by Marek14 » 16 Sep 2015, 20:37
Not sure how to do Gruesome Slaughter (how to specify that each affected creature will deal damage equal to its own power?).
But when researching, I found that Flame Fusillade is still implemented wrong, so I'd like to contribute this correction:
But when researching, I found that Flame Fusillade is still implemented wrong, so I'd like to contribute this correction:
- Code: Select all
Name:Flame Fusillade
ManaCost:3 R
Types:Sorcery
A:SP$ AnimateAll | Cost$ 3 R | ValidCards$ Permanent.YouCtrl | Abilities$ FFAbs | SpellDescription$ Until end of turn, permanents you control gain "{T}: This permanent deals 1 damage to target creature or player."
SVar:FFAbs:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_fusillade.jpg
Oracle:Until end of turn, permanents you control gain "{T}: This permanent deals 1 damage to target creature or player."
Re: Battle for Zendikar spoiler season
by friarsol » 16 Sep 2015, 21:14
Just animate a unique variable onto the card when you provide the Ability, just like in Brawl.Marek14 wrote:Not sure how to do Gruesome Slaughter (how to specify that each affected creature will deal damage equal to its own power?).
- Code: Select all
A:SP$ AnimateAll | Cost$ 6 | ValidCards$ Creature.YouCtrl+Colorless | Abilities$ GruesomeAbs | sVars$ GruesomePower | SpellDescription$ Until end of turn, colorless creatures you control gain "{T}: This creature deals damage equal to its power to target creature."
SVar:GruesomeAbs:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ GruesomePower | SpellDescription$ CARDNAME deals 1 damage to target creature.
SVar:GruesomePower:Count$CardPower
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Battle for Zendikar spoiler season
by Marek14 » 16 Sep 2015, 21:40
Found Brawl as well when reading through Salvation thread about the card; so then it's just a trivial modification:
- Code: Select all
Name:Gruesome Slaughter
ManaCost:6
Types:Instant
A:SP$ AnimateAll | Cost$ 6 | ValidCards$ Creature.Colorless+YouCtrl | Abilities$ ThrowPunch | sVars$ GruesomeX | SpellDescription$ Until end of turn, colorless creatures you control gain "{T}: This creature deals damage equal to its power to target creature."
SVar:ThrowPunch:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ GruesomeX | References$ GruesomeX | SpellDescription$ This creature deals damage equal to its power to target creature.
SVar:GruesomeX:Count$CardPower
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/gruesome_slaughter.jpg
Oracle:Until end of turn, colorless creatures you control gain "{T}: This creature deals damage equal to its power to target creature."
Who is online
Users browsing this forum: No registered users and 73 guests