17,105
edits
mNo edit summary |
mNo edit summary |
||
Line 398: | Line 398: | ||
function p.getCombatStyleName(styleNum) | function p.getCombatStyleName(styleNum) | ||
if type(styleNum) == 'number' then | |||
local styleName = ConstantData.attackType[styleNum] | |||
if styleName ~= nil then | |||
return Shared.titleCase(styleName) | |||
end | |||
end | |||
return "ERROR: Invalid combat style[[Category:Pages with script errors]]" | |||
end | end | ||