You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.
OS / platform the server is running (if known)
Windows server 2022
Branch affected by issue
base
Steps to reproduce
Use Spirits within, see error in map log
[10/04/23 19:10:47:676][map][error] luautils::onUseWeaponSkill: ./scripts/globals/weaponskills.lua:1012: bad argument #1 to 'lshift' (number expected, got nil)
stack traceback:
[C]: in function 'lshift'
./scripts/globals/weaponskills.lua:1012: in function 'takeWeaponskillDamage'
./scripts/actions/weaponskills/spirits_within.lua:71: in function <./scripts/actions/weaponskills/spirits_within.lua:16> (luautils::OnUseWeaponSkill:3691)
lines 1010 to 1012 of weaponskills global:
-- Pack the weaponskill ID in the top 8 bits of this variable which is utilized-- in OnMobDeath in luautils. Max WSID is 255.defender:setLocalVar('weaponskillHit', bit.lshift(wsResults.wsID, 24) +finaldmg)
I affirm:
OS / platform the server is running (if known)
Windows server 2022
Branch affected by issue
base
Steps to reproduce
Use Spirits within, see error in map log
lines 1010 to 1012 of weaponskills global:
line 71 of spirits within:
wsId is missing from the params in the ws script
Expected behavior
See no error, localvar gets set
The text was updated successfully, but these errors were encountered: