Anonymous

Module:Items/ComparisonTables/Sandbox: Difference between revisions

From Melvor Idle
Amended for gameData changes around resistance stats
No edit summary
(Amended for gameData changes around resistance stats)
Line 112: Line 112:
if item.equipmentStats.damageReduction then
if item.equipmentStats.damageReduction then
dr, icon = item.equipmentStats.damageReduction, 'Damage Reduction'
dr, icon = item.equipmentStats.damageReduction, 'Damage Reduction'
elseif item.equipmentStats.resistance then
elseif item.equipmentStats.resistanceAbyssal then
dr, icon = item.equipmentStats.resistance, 'Abyssal Resistance'
dr, icon = item.equipmentStats.resistanceAbyssal, 'Abyssal Resistance'
elseif item.equipmentStats.resistanceEternal then
dr, icon = item.equipmentStats.resistanceEternal, 'Eternal Resistance'
end
end
end
end