Module:Skill List: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
elseif getSkill.skill[input].cost then
elseif 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
end
if getSkill.skill[input].powerlvl then
powerlvl = '\n|style="text-align:center;"|' .. getSkill.skill[input].powerlvl
else
powerlvl = ''
end
end
Line 79: Line 85:
end
end
local output = name .. rpname .. cost .. target .. hit .. power .. range .. '\n|-'
local output = name .. rpname .. cost .. powerlvl .. target .. hit .. power .. range .. '\n|-'
return output
return output
end
end


return p
return p