Skills - Reetus/ClassicAssist GitHub Wiki

ClassicAssist Macro Commands

Generated on 12/15/2024 3:30:41 AM
Version: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a

Skills

SetSkill

Method Signature:

Void SetSkill(System.String, System.String)

Parameters

  • skill: Skill name.
  • status: Lock Status - "up", "down", or "locked". See Also: LockStatus

Description:

Sets the lock state of the given skill, up, down or locked.

Example:

SetSkill("hiding", "locked")  

SetStatus

Method Signature:

Void SetStatus(System.String, System.String)

Parameters

  • stat: String value - See description for usage. See Also: StatType
  • lockstatus: Lock Status - "up", "down", or "locked". See Also: LockStatus

Description:

Sets the lock state of the given stat, up, down or locked.

Example:

SetStatus('str', 'locked')  

Skill

Method Signature:

Double Skill(System.String, Boolean)

Parameters

  • name: Skill name.
  • baseskill: Not specified - See description for usage. (Optional)

Description:

Returns the value of the given skill name.

Example:

if Skill("hiding") < 100:  

SkillCap

Method Signature:

Double SkillCap(System.String)

Parameters

  • name: Skill name.

Description:

Returns the skill cap for the specified skill

Example:

if SkillCap("Blacksmithy") == 120:  

SkillDelta

Method Signature:

Double SkillDelta(System.String)

Parameters

  • name: Skill name.

Description:

Returns the skill value delta since last reset

Example:

if SkillDelta('Hiding') > 0.5:
    Stop()  

SkillState

Method Signature:

System.String SkillState(System.String)

Parameters

  • name: Skill name.

Description:

Returns the lock status of the given skill, up, down, or locked.

Example:

if SkillState("hiding') == "locked":  

UseLastSkill

Method Signature:

Void UseLastSkill()

Description:

Uses the last invoked skill

Example:

UseLastSkill()  

UseSkill

Method Signature:

Void UseSkill(System.String)

Parameters

  • skill: Skill name.

Description:

Invokes the given skill name.

Example:

UseSkill("Hiding")  

Types

LockStatus

  • Up
  • Down
  • Locked

StatType

  • Str
  • Dex
  • Int