Pass correct target amount filter for Dawnhand Dissident - #16089
Conversation
|
1 - [[Tayam, Luminous Enigma]] looks like has a same bug due same 2 - [[Tekuthal, Inquiry Dominus]] and [[The Filigree Sylex]] same code but with Integer.MAX instead 3 -- need same code style with 3, not max 3 - [[Ooze Flux]] and same cards -- need research of If 3 use cases pass manual test then whole fix:
verify check allow to catch all bad cards on verify tests (on card's constructor) -- so add code like if 3 use cases fail manual test then must use same fixes and verify check by with |
|
Tayam, Luminous Enigma - (Gatherer) (Scryfall) (EDHREC)
Tekuthal, Inquiry Dominus - (Gatherer) (Scryfall) (EDHREC)
The Filigree Sylex - (Gatherer) (Scryfall) (EDHREC)
Ooze Flux - (Gatherer) (Scryfall) (EDHREC)
|
|
I'm not quite sure I like the runtime throw which will crash games, I'll try to add something to |
|
Yeah, it's a runtime check, sorry (so it's can't find all buggy cards on verify) -- but it require anyway to catch wrong code usage -- game error is better way to report about bugs. |
|
Extended this a little bit as requested. 1 - Tayam was not bugged because it was using multiple separate choice prompts in an individual loop, so it still worked as intended. But after looking at the code as far as I could tell there was no functional difference with 2 - These two were bugged. I added a verify check rather than a runtime check. For the Sylex, I had to remove the 3 - Ooze Flux and anything using |
Fixes #16020