-
Notifications
You must be signed in to change notification settings - Fork 582
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
Strange A.I. behavior that is leading to illegal plays #6741
Comments
Please try to produce a gamestate file before it happens |
I don't think it will be possible to get a gamestate before it happens. It's impossible to predict and it's not something that happens all the time. I can definitely try to produce a gamestate file while it's happening though, like if I notice mana being paid but no spells cast. |
I actually thought it would be harder to catch this than it was, only took 4 or so games before it happened again. Unfortunately it's not possible to record the gamestate before it happens, but I did save the state right after the A.I. paid a bunch of mana for no apparent reason, then during the end phase the spell appeared on the stack. |
Happened again in the very next game. Sidenote |
Trying to manually edit the states back to Main1 showed no anomaly. With all the mana generated it does look like there might be another SA involved which would be good to know. There really should be hints in your Forge.log, especially for the Java error. A rough overview of commits from your given timeframe doesn't give me a solid lead. If possible narrow it more e.g. starting with final last year release... |
This is the Forge.log for the Java error.
Here's the full log and I believe I played a total of two games. It's kinda filled with failed fetches for a blood token though. |
Alright, like I suspected there are some problems with mana payment which seem to be related to cost raising. Possibly a regression that has lead to an increase of this outcome. |
|
Describe the bug
Lately, in the snapshots from at least 12.22 and onwards the A.I. is paying/casting spells/activating abilities strangely. It will tap a bunch of mana for seemingly no reason, no spells cast, no abilities activated, but then when priority is passed the spell will be cast/ability activated.
I didn't fully understand that that was what was happening until right now. I just assumed it was attempting to casting spells and then failing to cast, like it does sometimes. I caught it red handed this time though, 'cause it tapped all its mana in postcombat main and then moved to end phase and then the spell it "cast" and ability it "activated" appeared on the stack.
To Reproduce
Steps to reproduce the behavior:
I have no idea how you would be able to replicate this behavior other than to play a lot of games and catch it happening...
Expected behavior
For this to not happen?
Screenshots
See how it tapped all the mana during postcombat main then moved to end step and cast the spell. I should also point out that it activated Brittle Effigy during postcombat main too, but the ability didn't hit the stack until end step.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: