Skill
class Skill
Properties
Methods
constructor
new Skill(id, client)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
id | number | |||
client | StarRail |
Properties
id
Type: number
client
Type: StarRail
name
Type: TextAssets
tag
Type: TextAssets
skillTypeDescription
Type: TextAssets
attackType
Type: AttackType | null
combatType
Type: CombatType | null
effectType
Type: EffectType
maxLevel
Type: number
skillIcon
Type: ImageAssets
ultraSkillIcon
Available only when attackType is "Ultra"
Type: ImageAssets
Methods
getSkillByLevel
Returns: LeveledSkill
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
level | number |