8,697
edits
No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
end | end | ||
local output = name .. rpname .. '\n|-' | if getSkill.skill[input].cost and getSkill.skill[input].costtype then | ||
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost .. getSkill.skill[input].costtype | |||
elseif getSkill.skill[input].cost then | |||
cost = '\n|style="text-align:center;"|' .. getSkill.skill[input].cost | |||
end | |||
local output = name .. rpname .. cost .. '\n|-' | |||
return output | return output | ||
end | end | ||
return p | return p |