TopDefenders: change for happyhour

instead of 1k damage = 1 points, 2k damage = 2 points
This commit is contained in:
Dogan 2019-06-03 23:52:50 +02:00
parent e8b7d77c4e
commit 86693464da

View File

@ -513,11 +513,11 @@ public void OnClientHurt(Event hEvent, const char[] sEvent, bool bDontBroadcast)
g_iPlayerDamageHits[client] += 1; g_iPlayerDamageHits[client] += 1;
g_iPlayerDamageFrom1K[client] += iDamage; g_iPlayerDamageFrom1K[client] += iDamage;
if (g_iPlayerDamageFrom1K[client] >= 1000) if (g_iPlayerDamageFrom1K[client] >= 2000)
{ {
g_iPlayerDamageFrom1K[client] -= 1000; g_iPlayerDamageFrom1K[client] -= 2000;
LH_LogPlayerEvent(client, "triggered", "ze_damage_zombie"); LH_LogPlayerEvent(client, "triggered", "ze_damage_zombie", true);
} }
} }