Source

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

Info

If you want the stats on an item's instanced data, get this component. These are stats like Attack, Defense etc... and not historical stats. Note that some stats have additional computation in-game at runtime - for instance, Magazine Size - and thus these stats might not be 100% accurate compared to what you see in-game for some stats. I know, it sucks. I hate it too.

Schema

  • Schema Type: Class
  • Type: object
  • Component Type Dependency: ItemStats

Properties

Name Type Description
stats Dictionary<Destiny.Definitions.DestinyStatDefinition:integer:uint32,DestinyStat> If the item has stats that it provides (damage, defense, etc...), it will be given here.

Example

{
    // Type: Dictionary<Destiny.Definitions.DestinyStatDefinition:integer:uint32,DestinyStat>
    "stats": {
        "0": {
            // Type: Destiny.Definitions.DestinyStatDefinition:integer:uint32
            "statHash": 0,
            // Type: integer:int32
            "value": 0,
            // Type: integer:int32
            "maximumValue": 0
        }
    }
}

References

  1. https://bungie-net.github.io/multi/schema_Destiny-Entities-Items-DestinyItemStatsComponent.html#schema_Destiny-Entities-Items-DestinyItemStatsComponent