Skip to main content

CharacterStats

Index

Constructors

constructor

Properties

readonly_data

_data: JsonObject

readonlyanemoDamage

anemoDamage: StatProperty<FightProp>

readonlyanemoEnergyCost

anemoEnergyCost: number

readonlyanemoRes

readonlyattack

The current attack of the character

readonlyattackBase

attackBase: StatProperty<FightProp>

readonlyattackFlat

attackFlat: StatProperty<FightProp>

readonlyattackPercent

attackPercent: StatProperty<FightProp>

readonlychargeEfficiency

chargeEfficiency: StatProperty<FightProp>

readonlycooldownReduction

cooldownReduction: StatProperty<FightProp>

readonlycritDamage

critDamage: StatProperty<FightProp>

readonlycritRate

readonlycryoDamage

cryoDamage: StatProperty<FightProp>

readonlycryoEnergyCost

cryoEnergyCost: number

readonlycryoRes

readonlycurrentAnemoEnergy

currentAnemoEnergy: number

readonlycurrentCryoEnergy

currentCryoEnergy: number

readonlycurrentDendroEnergy

currentDendroEnergy: number

readonlycurrentElectroEnergy

currentElectroEnergy: number

readonlycurrentEnergy

currentEnergy: number

readonlycurrentGeoEnergy

currentGeoEnergy: number

readonlycurrentHealth

currentHealth: StatProperty<FightProp>

readonlycurrentHydroEnergy

currentHydroEnergy: number

readonlycurrentPyroEnergy

currentPyroEnergy: number

readonlydefense

The current defense of the character

readonlydefenseBase

defenseBase: StatProperty<FightProp>

readonlydefenseFlat

defenseFlat: StatProperty<FightProp>

readonlydefensePercent

defensePercent: StatProperty<FightProp>

readonlydendroDamage

dendroDamage: StatProperty<FightProp>

readonlydendroEnergyCost

dendroEnergyCost: number

readonlydendroRes

readonlyelectroDamage

electroDamage: StatProperty<FightProp>

readonlyelectroEnergyCost

electroEnergyCost: number

readonlyelectroRes

electroRes: StatProperty<FightProp>

readonlyelementMastery

elementMastery: StatProperty<FightProp>

readonlyenergyCost

energyCost: number

readonlyenka

readonlygeoDamage

readonlygeoEnergyCost

geoEnergyCost: number

readonlygeoRes

readonlyhealAdd

readonlyhealedAdd

readonlyhealthBase

healthBase: StatProperty<FightProp>

readonlyhealthFlat

healthFlat: StatProperty<FightProp>

readonlyhealthPercent

healthPercent: StatProperty<FightProp>

readonlyhighestDamageBonus

highestDamageBonus: StatProperty<FightProp>[]

Including physical damage bonus, and returns list of highest damage bonus. The order of the list is such that elemental matches come first.

readonlyhydroDamage

hydroDamage: StatProperty<FightProp>

readonlyhydroEnergyCost

hydroEnergyCost: number

readonlyhydroRes

readonlymatchedElementDamage

matchedElementDamage: null | StatProperty<FightProp>

Element damage bonus which matches the character's element (Physical DMG ignored)

readonlymaxHealth

readonlyphysicalDamage

physicalDamage: StatProperty<FightProp>

readonlyphysicalRes

physicalRes: StatProperty<FightProp>

readonlypyroDamage

pyroDamage: StatProperty<FightProp>

readonlypyroEnergyCost

pyroEnergyCost: number

readonlypyroRes

readonlyshieldStrength

shieldStrength: StatProperty<FightProp>

readonlyspeed

The current speed of the character

readonlyspeedBase

readonlyspeedPercent

speedPercent: StatProperty<FightProp>

readonlystatProperties

statProperties: StatProperty<FightProp>[]

Methods

getStatProperty

  • getStatProperty(id: 1 | 10 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 20 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 80 | 81 | 1010 | 2000 | 2001 | 2002 | 2003, defaultValue?: number): StatProperty<FightProp>
  • Parameters

    • id: 1 | 10 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 20 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 80 | 81 | 1010 | 2000 | 2001 | 2002 | 2003
    • defaultValue: number = 0

    Returns StatProperty<FightProp>