Sorry about the duplicate.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=21039
It's quite complicated. Probably it needs a new static ability that give the opponents MustAttackEntity.Agetian wrote:I will most likely need help with code support for this card, feel free to assist if able:
http://mythicspoiler.com/ixa/cards/trov ... ation.html
- Agetian
Welcome back!Marek14 wrote:Got back from the vacation, looking through the spoiler properly now. How are we with Enrage triggers? I remember that there was this persistent problem with cards like Dromad Purebred, when they for example triggered multiple times when they were double-blocked and got dealt damage from multiple sources simultaneously.
Name:Ripjaw Raptor
ManaCost:2 G G
Types:Creature Dinosaur
PT:4/5
T:Mode$ CombatDamageDoneOnce | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, draw a card.
T:Mode$ DamageDone | CombatDamage$ False | Secondary$ True | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
SVar:HasCombatEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/ripjaw_raptor.jpg
Oracle:Enrage — Whenever Ripjaw Raptor is dealt damage, draw a card.
Yes, I think we should. For noncombat damage, simultaneous damage from multiple targets is rare, but it can still happen (for example Baki's Curse).Agetian wrote:Welcome back!Marek14 wrote:Got back from the vacation, looking through the spoiler properly now. How are we with Enrage triggers? I remember that there was this persistent problem with cards like Dromad Purebred, when they for example triggered multiple times when they were double-blocked and got dealt damage from multiple sources simultaneously.Glad you're planning to join us in implementing Ixalan, I tried to keep up with the spoilers so far, and azcotic was helpful in providing many of the scripts too, but personally I'm getting a bit pressed for time due to work these days, so I don't know if I'll be able to maintain the pace for long...
Umm as things stand right now, Enrage is susceptible to the same issue as you mentioned. I'm not completely sure how to best approach fixing it, but there are a few different damage-dealing triggers in Forge, it seems some of them are specifically written in order to be handled only once in case of simultaneous damage, and there's the one (DamageDone) that fires each time damage is registered, even if it's just from multiple sources but the damage is in reality done simultaneously. Right now, for example, it's possible to make Enrage trigger only once if you split the trigger into two, one for non-combat damage (DamageDone) and one for simultaneous combat damage (CombatDamageDoneOnce), e.g.:This seems to work correctly in both non-combat and combat scenarios, including multiple blocks, but maybe this should somehow be addressed in the DamageDone trigger code. Once again, I'm probably not the best advisor in that area, since changing the default functionality of DamageDone is likely to cause issues with other cards that may specifically (and correctly?) rely on its behavior.
- Code: Select all
Name:Ripjaw Raptor
ManaCost:2 G G
Types:Creature Dinosaur
PT:4/5
T:Mode$ CombatDamageDoneOnce | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, draw a card.
T:Mode$ DamageDone | CombatDamage$ False | Secondary$ True | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
SVar:HasCombatEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/ripjaw_raptor.jpg
Oracle:Enrage — Whenever Ripjaw Raptor is dealt damage, draw a card.
Anyhow, should we use this double trigger format for Enrage for the time being, in case it should only fire once in combat?
- Agetian