Module:Items: Difference between revisions

_getOtherItemBoxText: Add max hit for Summoning familiars
(_getOtherItemBoxText: Amend links to equipment pages)
(_getOtherItemBoxText: Add max hit for Summoning familiars)
Line 324: Line 324:
             end
             end
end
end
end
-- For Summoning combat familiars, show the max hit
if item.equipmentStats ~= nil and item.equipmentStats.summoningMaxhit ~= nil then
table.insert(resultPart, "\r\n|-\r\n|'''Max Hit:''' " .. Shared.formatnum(item.equipmentStats.summoningMaxhit * 10))
end
end
--For potions, show the number of charges
--For potions, show the number of charges