[x] that I've tested my code since the last commit in the PR, and will test after any later commits
Temporary:
[x] that I understand there are large refactoring efforts going on right now, that these efforts touch every single Lua script and binding, and that my pull request might get put on hold to ensure there are not any conflicts with the refactoring work
In cases where single-hit WS damage is enough to kill a mob, it would be dead before trySkillUp is called (invalid target, causing the function to break out). Moved that call prior to the target taking damage.
I affirm:
Temporary:
In cases where single-hit WS damage is enough to kill a mob, it would be dead before trySkillUp is called (invalid target, causing the function to break out). Moved that call prior to the target taking damage.
Fixes #2577