Source

This page was generated with Wiki Builder. Do not change the format!

Info

Describes the way that an Item Stat (see DestinyStatDefinition) is transformed using the DestinyStatGroupDefinition related to that item. See both of the aforementioned definitions for more information about the stages of stat transformation. This represents the transformation of a stat into a "Display" stat (the closest value that BNet can get to the in-game display value of the stat)

Schema

  • Schema Type: Definition
  • Type: object

Properties

Name Type Description
statHash Destiny.Definitions.DestinyStatDefinition:integer:uint32 The hash identifier for the stat being transformed into a Display stat. Use it to look up the DestinyStatDefinition, or key into a DestinyInventoryItemDefinition's stats property.
maximumValue integer:int32 Regardless of the output of interpolation, this is the maximum possible value that the stat can be. It should also be used as the upper bound for displaying the stat as a progress bar (the minimum always being 0)
displayAsNumeric boolean If this is true, the stat should be displayed as a number. Otherwise, display it as a progress bar. Or, you know, do whatever you want. There's no displayAsNumeric police.
displayInterpolation InterpolationPoint[] The interpolation table representing how the Investment Stat is transformed into a Display Stat. See DestinyStatDefinition for a description of the stages of stat transformation.

Example

{
    // Type: Destiny.Definitions.DestinyStatDefinition:integer:uint32
    "statHash": 0,
    // Type: integer:int32
    "maximumValue": 0,
    // Type: boolean
    "displayAsNumeric": false,
    // Type: InterpolationPoint[]
    "displayInterpolation": [
       // Type: InterpolationPoint
        {
            // Type: integer:int32
            "value": 0,
            // Type: integer:int32
            "weight": 0
        }
    ]
}

References

  1. https://bungie-net.github.io/multi/schema_Destiny-Definitions-DestinyStatDisplayDefinition.html#schema_Destiny-Definitions-DestinyStatDisplayDefinition