From: Ant Zucaro Date: Wed, 25 May 2011 02:29:32 +0000 (-0400) Subject: Add hit and damage % X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdbe07e82146c28fe5af83e3707edc0e9ff9e02a;p=xonotic%2Fxonstat.git Add hit and damage % --- diff --git a/xonstat/templates/player_weapon_stats.mako b/xonstat/templates/player_weapon_stats.mako index 7aa9c76..ced0a4a 100644 --- a/xonstat/templates/player_weapon_stats.mako +++ b/xonstat/templates/player_weapon_stats.mako @@ -16,8 +16,10 @@ Accuracy Information - ${parent.title()} Weapon Fired Hit + Hit % Potential Damage Actual Damage + Damage % Frags @@ -26,6 +28,7 @@ Accuracy Information - ${parent.title()} ${weapon.descr} ${pwstat.fired} ${pwstat.hit} + ${pwstat.hit/pwstat.fired} ${pwstat.max} ${pwstat.actual} ${pwstat.frags}