if (take > 100)
Violence_GibSplash_At(hitloc, force * -0.2, 3, 1, self, attacker);
- if (!(self.flags & FL_GODMODE))
- {
- self.armorvalue = self.armorvalue - save;
- self.health = self.health - take;
- // pause regeneration for 5 seconds
- self.pauseregen_finished = max(self.pauseregen_finished, time + autocvar_g_balance_pause_health_regen);
- }
+ self.armorvalue = self.armorvalue - save;
+ self.health = self.health - take;
+ // pause regeneration for 5 seconds
+ self.pauseregen_finished = max(self.pauseregen_finished, time + autocvar_g_balance_pause_health_regen);
+
self.dmg_save = self.dmg_save + save;//max(save - 10, 0);
self.dmg_take = self.dmg_take + take;//max(take - 10, 0);
self.dmg_inflictor = inflictor;