1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-26 23:20:34 -05:00

Tranzit: zombies killed by the bus no longer respawn

This commit is contained in:
Jbleezy
2023-04-22 01:46:19 -07:00
parent f7b99e386b
commit 4d7a89ee3e
3 changed files with 17 additions and 0 deletions

View File

@ -731,4 +731,19 @@ busupdateplayers()
wait 0.05;
}
}
busplowkillzombieuntildeath()
{
self endon( "death" );
while ( isdefined( self ) && isalive( self ) )
{
if ( isdefined( self.health ) )
{
self dodamage( self.health + 666, self.origin, self, self, "none", "MOD_SUICIDE" );
}
wait 1;
}
}