New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Denry Klin puts too many counters on himself when entering the battlefield. #9779
Comments
Denry Klin, Editor in Chief - (Gatherer) (Scryfall) (EDHREC)
|
Looks like something gets fucked up if the number of counters changes somewhere in the process. I played Denry first (got 8 counters incorrectly), I played a [[Wingspan Mentor]]; I stacked Denry's trigger for Wingspan Mentor first, then Wingspan Mentor. Denry gained the flying counter, then when Denry's trigger resolved Wingspan Mentor received 3 flying counters and 24 +1/+1 counters (when it should've given 1 flying and 8 +1/+1 counters based on what Denry actually had at the time. The following turn I played [[Grateful Apparition]] which correctly received 1 flying and 8 +1/+1 counters. |
Wingspan Mentor - (Gatherer) (Scryfall) (EDHREC)
Grateful Apparition - (Gatherer) (Scryfall) (EDHREC)
|
Line 84 in Denry's code should probbaly not include a direct reference to 84 |
It's somehow being applied multiple times from a single trigger. Doing more digging but this is bizarre. |
Okay, so in my current build (current master branch + some debugging outputs): |
Some new information, though mostly causing extra confusion. While Denry's ability is on the stack other ETB abilities also apply Denry's ability 3 times. In a three-player game where I was player 1: During an eight-player game it went completely haywire during my own turn causing [[Soul Warden]]'s ability to add various amounts of +1/+1 and Shield counters (I saw numbers as high as 25 +1/+1 and 5 shield counters) to creatures entering the battlefield. No permanents had or referenced shield counters in the game, neither did any commanders or cards in players hands. During other players turns everything went as expected and 7 additional counters were added for each triggered ability. In summary: The code looks fine, I have no suggestions that could fix any of the above. |
Soul Warden - (Gatherer) (Scryfall) (EDHREC)
The Ozolith - (Gatherer) (Scryfall) (EDHREC)
|
Worth noting: JayDi commented somewhere that this might be specifically a bug with AI players? IE the AI simulates game events, and Denry may be applying during the simulated game events (and having that actually impact the real game) |
That sounds wild... and even worse is that seems like the most plausible explanation right now... |
I suggest it's worth trying to add |
It's consistent no matter which counter I choose or if I have other causes of him to enter with counters/gain them before his ability applies, but Denry's ability is somehow consistently resulting in getting 8 times as many counters as he should, and only when it applies to him.
[[Denry Klin, Editor in Chief]]
The text was updated successfully, but these errors were encountered: