Class CharacterSkill

Class of character's skill

Constructors

  • Create a Skill

    Parameters

    • skillId: number

      Skill ID

    • level: number = 1

      Skill level (1-15). Default: 1

    • extraLevel: number = 0

      Levels increased by constellation (0 or 3). Default: 0

    Returns CharacterSkill

Properties

description: string

Skill description

extraLevel: number

Levels increased by constellation

Skill icon

id: number

Skill ID

level: number

level + extraLevel

name: string

Skill name

paramDescriptions: string[] = []

Skill param descriptions

(${description}|${param})[]

Accessors

  • get allSkillIds(): number[]
  • Get all skill IDs

    Returns number[]

    All skill IDs

Methods

  • Get skill order by character ID

    Parameters

    • characterId: number

      Character ID

    • OptionalskillDepotId: number

      Skill depot ID

    Returns number[]

    Skill order