Ashteki / ashteki

The code used to run ashteki.com
GNU Affero General Public License v3.0
11 stars 11 forks source link

BUG: Chimera did not fatigue mid-round #1549

Closed danj3000 closed 2 months ago

danj3000 commented 6 months ago

URS discord report:

Hey mate! I had the same issue with Chimera fatigue trigger again yesterday. Interestingly I played multiple games with the chimera yesterday and in one game it fatigued as normal, but in another it didn't. From memory, in the first game when it fatigued properly, it was during the start of the round when it places new aspects. When it didn't fatigue properly, it was when I played Generosity and got the chimera to 'draw' (discard) 3 cards which emptied its draw pile. No fatigue was triggered. I think the same thing has happened when the 'trigger' was a Cobra attacking to discard the last card of the draw pile. So, my theory is that maybe Ashteki is only triggering fatigue when a new rounds starts and there aren't enough cards to fill the Chimera's BF, but isn't triggering it mid-round properly? Image That's a screenshot from the game where fatigue didn't trigger properly. I copied the game log but didn't end up sharing it because I wanted to confirm in the rules section that I wasn't misunderstanding how/when chimeras get fatigued, but I was right in that it should trigger right away even mid-round because that's when the fatigue card becomes visible etc. I thought I could go to my game list to get the long for you now but turns out our game list only shows PvP matches, sorry. You might be able to find it somehow though. You can still see from the screenshot though, that the Chimera had 0 cards in the draw pile and yet wasn't taking damage from cards like Farewell discarding things

Screenshot_2024-04-02_175344

danj3000 commented 6 months ago

added draw test for generosity - seems ok. maybe when the draw amount is the exact figure?