addstat(STAT_WEAPON_CLIPLOAD, AS_INT, clip_load);
addstat(STAT_WEAPON_CLIPSIZE, AS_INT, clip_size);
addstat(STAT_LAST_PICKUP, AS_FLOAT, last_pickup);
+ addstat(STAT_HIT_TIME, AS_FLOAT, hit_time);
addstat(STAT_DAMAGE_DEALT_TOTAL, AS_INT, damage_dealt_total);
addstat(STAT_TYPEHIT_TIME, AS_FLOAT, typehit_time);
addstat(STAT_LAYED_MINES, AS_INT, minelayer_mines);
if(self.enemy.typehitsound)
self.typehit_time = time;
else if(self.enemy.damage_dealt)
+ {
+ self.hit_time = time;
self.damage_dealt_total = ceil(self.enemy.damage_dealt);
+ }
}
else
{
if(self.typehitsound)
self.typehit_time = time;
else if(self.damage_dealt)
+ {
+ self.hit_time = time;
self.damage_dealt_total = ceil(self.damage_dealt);
+ }
}
}
altime = time + frametime * (1 + autocvar_g_antilag_nudge);