Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass wsID to xi.weaponskills.takeWeaponskillDamage()
Before this patch, PUP's Automaton's ranged attack and weaponskill shows 0 damage done because of an error in xi.weaponskills.takeWeaponskillDamage(): [map][error] luautils::onUseWeaponSkill: ./scripts/globals/weaponskills.lua:1012: bad argument #1 to 'lshift' (number expected, got nil) Strangely enough, Atonement still correctly shows its damage even though it causes the same error, fix this by passing wsID to xi.weaponskills.takeWeaponskillDamage() as expected.
- Loading branch information