Difference between revisions of "IsClassSkill"
Jump to navigation
Jump to search
m
Fixes
imported>Haama (Corrected syntax and example, added Stats list link) |
imported>Haama m (Fixes) |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(isClassSkill:bool) ''reference.''IsClassSkill skill: | (isClassSkill:bool) ''reference.''IsClassSkill skill:string ''class:ref'' | ||
(isClassSkill:bool) ''reference.''IsMajor skill: | (isClassSkill:bool) ''reference.''IsMajor skill:string ''class:ref'' | ||
Returns whether the passed skill is a skill of the class. | Returns whether the passed skill is a skill of the class. | ||
Line 11: | Line 11: | ||
set attribute to player.IsClassSkill HeavyArmor | set attribute to player.IsClassSkill HeavyArmor | ||
if (attribute == 1) | if (attribute == 1) | ||
messagebox " | messagebox "HeavyArmor is one of the Skills of your class." | ||
else | else | ||
messagebox " | messagebox "HeavyArmor is NOT one of the Skills of your class." | ||
endif | endif | ||