UpgradableSkill
class UpgradableSkill extends Skill
Properties
Methods
constructor
new UpgradableSkill(data, enka)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
data | JsonObject | |||
enka | EnkaClient |
Properties
id
inherited
Type: number
enka
inherited
Type: EnkaClient
name
inherited
Type: TextAssets
description
inherited
Type: DynamicTextAssets
icon
inherited
Type: ImageAssets
Methods
getById
static
Returns: UpgradableSkill
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
id | number | |||
enka | EnkaClient |
getSkillAttributes
Returns: SkillAttributeAssets[]
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
level | number |
getUpgradeCost
Returns: UpgradeCost | null
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
level | number | the base level you want to upgrade to. (Do not add extra levels.) |