4,951
edits
Falterfire (talk | contribs) (Changed free bonfire modifier name) |
Falterfire (talk | contribs) (added getSlayerTierName) |
||
Line 189: | Line 189: | ||
end | end | ||
return nil | return nil | ||
end | |||
function p.getSkillID(skillName) | |||
return ConstantData.skill[skillName] | |||
end | end | ||
Line 200: | Line 204: | ||
end | end | ||
function p. | function p.getSlayerTierName(tier) | ||
for name, num in Shared.skpairs(ConstantData.slayerTier) do | |||
if num == tier then | |||
return name | |||
end | |||
end | |||
return "ERROR: Invalid Slayer tier[[Category:Pages with script errors]]" | |||
end | end | ||