It is currently 28 Apr 2024, 04:10
   
Text Size

Ixalan spoiler season

Post MTG Forge Related Programming Questions Here

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

Re: Ixalan spoiler season

Postby friarsol » 14 Sep 2017, 13:50

Agetian wrote:Okie doke, I'll switch it over then :)
Any other cards we should do this to, by the way? (feel free to either change them or name them such that I can patch them up in a similar way)

P.S. Tested Baki's Curse with the above-mentioned setup for Enrage, and amazingly, it seems to interact correctly with e.g. Enraged creatures with multiple auras (the damage is only dealt once and the trigger fires only once).

- Agetian
That's cause Baki's Curse is dealing the damage once to each creature. I don't think that's the card Marek meant to reference. Maybe it was Aura Barbs?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Ixalan spoiler season

Postby Marek14 » 14 Sep 2017, 15:41

Yes, I probably meant Aura Barbs :)

Cards with "deal damage" trigger:
Angel of Deliverance
Armadillo Cloak
Banshee's Blade (combat damage only)
Blaze Commando
Descendant of Kiyomaro (combat damage only)
Doubtless One
Drinker of Sorrow (combat damage only)
El-Hajjaj
Emberwilde Caliph
Essence Sliver
Exalted Angel
Five-Alarm Fire (combat damage only)
Flash Conscription (combat damage only)
Genju of the Fields
Guilty Conscience
Horned Cheetah
Justice
Kiyomaro, First to Stand
Kjeldoran Gargoyle
Leyline Phantom (combat damage only)
Living Lore (combat damage only)
Mourning Thrull
Necravolver
Noble Purpose (combat damage only)
Paladin of Prahv
Phantom Nishoba
Putrid Warrior
Rakavolver
Soul Link
Spirit Link
Spirit Loop
Spiritualize
Stir the Pride
Sunhome Enforcer (combat damage only)
Tamanoa
Tamiyo, Field Researcher (combat damage only)
Umezawa's Jitte (combat damage only)
Vampiric Link
Vigorous Charge
Visions of Brutality
Warrior Angel
Zebra Unicorn

Cards with "is dealt damage" trigger:
Angelheart Vial
Arcbond
Binding Agony
Blood Hound
Boros Reckoner
Broodhatch Nantuko
Chandra's Spitfire (noncombat damage only)
Coalhauler Swine
Darien, King of Kjeldor
Death Pits of Rath
Deep-Slumber Titan
Dromad Purebred
Druid's Call
Filthy Cur
Firedrinker Satyr
Frozen Solid
Fungus Sliver
Fungusaur
Grollub
High Priest of Penance
Hornet Nest
Hot Soup
Illusory Ambusher
Jackal Pup
Jagged Poppet
Kami of the Honored Dead
Lich
Living Artifact
Mire Blight
Mogg Maniac
Mortal Wound
Phyrexian Negator
Phyrexian Totem
Pious Warrior (combat damage only)
Ragged Veins
Repercussion
Rite of Passage
Saber Ants
Shinka Gatekeeper
Shriveling Rot
Soul Link
Souls of the Faultless (combat damage only)
Spiteful Shadows
Spitemare
Sprouting Phytohydra
Stuffy Doll
Sun Droplet
Swarmborn Giant (combat damage only)
Thrashing Mudspawn
Volatile Rig
Wall of Essence (combat damage only)
Wall of Hope
Wall of Souls (combat damage only)
War Elemental
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Marek14 » 14 Sep 2017, 16:06

Hm, is the code for Scavenging Ooze correct? It uses Targeted as condition, so is there any point to also have RememberChanged$ and Cleanup?
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Marek14 » 14 Sep 2017, 16:30

OK, here are some cards from me: Deathgorge Scavenger, Dire Fleet Captain, Emissary of Sunrise, Field of Ruin, Perilous Voyage, Rigging Runner and Shadowed Caravel.

Deathgorge Scavenger might need some more work -- I'm not sure how it should behave in a corner case where you use it on a commander card in the graveyard and it's put into command zone as the result. Should it still get bonus for creature (or noncreature, in case of C14 planeswalkers) card, or does the card not count as "exiled" in this case?
Attachments
xln.zip
(5.94 KiB) Downloaded 186 times
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Agetian » 14 Sep 2017, 19:00

Hehe, thanks for help! :) I'll also go through that list above in the next few days ;)

Scavenging Ooze most likely has superfluous remember/cleanup, I'll test and remove it if it's unneeded.

Things like Aura Barbs probably need some delicate trigger tweaking in order to get their interaction with things like Enrage right without breaking everything else... >_> I'll probably have to leave this one to someone more experienced in the area, at least for now.

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Ixalan spoiler season

Postby Agetian » 14 Sep 2017, 19:55

Hmm, took a look at the "single trigger for simultaneous damage" list, it looks like the current implementation has some frustrating limitations that are difficult for me to work around:

- Cards that say "whenever...deals/is dealt damage, you <do something> that much (e.g. gain that much life, whatever)" can't be implemented with CombatDamageDoneOnce/DealtOnce, since these triggers don't propagate the actual total damage dealt by a given source to a given target, and it's kinda counterintuitive how exactly to hook that up :/

- For other cards, it seems to sometimes work and sometimes not work, which is also frustrating. For example, for cards like Fungusaur, switching to a double DamageDone/CombatDamageDoneOnce setup seems to work just fine. However, for cards like Shriveling Rot (apparently the ones that add triggers to other things), it doesn't work well and two triggers fire at the same time anyway. Can't figure out why :(

It looks like the whole "damage done" trigger system needs a rework, I wish someone could help out with that, since I don't really have a good idea how to do this best.

Granted, some cards can probably be patched up similar to the Enrage mechanic (e.g. Fungusaur-like cards). But most of the others (like, two thirds of the list) will not work under this setup without a rewrite :/

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Ixalan spoiler season

Postby X619Xmaster » 14 Sep 2017, 20:16

Already built my Dinosaur Commander Deck
X619Xmaster
 
Posts: 16
Joined: 12 Sep 2017, 08:35
Has thanked: 0 time
Been thanked: 0 time

Re: Ixalan spoiler season

Postby Marek14 » 14 Sep 2017, 22:22

Two more cards: Vance's Blasting Cannons // Spitfire Bastion and Vineshaper Mystic.

Vance's Blasting Cannons could be probably done easier, I am trying to make it so the effect will only be created if a nonland card is exiled.
Attachments
xln2.zip
(2.08 KiB) Downloaded 165 times
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Marek14 » 14 Sep 2017, 22:49

One more:

Code: Select all
Name:Repeating Barrage
ManaCost:1 R R
Types:Sorcery
A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player.
A:AB$ ChangeZone | Cost$ 3 R R | PrecostDesc$ Raid — | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ RaidTest | References$ RaidTest | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn.
SVar:RaidTest:Count$AttackersDeclared
SVar:Picture:http://www.wizards.com/global/images/magic/general/repeating_barrage.jpg
Oracle:Repeating Barrage deals 3 damage to target creature or player.\nRaid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked with a creature this turn.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Agetian » 15 Sep 2017, 04:01

Thanks a lot for help, Marek! I'll push these upstream.

In the meantime, if you continue to work on the upcoming spoilers, I'll see if I can figure out that DamageDone dilemma :) Maybe I'll find a way to at least propagate damage amount to CombatDamageDoneOnce / DealtOnce triggers.

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Ixalan spoiler season

Postby Marek14 » 15 Sep 2017, 06:23

Attachments
xln3.zip
(2.6 KiB) Downloaded 186 times
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Agetian » 15 Sep 2017, 06:36

Thanks! :)
Ok, I patched up the above-listed cards for simultaneous combat damage (all of them, even the ones that says "then deal that much damage" or whatever). This still leaves the corner case with simultaneous non-combat damage like Aura Barbs, but sadly, I have no idea what to do with that one yet :(

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Ixalan spoiler season

Postby Marek14 » 15 Sep 2017, 06:56

Agetian wrote:Thanks! :)
Ok, I patched up the above-listed cards for simultaneous combat damage (all of them, even the ones that says "then deal that much damage" or whatever). This still leaves the corner case with simultaneous non-combat damage like Aura Barbs, but sadly, I have no idea what to do with that one yet :(

- Agetian
Another card of this ilk is Rakdos Charm, but that is only for players, so even less relevant.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Ixalan spoiler season

Postby Agetian » 15 Sep 2017, 06:58

Yeah, true. I'll write them down into my .todo though, I dunno, maybe I'll have an insight of some kind. :)

- Agetian
Agetian
Programmer
 
Posts: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times

Re: Ixalan spoiler season

Postby Marek14 » 15 Sep 2017, 15:55

The treasure-generating cards should have four token images, not three.
Marek14
Tester
 
Posts: 2761
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 95 guests


Who is online

In total there are 95 users online :: 0 registered, 0 hidden and 95 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 95 guests

Login Form