SkillLevel: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
m (Conversion script moved page SkillLevel to skillLevel: Converting page titles to lowercase)
m (4epT moved page skillLevel to SkillLevel over a redirect without leaving a redirect)
 
(No difference)

Latest revision as of 21:57, 12 September 2021

SkillLevel
  • Description: Checks if the player has a certain level of a certain skill, uses skill Id or Handle.
  • Does not support percentages.
Syntax:
SkillLevel <skill ID or Handle> <Math condition operators>
Example:
SkillLevel NV_FIRSTAID = 0
SkillLevel 10 > 5
Set variables:
$.SkillLevelLastName => Saves the name of the last skill that made SkillLevel become true
$.SkillLevelLastID => Saves the ID of the last skill that made SkillLevel become true
$.SkillLevelLastHandle => Saves the Handle of the last skill that made SkillLevel become true
$.SkillLevelLastLevel => Saves the level of the last skill that made SkillLevel become true