Open wapcaplet opened 3 years ago
It appears that when the zombie misses its attack, on_dodge
is invoked with a difficulty
of 4, while if the zombie successfully lunges or gropes at me, on_dodge
is invoked with difficulty
of 8. In other words, dodging a successful attack is harder than dodging an attack that would have missed anyway(?)
I don't know if the intended cap is 4, 5, 8, or 9, but the messaging should at least be consistent with what happens to skill level.
Describe the bug
Dodging a regular
zombie
can train dodging skill up to level 9, even though the zombie only has melee level 4. After reaching level 5, the message log often says "This task is too simple to train your dodging beyond 5", but dodging skill continues to increase all the way up to level 9.Steps To Reproduce
Expected behavior
Truthful messaging. If the message log says "This task is too simple to train your dodging beyond 5", then that should in fact be true.
Screenshots
Reaching dodging level 9, after repeated messages saying the task is too simple to train dodging above level 8:
Versions and configuration
This is also reproducible in stable 0.E-3.
Additional context
Zombies only have melee level 4, so I am surprised I can even get to level 5 this way, much less level 9.
A quick trace through the code shows that
on_dodge
is occasionally being invoked withdifficulty=8
for a regular zombie.