Hit Statistics (gm-hitstats.tf)

Provides triggers for automatic gathering of melee hit statistics. This functionality is not without limitations, in some cases hits may become erraneously counted (such as Templar guild 'holy strike' skill being counted as bludgeon strike) but it gives you a general impression about what kinds of hits you mostly deal out.

Only certain weapon/hit types are currently supported by the code. In order to get any hit counts, you need to define what weapon types you use. Currently following general hit/weapon classes are supported:

Note

It should be noted, that the code does not differentiate between wielded weapons or limbs. This means, that if you are wielding multiple weapons of same type, hits from those are counted as one weapon. Same applies to unarmed hits too, of course.

Example of /hstats output:

,----------------------.
| GgrTF Hit Statistics |
+-----------------------------------------------.
+-| Axes/Long blades     |----------------------|
|horribly shred      :        (  0):     2 ( 11)|
|shred               :        (  0):     7 ( 41)|
|incise              :        (  0):     8 ( 47)|
|tear                :     21 (  3):       (  0)|
|cut                 :    462 ( 72):       (  0)|
|lightly cut         :    157 ( 24):       (  0)|
|                                               |
+-----------------------------------------------'
+-| Totals |-------------------------------------------+
| Hits..: 640        ( 76%) | Crits: 17         (  2%) |
| Misses: 192        ( 23%) | Total hit types: 6       |
+----------------------------------------------+-------'
| Dodges..: 3          | Parries..:            |
| Tumbles.:            | Stuns....:            |
| Ripostes:            | Stun mano:            |
`----------------------------------------------'

Format of hits described above is: | Hit name : number of hits of this type (percentage): number of crits of this type (percentage) |

Note

Hit stats REQUIRES the TF terminal window width to be 95 columns or more! If you are using TF in smaller smaller window and can't make it wider, then you are out of luck.

Table 4.22. Hit Statistics macro commands

Command Description
/hstats Print out hit statistics in a pretty table (see the warning above about the terminal width, though.)
/hstreset Reset and clear current hit-statistics.
/mhits <off|gag|short> Change hit message mangling: off = no mangling, pass hit message through unaltered; short = use short messages, collecting ALL your hit messages into one line like "You jab, dodge, parry, CRUELLY TATTER."; gag = gag messages completely.
/weapon1 <type> Set the weapon types you are using. Currently only two concurrent types are supported. Notice, that if you are using several weapons of SAME type/class, you only need to set one (separate weapons of same type are counted as one.) Use "/weapon1" without arguments to see supported types. Use /weapon[2-4] to set the other weapon types, if any.