285
edits
Falterfire (talk | contribs) (typos) |
ByteFoolish (talk | contribs) (getSkillName) |
||
Line 19: | Line 19: | ||
if skName == skillName then | if skName == skillName then | ||
return ID | return ID | ||
end | |||
end | |||
return nil | |||
end | |||
function p.getSkillName(skillID) | |||
for skName, ID in Shared.skpairs(Constants.skill) do | |||
if ID == skillID then | |||
return skName | |||
end | end | ||
end | end |
edits