TopDefenders: change for happyhour
instead of 1k damage = 1 points, 2k damage = 2 points
This commit is contained in:
parent
e8b7d77c4e
commit
86693464da
@ -513,11 +513,11 @@ public void OnClientHurt(Event hEvent, const char[] sEvent, bool bDontBroadcast)
|
||||
g_iPlayerDamageHits[client] += 1;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user