Module:Skill List: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 77: Line 77:
else
else
power = ''
power = ''
end
if getSkill.skill[input].crit then
crit = '\n|style="text-align:center;"|' .. getSkill.skill[input].crit
else
crit = ''
end
end


Line 85: Line 91:
end
end
local output = name .. rpname .. cost .. powerlvl .. target .. hit .. power .. range .. '\n|-'
local output = name .. rpname .. cost .. powerlvl .. target .. hit .. power .. crit .. range .. '\n|-'
return output
return output
end
end


return p
return p