Module:Icons: Difference between revisions

Remove dependency on Module:GameData
(Minor fix to text for Agility handling)
(Remove dependency on Module:GameData)
Line 1: Line 1:
local Shared = require("Module:Shared")
local Shared = require("Module:Shared")
local GameData = require("Module:GameData")


-- Locally index some functions for performance
-- Locally index some functions for performance
Line 593: Line 592:


function p.getExpansionIcon(id)
function p.getExpansionIcon(id)
local ns, _ = GameData.getLocalID(id)
local ns, _ = Shared.getLocalID(id)
if ns == 'melvorTotH' then
if ns == 'melvorTotH' then
return p.TotH()..' '
return p.TotH()..' '