Module:Skill List: Difference between revisions

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


return p
return p