Method GetSkillRank
GetSkillRank(NwSkill, bool)
Gets the number of ranks this creature has in the specified skill.
public int GetSkillRank(NwSkill skill, bool ranksOnly = false)
Parameters
skillNwSkillThe skill to check.
ranksOnlyboolIf true, returns the base amount of skill ranks without any ability modifiers.
Returns
- int
-1 if the creature does not have this skill, 0 if untrained, otherwise the number of skill ranks.