StatProperty
class StatProperty
Properties
Methods
constructor
new StatProperty(fightProp, value, enka, multiplied)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
fightProp | FightProp | |||
value | number | |||
enka | EnkaClient | |||
multiplied | ✔️ | false |
Properties
fightProp
Type: FightProp
enka
Type: EnkaClient
fightPropName
Type: TextAssets
isPercent
Type: boolean
value
Type: number
valueText
Returns: string
Methods
getFightPropTextAssets
static
Returns: TextAssets | null
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
fightProp | FightProp | |||
enka | EnkaClient |
sumStatProperties
static
Returns: StatProperty[]
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
statProperties | StatProperty[] | |||
enka | EnkaClient |
getMultipliedValue
Multiplies value by 100 if it is a percentage
Returns: number
toString
Returns: string