mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
fix one shot one kills
This commit is contained in:
parent
8a95abf6c1
commit
0ee3d4ba8a
@ -70,7 +70,11 @@ onKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc,
|
||||
self botsDeleteFakeAnim();
|
||||
|
||||
if (!hidden)
|
||||
{
|
||||
wait 0.05;
|
||||
if (isDefined(eAttacker) && isDefined(eAttacker.guid) && isDefined(self.attackerData[eAttacker.guid]) && isDefined(self.attackerData[eAttacker.guid].firstTimeDamaged))
|
||||
self.attackerData[eAttacker.guid].firstTimeDamaged += 0.05;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user