Skill
class Skill
Properties
Methods
constructor
new Skill(id, client, skillIndexToUse)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
id | number | |||
client | StarRail | |||
skillIndexToUse | ✔️ | 0 |
Properties
id
Type: number
client
Type: StarRail
name
Type: TextAssets
effectTypeText
Type: TextAssets
skillTypeText
Type: TextAssets
combatType
Type: CombatType | null
skillType
Type: SkillType
effectType
Type: EffectType
maxLevel
Type: number
skillIcon
Type: ImageAssets
ultraSkillIcon
Available only when skillType is "Ultra"
Type: ImageAssets
Methods
getSkillByLevel
Returns: LeveledSkill
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
level | SkillLevel |