Module:Skill List: Difference between revisions

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


return p
return p