8,697
edits
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 | end | ||
local output = name .. rpname .. cost .. powerlvl .. target .. hit .. power .. crit | local output = name .. rpname .. cost .. powerlvl .. target .. range .. hit .. power .. crit .. '\n|-' | ||
return output | return output | ||
end | end | ||
return p | return p |