pull request #814 - log mesg for 1st weapon hit \

now includes what the weapon was

Pull request from vultur-cadens:  show the weapon used when logging
the breaking of "never hit with a wielded weapon" conduct.

Also, if that first hit was a successful joust attack it was being
shown twice.

Closes #814
This commit is contained in:
PatR
2022-07-05 11:50:20 -07:00
parent 4dd08f57a3
commit 3238e62ce7

View File

@@ -1195,7 +1195,8 @@ have com_pager() check for failed nhl_init(); probably can't actually happen
because the program would never get that far if lua init was failing
rearranging first-kill and first-hit gamelog messages to get hit before kill
ordering resulted in "hit with a wielded weapon for first time" being
given twice if that hit was delivered via applied polearm
given twice if that hit was delivered via applied polearm or via a
joust hit
rearranging the feedback for first-kill and first-hit introduced a bug by
not verifying that the wielded item used to hit was a weapon, giving
erroneous event feedback and potentially giving it over and over for