Skip to main content

RelicMainStat

Hierarchy

Index

Constructors

constructor

Properties

readonlyclient

client: StarRail

readonlyisPercent

isPercent: boolean

readonlylevel

level: number

Relic's level

readonlymainStatData

mainStatData: RelicMainStatData

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.

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