RelicMainStat
class RelicMainStat extends StatPropertyValue
constructor
new RelicMainStat(mainStatData, level)
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
mainStatData | RelicMainStatData | |||
level | number |
Properties
mainStatData
Type: RelicMainStatData
level
Relic's level
Type: number
value
Calculated by baseValue + levelValue * level
Type: number
client
inherited
Type: StarRail
type
inherited
Type: StatPropertyType | OtherStatPropertyType
statProperty
inherited
This will be null if type of provided type
is OtherStatPropertyType.
Type: StatProperty | null
isPercent
inherited
Type: boolean
nameSkillTree
inherited
This will be null if statProperty is null.
Type: DynamicTextAssets | null
valueText
inherited
Returns: string