Module:Skill List: Difference between revisions

no edit summary
(lol)
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].target then
power = '\n|style="text-align:center;"|' .. getSkill.skill[input].target
else
power = ''
end
end
Line 67: Line 73:
end
end
local output = name .. rpname .. cost .. power .. range .. '\n|-'
local output = name .. rpname .. cost .. target .. power .. range .. '\n|-'
return output
return output
end
end


return p
return p