-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix attack speed test failures #72997
Fix attack speed test failures #72997
Conversation
I just went through recent PRs to look for some windows fails. You could try reproducing it with these seeds: You'll need to do a full test run, though, since the windows build doesn't use any filters. |
tried to run 1712972203, but have a lot of some mysterious errors - first error in Character_attacking_a_zombie, now in crafting_with_a_companion |
https://github.com/CleverRaven/Cataclysm-DDA/actions/runs/8673271162/job/23784451215?pr=72987 Failed in Basic Build and Test (Clang 10, Ubuntu, Curses), randomness seeded to: 1713010785.
After a miss, the attack cost changed from 38 to 49. |
Missed attack is irrelevant. Cataclysm-DDA/data/json/effects.json Lines 672 to 682 in 36578d7
The avatar walked on a terrain with the flag UNSTABLE ( in my test, a small boulder), and got a limb_score balance penalty, which will https://github.com/CleverRaven/Cataclysm-DDA/actions/runs/8674099317/job/23786095337?pr=72987 This test failed again in my PR, with exactly 11 extra moves cost for each attack affected.
|
why characters starts to move, interestingly 🤔 |
If I interpret that correctly, because the test guy attacks themself, whenever they hit their own legs with a crit, they get a chance to apply the bouldering effect. So yes, blocking the effect should work, but also they probably shouldn't attack themselves. |
wdym attack themselves? |
The attack speed test seems fine now, Never mind, resist test was labeled !mayfail so that's not the same case. The firstaid_test failed because of NPC's arm not bandaged. |
The test do generate a debug monster though, you mean the test guy is not attacking the monster but themself? |
Cataclysm-DDA/tests/enchantments_test.cpp Line 218 in 36578d7
|
I didn't know it is possible |
Sorry, that might have been a bit of a miscommunication. You need to add the target creature as a parameter to |
2a343b6
to
4e7e229
Compare
4e7e229
to
5044c99
Compare
Summary
None
Purpose of change
Unbreak CI
Describe the solution
slap !mayfail to testblock bouldering effect, also make character attack the debug mon, and not themselves