Module:Skill List: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 49: Line 49:
end
end
if getSkill.skill[input].cost and getSkill.skill[input].costtype then
if getSkill.skill[input].attribute ~= 'passive' and getSkill.skill[input].cost and getSkill.skill[input].costtype then
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost .. ' ' .. getSkill.skill[input].costtype
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost .. ' ' .. getSkill.skill[input].costtype
elseif getSkill.skill[input].cost then
elseif getSkill.skill[input].attribute ~= 'passive' and getSkill.skill[input].cost then
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost
else
cost = ''
end
end

Navigation menu