Skip to main content

RelicSubStat

class RelicSubStat extends StatPropertyValue

constructor

new RelicSubStat(subStatData, count, steps)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
subStatDataRelicSubStatData
countnumber
stepsnumber

Properties

subStatData

Type: RelicSubStatData


count

The number of times this SubStat has been enhanced

Type: number


steps

Type: number


value

Calculated by baseValue * count + stepValue * steps

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