forge icon indicating copy to clipboard operation
forge copied to clipboard

Anje Falkenrath / Falkenrath Gorger interaction

Open dwetuski opened this issue 1 year ago • 6 comments

Describe the bug Anje Falkenrath's triggered ability is disregarding madness gained from Falkenrath Gorger.

To Reproduce Steps to reproduce the behavior:

  1. Cast Anje Falkenrath.
  2. Cast Falkenrath Gorger.
  3. Activate Anje's ability to discard a Vampire creature card.
  4. The card is discarded.
  5. A card draw goes onto the stack.
  6. The madness ability goes onto the stack.

Expected behavior 6. The madness ability and Anje's triggered untap ability go onto the stack in the order the player chooses.

Desktop (please complete the following information):

  • Forge v.1.6.62 (forge.GuiDesktop@6ddf90b0)
  • Linux (6.1.52-valve16-1-neptune-61 amd64)
  • Java Version - 1.8.0_401

Additional context "If you discard a card with madness to pay the cost of Anje's activated ability, you'll draw a card last. You may untap Anje before or after you choose whether to cast the discarded card, but not after you've chosen to cast it but before that spell resolves." (https://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=470583)

This choice of order is very important, because Anje will only untap if her triggered ability resolves before the madness triggered ability does. The discarded Vampire loses madness when it enters the battlefield, and Anje's triggered ability rechecks for madness when it's ready to resolve (rule 603.4).

dwetuski avatar May 24 '24 04:05 dwetuski

@Hanmac this is closely related to #2193

I guess we could change Discarded trigger to use the new object for now but it won't fix all corner cases?

tool4ever avatar May 24 '24 08:05 tool4ever

@Hanmac this is closely related to #2193

I guess we could change Discarded trigger to use the new object for now but it won't fix all corner cases?

@tool4ever maybe

you can try to change Discarded Trigger

but we need to be careful if the Discard is getting replaced with a hidden Zone (without reveal) like Library of Leng

so for wheel of sun and moon we need to recognize that: Discard > Reveal > Library

Hanmac avatar May 24 '24 09:05 Hanmac

I know but I've no idea how to fix that part currently

tool4ever avatar May 24 '24 09:05 tool4ever

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

github-actions[bot] avatar Jun 23 '24 09:06 github-actions[bot]

Interaction with the few creatures like Asmoranomardicadaistinaculdacar without mana cost is also worth noting:

Because of how it's currently coded Falkenrath Gorger would fail to give it Madness (if it was also a Vampire). But being unpayable shouldn't lead to that.

Edit: For Lier Flashback it's working because the KW still supports implicit cost definition

tool4ever avatar Sep 08 '24 10:09 tool4ever

I tried to support above interaction but it's tricky because Varolz would crash with Dryad Arbor if the check in StaticAbilityContinuous gets removed. Went one step further and tried to support "-1" in ManaCost.getShortString(), now it seems Spell.canPlay() needs some fixing to prevent the casting.

tool4ever avatar Oct 19 '24 15:10 tool4ever