Skip to main content

Skill

Hierarchy

Index

Constructors

constructor

  • new Skill(id: number, client: StarRail, skillIndexToUse?: number): Skill
  • Parameters

    • id: number
    • client: StarRail
    • skillIndexToUse: number = 0

    Returns Skill

Properties

readonly_skillsData

_skillsData: JsonObject[]

readonlyclient

client: StarRail

readonlycombatType

combatType: null | CombatType

readonlyeffectType

effectType: EffectType

readonlyeffectTypeText

effectTypeText: TextAssets

readonlyid

id: number

readonlymaxLevel

maxLevel: number

readonlyname

readonlyskillIcon

skillIcon: ImageAssets

readonlyskillType

skillType: SkillType

readonlyskillTypeText

skillTypeText: TextAssets

readonlyultraSkillIcon

ultraSkillIcon: ImageAssets

Available only when skillType is "Ultra"

Methods

getSkillByLevel