]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Add entity fields to store average handicap over a match k9er/handicap-features
authorotta8634 <k9wolf@pm.me>
Sun, 15 Dec 2024 16:47:58 +0000 (00:47 +0800)
committerotta8634 <k9wolf@pm.me>
Sun, 15 Dec 2024 16:47:58 +0000 (00:47 +0800)
commitf92b4a9e62531bcd131216de93d18948b91d29ea
tree1a5af69979aa6240d51ded86cea5a3f1d0428454
parentd5e33d809572dd49367ac9e4ca2ee040a78ad9ef
Add entity fields to store average handicap over a match

Added .handicap_avg_taken_sum and .handicap_avg_given_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.
These can be networked to XonStat in future.
qcsrc/server/client.qc
qcsrc/server/handicap.qh