Skip to main content

StatProperty

class StatProperty

constructor

new StatProperty(fightProp, value, enka, multiplied)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
fightPropFightProp
valuenumber
enkaEnkaClient
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

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
fightPropFightProp
enkaEnkaClient

sumStatProperties

static

Returns: StatProperty[]

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
statPropertiesStatProperty[]
enkaEnkaClient

getMultipliedValue

Multiplies value by 100 if it is a percentage

Returns: number


toString

Returns: string