Anonymous

Module:Items: Difference between revisions

From Melvor Idle
Fix lua error
(Add space to armour table too and use eternal resistance for eternal weapons)
(Fix lua error)
Line 721: Line 721:


local resistance, resistanceText = p._getItemResistance(item)
local resistance, resistanceText = p._getItemResistance(item)
local ns, damageType = Shared.getLocalID(p._getItemStat(item, 'damageType'))
local ns, damageType = item.damageType == nil and 'Normal' or Shared.getLocalID(p._getItemStat(item, 'damageType'))


local ico = {
local ico = {