Skip to main content

Combat Statistics

The Combat Metric Struct:

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