17,030
edits
mNo edit summary |
mNo edit summary |
||
Line 133: | Line 133: | ||
-- Equipment stats first | -- Equipment stats first | ||
if Shared.contains(ItemData.EquipmentStatKeys, StatName) and item.equipmentStats ~= nil then | if Shared.contains(ItemData.EquipmentStatKeys, StatName) and item.equipmentStats ~= nil then | ||
local equipStats = p._processEquipmentStats(item.equipmentStats) | |||
result = equipStats[StatName] | |||
elseif StatName == 'isTwoHanded' then | elseif StatName == 'isTwoHanded' then | ||
if item.validSlots ~= nil and item.occupiesSlots ~= nil then | if item.validSlots ~= nil and item.occupiesSlots ~= nil then |