# Statistics Guides

Understanding how to Query and Read statistics from the API

# Combat Statistics

The Combat Metric Struct:

<div id="bkmrk-type-combatmetric-st">

```
type CombatMetric struct {<br></br>    Action       string<br></br>    ActionType   int // damage 0, heal 1<br></br>    Mode         int // melee 0, ranged 1, spell 2, item 3<br></br>    TotalDamage  int<br></br>    Resisted     int<br></br>    FinalDamage  int<br></br>    AttackerType int // player 0, mob 1, npc 2<br></br>    AttackerId   int<br></br>    AttackerTier int<br></br>    VictimType   int // player 0, mob 1, npc 2<br></br>    VictimId     int<br></br>    CombatTime   time.Time<br></br>}
```

</div>Action: Is the action being performed, or the action that the mob is taking e.g 'kill'  'backstab'  'range\_vital'

ActionType: Whether it is healing or damaging

Mode is whether it is melee, ranged, spell, or item based

TotalDamage, Total damage that was issued

Resisted:  How much damage was removed from the total inflicted