]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Calculate average handicap over a match and send to XonStat 1502/head
authorotta8634 <k9wolf@pm.me>
Sun, 15 Dec 2024 16:47:58 +0000 (00:47 +0800)
committerotta8634 <k9wolf@pm.me>
Sat, 17 May 2025 06:27:42 +0000 (14:27 +0800)
commit9dd1a5d2304c1fc97fb646dc79340a177f3c575d
treecf4ae5abf70f345701c47fd1dae5a38cba03e2ca
parent8f1d5070c45d0c4461e6b94dcbc7d71eb9a09b87
Calculate average handicap over a match and send to XonStat

Added .handicap_avg_given_sum and .handicap_avg_taken_sum.
Currently it doesn't include self-damage which *is* influenced by handicap.
- Including this would require minimum 2 but probably 4 more entity fields, so I'm not sure it's really necessary.
The given and taken handicaps are sent to XonStat separately.
qcsrc/common/playerstats.qc
qcsrc/common/playerstats.qh
qcsrc/server/client.qc
qcsrc/server/handicap.qh