It is currently 08 Sep 2025, 10:57
   
Text Size

Shadows over Innistrad spoiler season

Post MTG Forge Related Programming Questions Here

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

Re: Shadows over Innistrad spoiler season

Postby Marek14 » 29 Mar 2016, 07:45

Not sure whether Prized Amalgam is supposed to trigger on its own return from graveyard. I think it should not.

You might also use your Gryff's Boon to implement Accursed Witch, I think :)
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 29 Mar 2016, 07:55

for if the Prized Amalgam does not, just add +Other to the ability (it doesn't has other in the card text so i am unsure) for that we can wait for the ruling.

i also add YouOwn to the second ability too, because of Havengul Lich you might cast from other graveyards too.
PS: Havengul Lich is still somehow broken because when i want to cast that creature i get TWO pay methods shown but it only should be one.

hm yeah i can try to do Accursed Witch, i will do it later,
for now i try Fevered Visions and Olivia, Mobilized for War
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 » 29 Mar 2016, 08:00

Well, the trigger is still not perfect -- if an OPPONENT uses Havengul Lich on your creature, it will be a creature you own AND cast from graveyard, but it should still not trigger Prized Amalgam :)

As I wrote before, ideally, Prized Amalgam should work correctly even with Perplexing Chimera; I think we need explicit way to determine who cast a particular spell. Since there is a spell log (for Storm and similar), this shouldn't be that complicated.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 29 Mar 2016, 08:09

i added YouOwn+YouCtrl to the second trigger. that should fix it,
the first one is not triggered by cast, so if enemy does use the Lich, it should not trigger.
as for with the Chimera, i personally don't know what should happen.

Coding the Fevered card now.
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 » 29 Mar 2016, 08:15

Hanmac wrote:i added YouOwn+YouCtrl to the second trigger. that should fix it,
the first one is not triggered by cast, so if enemy does use the Lich, it should not trigger.
as for with the Chimera, i personally don't know what should happen.

Coding the Fevered card now.
Well, Perplexing Chimera (or Gather Specimens -- another problem card) show that it doesn't matter who controls the card as it enters the battlefield; it only matters who actually cast it. This is somewhat of a blind spot (see cards like Coal Stoker that seem to have the same problem). Maybe somebody will try and fix it? Simplest would be to add some sort of "castBy" property that is true for a spell if it was cast by a player with given properties (You, Opponent, etc.) and that is true for a permanent if it got to the battlefield by being cast and if the property held for its spell form.
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 29 Mar 2016, 09:10

can someone look at this?

Code: Select all
Name:Fevered Visions
ManaCost:1 U R
Types:Enchantment

T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of each player's end step, that player draws a card. If the player is your opponent and has four or more cards in hand, CARDNAME deals 2 damage to him or her.
SVar:TrigDraw:AB$ Draw | Cost$ 0 | NumCards$ 1 | Defined$ TriggeredPlayer | SubAbility$ TrigDamageOpp
SVar:TrigDamageOpp:DB$DealDamage | Cost$ 0 | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionOpponentTurn$ True | CheckSVar$ TrigCount | SVarCompare$ GE4
SVar:TrigCount:Count$ValidHand Card.ActivePlayerCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/fevered_visions.jpg
Oracle:At the beginning of each player's end step, that player draws a card. If the player is your opponent and has four or more cards in hand, Fevered Visions deals 2 damage to him or her.
i used Dictate of Kruphix and Ebony Owl Netsuke and thanks to friarsol it does work.
Last edited by Hanmac on 29 Mar 2016, 16:35, edited 2 times in total.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 29 Mar 2016, 10:19

Code: Select all
Name:Accursed Witch
ManaCost:3 B
Types:Creature Human Shaman
PT:4/2

S:Mode$ ReduceCost | ValidTarget$ Card.Self | Activator$ Player.Opponent | Type$ Spell | Amount$ 1 | Description$ Spells your opponents cast that target CARDNAME cost {1} less to cast.

T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChoose | TriggerDescription$ When CARDNAME dies, return it to the battlefield transformed under your control attached to target opponent.

SVar:TrigChoose:AB$ Pump | Cost$ 0 | ValidTgts$ Opponent | TgtPrompt$ Choose a opponent | IsCurse$ True | SubAbility$ DBChange
SVar:DBChange:DB$ ChangeZone | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Battlefield | AttachedToPlayer$ ParentTarget | Transformed$ True | GainControl$ True

SVar:Picture:http://www.wizards.com/global/images/magic/general/accursed_witch.jpg
AlternateMode:DoubleFaced
Oracle:Spells your opponents cast that target Accursed Witch cost 1 less to cast.\nWhen Accursed Witch dies, return it to the battlefield transformed under your control attached to target opponent.

ALTERNATE

Name:Infectious Curse
ManaCost:no cost
Colors:black
Types:Enchantment Aura Curse
K:Enchant player

A:SP$ Attach | Cost$ 0 | ValidTgts$ Player | AILogic$ Curse

S:Mode$ ReduceCost | ValidTarget$ Player.EnchantedBy | Activator$ You | Type$ Spell | Amount$ 1 | Description$ Spells you cast that target enchanted player cost {1} less to cast.

T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.EnchantedBy | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ At the beginning of enchanted player's upkeep, that player loses one life and you gain one life.
SVar:TrigDrain:AB$ LoseLife | Cost$ 0 | Defined$ TriggeredPlayer | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1

SVar:Picture:http://www.wizards.com/global/images/magic/general/infectious_curse.jpg
Oracle:Spells you cast that target enchanted player cost {1} less to cast.\nAt the beginning of enchanted player's upkeep, that player loses one life and you gain one life.
used part of Elderwood Scion + Soul Seizer + Drana's Emissary + Necrotic Plague
Last edited by Hanmac on 30 Mar 2016, 06:33, edited 4 times in total.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby Hanmac » 29 Mar 2016, 10:53

Code: Select all
Name:Corrupted Grafstone
ManaCost:2
Types:Artifact
K:CARDNAME enters the battlefield tapped.
A:AB$ ManaReflected | Cost$ T | ColorOrType$ Color | Valid$ Defined.ValidGraveyard Card.YouOwn | ReflectProperty$ Is | SpellDescription$ Choose a color of a permanent you control. Add one mana of that color to your mana pool.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/corrupted_grafstone.jpg
Oracle:Corrupted Grafstone enters the battlefield tapped.\n{T}: Choose a color of a card in your graveyard. Add one mana of that color to your mana pool.
uses part of Meteor Crater
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 29 Mar 2016, 12:45

Disabling double transform needs to be added in the Forge engine, it's not a bug per se, since it's a rule change. It's just a feature that hasn't been added yet.
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 Hanmac » 29 Mar 2016, 12:54

@friarsol you are a Programmer can you look why Madness does not allow X in the Madness cost?

Or why Accursed Witch does not return to the battlefield transformed? It might be a targeting problem that it does try to return as creature first.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 29 Mar 2016, 14:23

Hanmac wrote:Or why Accursed Witch does not return to the battlefield transformed? It might be a targeting problem that it does try to return as creature first.
I doubt the AttachedTo in ChangeZone works with Players. Is there any precedent?

I see Bitterheart Witch.. which incorrectly doesn't target in it's trigger, even though it should.
And Curse of Misfortunes which is pretty close, but is a HiddenOrigin as opposed to a known origin. I just added the "AttachedToPlayer" block to the known origin half of ChangeZone.
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 Hanmac » 29 Mar 2016, 15:29

@friarsol ah ok i thought it was possible too.
thanks for adding it, i added it in the card above.

for Not Forgotten,
can you do add DestinationChoice to ChangeZone like it was to Counter? it would make it more easy, i try it with GenericChoice like in Arashin Sovereign but it did not work.

PS: if you can too, can you look at Fevered Visions, i did TriggeredPlayer+Opponent but i don't know what i did wrong :/
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 29 Mar 2016, 16:03

Hanmac wrote:for Not Forgotten,
can you do add DestinationChoice to ChangeZone like it was to Counter? it would make it more easy, i try it with GenericChoice like in Arashin Sovereign but it did not work.

PS: if you can too, can you look at Fevered Visions, i did TriggeredPlayer+Opponent but i don't know what i did wrong :/
DestinationChoice in ChangeZone would be opening a can of worms. It should work fine with the current GenericChoice mechanism that several cards use.

With Fevered Visions you seem to be combining scripting used for Valid with scripting used for Defined. You (typically) can't do both. Can't you just check if the turn is an opponent's turn for the damage clause?

Code: Select all
SVar:TrigDamageOpp:DB$DealDamage | Cost$ 0 | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionOpponentTurn$ True | CheckSVar$ TrigCount | SVarCompare$ GE4
Here's a fixed script for From under the Floorboards -

Code: Select all
Name:From Under the Floorboards
ManaCost:3 B B
Types:Sorcery
K:Madness:X B B
A:SP$ Token | Cost$ 3 B B | TokenImage$ B 2 2 Zombie SOI | TokenAmount$ Y | References$ X,Y | TokenName$ Zombie | TokenTypes$ Creature,Zombie | TokenOwner$ You | TokenPower$ 2 | TokenToughness$ 2 | TokenColors$ Black |  TokenTapped$ True | SubAbility$ DBGainLife | SpellDescription$ Put X 2/2 black Zombie creature tokens onto the battlefield tapped and you gain X life.
SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | References$ Y
SVar:Y:Count$Madness.X.3
SVar:X:Count$xPaid
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 Hanmac » 29 Mar 2016, 16:41

thanks for fixing the Visions card and the Madness X cards.
Last edited by Hanmac on 29 Mar 2016, 16:52, edited 1 time in total.
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Shadows over Innistrad spoiler season

Postby friarsol » 29 Mar 2016, 16:50

Hanmac wrote:thanks for fixing the Visions card.

for From under the Floorboards i tried your code, now i can pay X, but i still get Zero Tokens and Life, and i don't know what is wrong :/
"Player - trying to gain negative or 0 life"

i didn't tested the other two but they might have a similar problem.
Unless you have the very latest snapshot it won't work. The Madness.<true>.<false> didn't exist (even though you were trying to use it). If you don't see a card doing something already, you can't just assume the same thing works across different keywords.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 38 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 38 users online :: 0 registered, 0 hidden and 38 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 38 guests

Login Form