Module:Icons: Difference between revisions

fixed issue
(Added MasteryReq function)
(fixed issue)
Line 88: Line 88:


function p._SkillReq(skill, level, showText)
function p._SkillReq(skill, level, showText)
   local result = Icons.Icon({skill, type='skill', notext='true'})
   local result = p.Icon({skill, type='skill', notext='true'})
   if showText then
   if showText then
     result = result..' [['..skill..']]'
     result = result..' [['..skill..']]'