genshin-manager
    Preparing search index...

    Class StatProperty

    Represents a statistical property with type, name, and value information

    Index

    Constructors

    Properties

    Accessors

    Constructors

    • Create a StatProperty

      Parameters

      • type: FightPropType

        fight prop type

      • value: number

        value of the stat

      Returns StatProperty

      const hpStat = new StatProperty('FIGHT_PROP_HP', 15552)
      console.log(hpStat.name)
      console.log(hpStat.valueText)

    Properties

    isPercent: boolean

    Whether the stat is a percent value

    name: string

    Stat name

    Stat type

    value: number

    Stat value

    Accessors

    • get multipliedValue(): number

      Get multiplied value

      Returns number

      multiplied value

    • get valueText(): string

      Get value text

      Returns string

      value text