Skip to main content

RelicSubStat

Hierarchy

Index

Constructors

constructor

Properties

readonlyclient

client: StarRail

readonlycount

count: number

The number of times this SubStat has been enhanced

readonlyisPercent

isPercent: boolean

readonlynameSkillTree

nameSkillTree: null | DynamicTextAssets

This will be null if statProperty is null.

readonlystatProperty

statProperty: null | StatProperty

This will be null if type of provided type is OtherStatPropertyType.

readonlysteps

steps: number

readonlysubStatData

subStatData: RelicSubStatData

readonlytype

type: Defence | MaxHP | Attack | Speed | CriticalChance | CriticalDamage | BreakDamageAddedRatio | BreakDamageAddedRatioBase | HealRatio | MaxSP | SPRatio | StatusProbability | StatusResistance | CriticalChanceBase | CriticalDamageBase | HealRatioBase | StanceBreakAddedRatio | SPRatioBase | StatusProbabilityBase | StatusResistanceBase | PhysicalAddedRatio | PhysicalResistance | FireAddedRatio | FireResistance | IceAddedRatio | IceResistance | ThunderAddedRatio | ThunderResistance | WindAddedRatio | WindResistance | QuantumAddedRatio | QuantumResistance | ImaginaryAddedRatio | ImaginaryResistance | BaseHP | HPDelta | HPAddedRatio | BaseAttack | AttackDelta | AttackAddedRatio | BaseDefence | DefenceDelta | DefenceAddedRatio | BaseSpeed | HealTakenRatio | PhysicalResistanceDelta | FireResistanceDelta | IceResistanceDelta | ThunderResistanceDelta | WindResistanceDelta | QuantumResistanceDelta | ImaginaryResistanceDelta | SpeedDelta | SpeedAddedRatio

readonlyvalue

value: number

Accessors

publicvalueText

  • get valueText(): string
  • Returns string