Re: Trigger discussion (was WheneverKeyword reference)
When does the code for option (a) get called? When the triggered ability resolves, or when it's put on the stack?
I've got that code right below the comment "//All tests passed, execute ability." in TriggerHandler.runSingleTrigger().
Right now, I:
1. select a spell
2. tap a land for mana that triggers this
3. the trigger goes on the stack
4. Click Cancel for paying the rest of the mana
--notice land is untapped, and no mana added to your pool
--expected = land stays tapped, and its mana is added to your mana pool
I've got that code right below the comment "//All tests passed, execute ability." in TriggerHandler.runSingleTrigger().
Right now, I:
1. select a spell
2. tap a land for mana that triggers this
3. the trigger goes on the stack
4. Click Cancel for paying the rest of the mana
--notice land is untapped, and no mana added to your pool
--expected = land stays tapped, and its mana is added to your mana pool