Module:Skill List: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
if getSkill.skill[input].power then
if getSkill.skill[input].power then
power = '\n|style="text-align:center;"|' .. getSkill.skill[input].power
power = '\n|style="text-align:center;"|' .. getSkill.skill[input].power
else
power = ''
end
if getSkill.skill[input].range then
power = '\n|style="text-align:center;"|' .. getSkill.skill[input].range
else
else
power = ''
power = ''
end
end
local output = name .. rpname .. cost .. power .. '\n|-'
local output = name .. rpname .. cost .. power .. range .. '\n|-'
return output
return output
end
end


return p
return p