It is currently 30 Oct 2025, 06:42
   
Text Size

Shadows over Innistrad spoiler season

Post MTG Forge Related Programming Questions Here

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

Re: Shadows over Innistrad spoiler season

Postby friarsol » 08 Mar 2016, 15:27

Marek14 wrote:As for Declaration in Stone, it says that you investigate multiple times, and investigate is defined as creating one token.
Yea but whats the functional difference between creating X tokens and creating one token X times?

Edit: Let me clarify that, we already do a loop inside tokens. We don't really have a way to add multiple cards simultaneously, so doing Repeat X into Create Token, shouldn't really be different than just Create X tokens.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 08 Mar 2016, 15:28

Hanmac wrote:for Delirium can't we use "Count$CardTypes.Graveyard" like from Tarmogoyf ?
It's better to be it's own property like Metalcraft. I already added some support for that.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 08 Mar 2016, 15:40

friarsol wrote:
Marek14 wrote:As for Declaration in Stone, it says that you investigate multiple times, and investigate is defined as creating one token.
Yea but whats the functional difference between creating X tokens and creating one token X times?

Edit: Let me clarify that, we already do a loop inside tokens. We don't really have a way to add multiple cards simultaneously, so doing Repeat X into Create Token, shouldn't really be different than just Create X tokens.
Well, I can imagine some hypothetical interactions where artifacts enter the battlefield as a copy of something with a "whenever an artifact enters the battlefield", though I'm not aware of anything that would matter right now.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 11 Mar 2016, 16:05

Code: Select all
Name:Pious Evangel
ManaCost:2 W
Types:Creature Human Cleric
PT:2/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield under your control, you gain 1 life.
T:Mode$ ChangesZone | ValidCard$ Creature.Other+YouCtrl | Origin$ Any | Destination$ Battlefield | Execute$ TrigGainLife | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield under your control, you gain 1 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 1
A:AB$SetState | Cost$ 2 T  Sac<1/Permanent.Other/another permanent> | Defined$ Self | Mode$ Transform | SpellDescription$ Transform CARDNAME.
SVar:Picture:http://www.wizards.com/global/images/magic/general/pious_evangel.jpg
AlternateMode:DoubleFaced
Oracle:Whenever Pious Evangel or another creature enters the battlefield under your control, you gain 1 life.\n{2},{T}, Sacrifice another permanent: Transform Pious Evangel.

ALTERNATE

Name:Wayward Disciple
ManaCost:no cost
Colors:black
Types:Creature Human Cleric
PT:2/4
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever CARDNAME or another creature you control dies, target opponent loses 1 life and you gain 1 life.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDrain | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature you control dies, target opponent loses 1 life and you gain 1 life.
SVar:TrigDrain:AB$LoseLife | Cost$ 0 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/wayward_disciple.jpg
Oracle:Whenever Wayward Disciple or another creature you control dies, target opponent loses 1 life and you gain 1 life.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 11 Mar 2016, 18:29

Code: Select all
Name:Forsaken Sanctuary
ManaCost:no cost
Types:Land
K:CARDNAME enters the battlefield tapped.
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B} to your mana pool.
SVar:Picture:http://www.wizards.com/global/images/magic/general/forsaken_sanctuary.jpg
Oracle:Forsaken Sanctuary enters the battlefield tapped.\n{T}: Add {W} or {B} to your mana pool.
Code: Select all
Name:Foul Orchard
ManaCost:no cost
Types:Land
K:CARDNAME enters the battlefield tapped.
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G} to your mana pool.
SVar:Picture:http://www.wizards.com/global/images/magic/general/foul_orchard.jpg
Oracle:Foul Orchard enters the battlefield tapped.\n{T}: Add {B} or {G} to your mana pool.
Code: Select all
Name:Highland Lake
ManaCost:no cost
Types:Land
K:CARDNAME enters the battlefield tapped.
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R} to your mana pool.
SVar:Picture:http://www.wizards.com/global/images/magic/general/highland_lake.jpg
Oracle:Highland Lake enters the battlefield tapped.\n{T}: Add {U} or {R} to your mana pool.
Code: Select all
Name:Stone Quarry
ManaCost:no cost
Types:Land
K:CARDNAME enters the battlefield tapped.
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W} to your mana pool.
SVar:Picture:http://www.wizards.com/global/images/magic/general/stone_quarry.jpg
Oracle:Stone Quarry enters the battlefield tapped.\n{T}: Add {R} or {W} to your mana pool.
Code: Select all
Name:Woodland Stream
ManaCost:no cost
Types:Land
K:CARDNAME enters the battlefield tapped.
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U} to your mana pool.
SVar:Picture:http://www.wizards.com/global/images/magic/general/woodland_stream.jpg
Oracle:Woodland Stream enters the battlefield tapped.\n{T}: Add {G} or {U} to your mana pool.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 14 Mar 2016, 19:49

Code: Select all
Name:Anguished Unmaking
ManaCost:1 W B
Types:Instant
A:SP$ ChangeZone | Cost$ 1 W B | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand | SubAbility$ DBLoseLife | RememberLKI$ True | SpellDescription$ Exile target nonland permanent. You lose 3 life.
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 3
SVar:Picture:http://www.wizards.com/global/images/magic/general/anguished_unmaking.jpg
Oracle:Exile target nonland permanent. You lose 3 life.
Code: Select all
Name:Sinister Concoction
ManaCost:B
Types:Enchantment
A:AB$ Destroy | Cost$ B PayLife<1> Mill<1> Discard<1/Card> Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/sinister_concoction.jpg
Oracle:{B}, Pay 1 life, Put the top card of your library into your graveyard, Discard a card, Sacrifice Sinister Concoction: Destroy target creature.
Code: Select all
Name:Drogskol Cavalry
ManaCost:5 W W
Types:Creature Spirit Knight
PT:4/4
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Spirit.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever another Spirit enters the battlefield under your control, you gain 2 life.
SVar:TrigGainLife:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 2
A:AB$ Token | Cost$ 3 W | TokenAmount$ 1 | TokenName$ Spirit | TokenTypes$ Creature,Spirit | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying | TokenImage$ w 1 1 spirit SOI | SpellDescription$ Put a 1/1 white Spirit creature token with flying onto the battlefield.
SVar:Picture:Picture:http://www.wizards.com/global/images/magic/general/drogskol_cavalry.jpg
Oracle:Flying\nWhenever another Spirit enters the battlefield under your control, you gain 2 life.\n{3}{W}: Put a 1/1 white Spirit creature token with flying onto the battlefield.
Code: Select all
Name:Nephalia Moondrakes
ManaCost:5 U U
Types:Creature Drake
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature gains flying until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ Flying
A:AB$ PumpAll | Cost$ 4 U U ExileFromGrave<1/CARDNAME> | ActivationZone$ Graveyard | ValidCards$ Creature.YouCtrl | KW$ Flying | SpellDescription$ Creatures you control gain flying until end of turn.
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/nephalia_moondrakes.jpg
Oracle:Flying\nWhen Nephalia Moondrakes enters the battlefield, target creature gains flying until end of turn.\n{4}{U}{U}, Exile Nephalia Moondrakes from your graveyard: Creatures you control gain flying until end of turn.
Code: Select all
Name:Nahiri, the Harbinger
ManaCost:2 R W
Types:Planeswalker Nahiri
Loyalty:4
A:AB$ Discard | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | NumCards$ 1 | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ You may discard a card. If you do, draw a card.
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$Amount
A:AB$ ChangeZone | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Enchantment,Artifact.tapped,Creature.tapped | TgtPrompt$ Select target enchantment, tapped artifact, or tapped creature | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target enchantment, tapped artifact, or tapped creature.
A:AB$ ChangeZone | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact,Creature | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBPump | SpellDescription$ Search your library for an artifact or creature card, put it onto the battlefield, then shuffle your library. It gains haste. Return it to your hand at the beginning of the next end step.
SVar:DBPump:DB$ Animate | Keywords$ Haste | sVars$ SneakAttackEOT | Defined$ Remembered | SubAbility$ DelTrig
SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigBounce | RememberObjects$ Remembered | TriggerDescription$ Retturn the permanent to its owner's hand at the beginning of the next end step. | SubAbility$ DBCleanup | AILogic$ Always | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1
SVar:TrigBounce: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/nahiri_the_harbinger.jpg
Oracle:[+2]: You may discard a card. If you do, draw a card.\n[-2]: Exile target enchantment, tapped artifact, or tapped creature.\n[-8]: Search your library for an artifact or creature card, put it onto the battlefield, then shuffle your library. It gains haste. Return it to your hand at the beginning of the next end step.
Note1: Please, test her well!
Note2: Currently, our Planeswalker Oracle texts don't have activation colons (they are written as [Cost] Effect), but I think they should have them ([Cost]: Effect) since the colons are present on the cards themselves.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 14 Mar 2016, 19:54

Code: Select all
Name:Neglected Heirloom
ManaCost:1
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddToughness$ 1 | Description$ Equipped creature gets +1/+1.
T:Mode$ Transformed | ValidCard$ Creature.EquippedBy | Execute$ TrigTransform | TriggerDescription$ When equipped creature transforms, transform CARDNAME.
SVar:TrigTransform:AB$ SetState | Cost$ 0 | Defined$ Self | Mode$ Transform
K:Equip 1
SVar:Picture:http://www.wizards.com/global/images/magic/general/neglected_heirloom.jpg
AlternateMode:DoubleFaced
Oracle:Equipped creature gets +1/+1.\nWhen equipped creature transforms, transform Neglected Heirloom.\nEquip {1}

ALTERNATE

Name:Ashmouth Blade
ManaCost:no cost
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 3 | AddToughness$ 3 | AddKeyword$ First Strike | Description$ Equipped creature gets +3/+3 and has first strike.
K:Equip 3
SVar:Picture:http://www.wizards.com/global/images/magic/general/ashmouth_blade.jpg
Oracle:Equipped creature gets +3/+3 and has first strike.\nEquip {3}
Code: Select all
Name:Wolf of Devil's Breach
ManaCost:3 R R
Types:Creature Elemental Wolf
PT:5/5
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks, you may pay {1}{R} and discard a card. If you do, CARDNAME deals damage to target creature or planeswalker equal to the discarded card's converted mana cost.
SVar:TrigDamage:AB$ DealDamage | Cost$ 1 R Discard<1/Card> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X
SVar:X:Discarded$CardManaCost
SVar:Picture:http://www.wizards.com/global/images/magic/general/wolf_of_devils_breach.jpg
Oracle:Whenever Wolf of Devil's Breach attacks, you may pay {1}{R} and discard a card. If you do, Wolf of Devil's Breach deals damage to target creature or planeswalker equal to the discarded card's converted mana cost.
Does Discarded$CardManaCost work correctly in this case (resolution of triggered ability)?
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 15 Mar 2016, 07:41

Code: Select all
Name:Sage of Ancient Lore
ManaCost:4 G
Types:Creature Human Shaman Werewolf
PT:*/*
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand.
SVar:X:Count$InYourHand
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card.
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1
T:Mode$ Phase | Phase$ Upkeep | WerewolfTransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if no spells were cast last turn, transform CARDNAME.
SVar:TrigTransform:AB$ SetState | Cost$ 0 | Defined$ Self | Mode$ Transform
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/sage_of_ancient_lore.jpg
AlternateMode:DoubleFaced
Oracle:Sage of Ancient Lore's power and toughness are each equal to the number of cards in your hand.\nWhen Sage of Ancient Lore enters the battlefield, draw a card.\nAt the beginning of each upkeep, if no spells were cast last turn, transform Sage of Ancient Lore.

ALTERNATE

Name:Werewolf of Ancient Hunger
ManaCost:no cost
Colors:green
Types:Creature Werewolf
PT:*/*
K:Vigilance
K:Trample
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands.
SVar:X:Count$NumInAllHands
T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME.
SVar:TrigTransform:AB$ SetState | Cost$ 0 | Defined$ Self | Mode$ Transform
SVar:Picture:http://www.wizards.com/global/images/magic/general/werewolf_of_ancient_hunger.jpg
Oracle:Vigilance, trample\nWerewolf of Ancient Hunger's power and toughness are each equal to the total number of cards in all players' hands.\nAt the beginning of each upkeep, if a player cast two or more spells last turn, transform Werewolf of Ancient Hunger.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 15 Mar 2016, 10:47

Marek14: i don't know if you try something before, but i want to do the Delirium cards.
first the easy ones like Toppelgeist.
i want to code them like Metalcraft with "Condition$ Delirium"

now my Question: for that Demon which does have a negative check, how do i do that? i need to add a pay life if met or can i negate the "Condition$" ?
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 15 Mar 2016, 13:35

I don't think I've seen that particular construction, sorry.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 15 Mar 2016, 13:50

Hanmac wrote:now my Question: for that Demon which does have a negative check, how do i do that? i need to add a pay life if met or can i negate the "Condition$" ?
There isn't a way to negate the condition right now. You can do some advanced scripting techniques, like this:

Trigger Clause
Set a Variable to 0
If Delirium, set the variable to 1
If variable == 0, lose life

Code: Select all
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDelirium
SVar:TrigDelirium:DB$ StoreSVar | SVar$ Delirious | Type$ Number | Expression$ 0 | SubAbility$ DBCheckDelirium
SVar:DBCheckDelirium:DB$ StoreSVar | SVar$ Delirious | Type$ Number | Expression$ 1 | Condition$ Delirium | SubAbility$ SVar:DBLoseLife
SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ Delirious | ConditionSVarCompare$ EQ0 | References$ Delirious
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 15 Mar 2016, 14:31

friarsol wrote:
Hanmac wrote:now my Question: for that Demon which does have a negative check, how do i do that? i need to add a pay life if met or can i negate the "Condition$" ?
There isn't a way to negate the condition right now. You can do some advanced scripting techniques, like this:

Trigger Clause
Set a Variable to 0
If Delirium, set the variable to 1
If variable == 0, lose life

Code: Select all
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDelirium
SVar:TrigDelirium:DB$ StoreSVar | SVar$ Delirious | Type$ Number | Expression$ 0 | SubAbility$ DBCheckDelirium
SVar:DBCheckDelirium:DB$ StoreSVar | SVar$ Delirious | Type$ Number | Expression$ 1 | Condition$ Delirium | SubAbility$ SVar:DBLoseLife
SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ Delirious | ConditionSVarCompare$ EQ0 | References$ Delirious
Or maybe you could use construction like in Galvanic Blast. Lose X life with X defined as
Code: Select all
SVar:X:Count$Delirium.0.4
The trigger doesn't have intervening if condition, so this should work.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 15 Mar 2016, 14:43

Now that "To the Slaughter" is spoiled, it might be worth having a negated Condition, since in past we have just used the Count trick that Marek posted. But for this one it's really two different effects. Instead of a "boosted" effect.

Edit: Oh wait, that's actually not true. Gruesome Discovery

Code: Select all
A:SP$ Discard | Cost$ 2 B B | ValidTgts$ Player | Mode$ TgtChoose | NumCards$ 2 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ EQ0 | SubAbility$ MorbidDiscard | SpellDescription$ Target player discards two cards.
SVar:MorbidDiscard:DB$ Discard | Defined$ Targeted | Mode$ RevealYouChoose | NumCards$ 2 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 | References$ Morbid | SpellDescription$ Morbid - If a creature died this turn, instead that player reveals his or her hand, you choose two cards from it, then that player discards those cards.
SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 15 Mar 2016, 15:58

Oh boy, this will be a complex one. New planeswalker type needs adding, of course, and will need lots of testing like every planeswalker...
Code: Select all
Name:Arlinn Kord
ManaCost:2 R G
Types:Planeswalker Arlinn
Loyalty:3
A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumAtt$ +2 | NumDef$ +2 | KW$ Vigilance & Haste | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Until end of turn, up to one target creature gets +2/+2 and gains vigilance and haste.
A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenName$ Wolf | TokenColors$ Green | TokenTypes$ Creature,Wolf | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenImage$ g 2 2 wolf SOI | Planeswalker$ True | SubAbility$ DBTransform | SpellDescription$ Put a 2/2 green Wolf creature token onto the battlefield. Transform CARDNAME.
SVar:Transform:DB$ SetState | Defined$ Self | Mode$ Transform
AlternateMode:DoubleFaced
SVar:Picture:http://www.wizards.com/global/images/magic/general/arlinn_kord.jpg
Oracle:[+1]: Until end of turn, up to one target creature gets +2/+2 and gains vigilance and haste.\n[0]: Put a 2/2 green Wolf creature token onto the battlefield. Transform Arlinn Kord.

ALTERNATE

Name:Arlinn, Embraced by the Moon
ManaCost:no cost
Colors:red,green
Types:Planeswalker Arlinn
Loyalty:0
A:AB$ PumpAll | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | NumDef$ +1 | KW$ Trample | SpellDescription$ Creatures you control get +1/+1 and gain trample until end of turn.
A:AB$ DealDamage | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 3 | SubAbility$ DBTransform | SpellDescription$ CARDNAME deals 3 damage to target creature or player. Transform CARDNAME.
SVar:Transform:DB$ SetState | Defined$ Self | Mode$ Transform
A:AB$ Effect | Cost$ SubCounter<6/LOYALTY> | Name$ Arlinn, Embraced by the Moon emblem | Image$ arlinn_embraced_by_the_moon_emblem | StaticAbilities$ STArlinn | Planeswalker$ True | Ultimate$ True | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to target creature or player.'"
SVar:STDomri:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.YouCtrl | AffectedZone$ Battlefield | AddKeyword$ Haste | AddAbility$ ABDealDamage | sVars$ ArlinnX
SVar:ABDealDamage:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ ArlinnX | References$ ArlinnX | SpellDescription$ This creature deals damage equal to its power to target creature or player.
SVar:ArlinnX:Count$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/arlinn_embraced_by_the_moon.jpg
Oracle:[+1]: Creatures you control get +1/+1 and gain trample until end of turn.\n[-1]: Arlinn, Embraced by the Moon deals 3 damage to target creature or player. Transform Arlinn, Embraced by the Moon.\n[-6]: You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to target creature or player.'"
Note: Seems Garruk Relentless has a superfluous References$ Y text in its token producing code that has no need for it. Also, should he have Loyalty line on his back face? For now, I kept it on Arlinn, but set loyalty to 0 since if she entered the battlefield transformed, she should have no loyalty counters. I think Garruk should have 0 there as well.
Marek14
Tester
 
Posts: 2774
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 15 Mar 2016, 16:18

Hanmac: As for Delirium, swordshine has added Hound of the Farbogs, so the ability is implemented. The currently known cards with delirium are:

Angel of Deliverance, Topplegeist, Tooth Collector, Soul Swallower - intervening if condition on trigger
Descend upon the Sinful, Invasive Surgery - extra spell effect
Reaper of Flight Moonsilver - activation condition
Mindwrack Demon - "unless" trigger
To the Slaughter - alternate spell effect

An example:

Code: Select all
Name:Angel of Deliverance
ManaCost:6 W W
Types:Creature Angel
PT:6/6
T:Mode$ DamageDone | ValidSource$ Card.Self | Execute$ TrigChange | Condition$ Delirium | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, if there are four or more card types among cards in your graveyard, exile target creature an opponent controls.
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | Origin$ Battlefield | Destination$ Exile
SVar:HasCombatEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/angel_of_deliverance.jpg
Oracle:Flying\nDelirium - Whenever Angel of Deliverance deals damage, if there are four or more card types among cards in your graveyard, exile target creature an opponent controls.
(My obligatory plea for proper implementation of "deals damage" triggers so they would only trigger once even if damage is dealt to multiple things.)
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 8 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form