1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Denizens: decrease health

This commit is contained in:
Jbleezy
2023-05-06 23:39:43 -07:00
parent fa6bfe9dba
commit a20209d1b6
3 changed files with 31 additions and 0 deletions

View File

@ -94,6 +94,7 @@
### Denizens
* Changed max amount that can be spawned at once from 2 total to 1 per player in the fog
* Changed spawn rate to 5 seconds (normally same spawn rate as zombies)
* Decreased health from 200 to 150
* Decreased number of melees to kill from 5 to 3
* Decreased number of melees to kill with Bowie Knife from 3 to 2
* Decreased number of melees to kill with Galvaknuckles from 2 to 1

View File

@ -10,6 +10,35 @@
#include maps\mp\zm_transit;
#include maps\mp\zm_transit_ai_screecher;
init()
{
level.screecher_should_burrow = ::screecher_should_burrow;
level.screecher_should_runaway = ::screecher_should_runaway;
level.screecher_cleanup = ::transit_screecher_cleanup;
level.screecher_init_done = ::screecher_init_done;
level.portals = [];
}
screecher_init_done()
{
self endon( "death" );
self.maxhealth = 150;
self.health = self.maxhealth;
while ( true )
{
ground_ent = self getgroundent();
if ( isdefined( ground_ent ) && ground_ent == level.the_bus )
{
self dodamage( self.health + 666, self.origin );
}
wait 0.1;
}
}
player_wait_land()
{
self endon( "disconnect" );

View File

@ -36,6 +36,7 @@ main()
replaceFunc(maps\mp\zm_transit_gamemodes::init, scripts\zm\replaced\zm_transit_gamemodes::init);
replaceFunc(maps\mp\zm_transit_classic::inert_zombies_init, scripts\zm\replaced\zm_transit_classic::inert_zombies_init);
replaceFunc(maps\mp\zm_transit_utility::solo_tombstone_removal, scripts\zm\replaced\zm_transit_utility::solo_tombstone_removal);
replaceFunc(maps\mp\zm_transit_ai_screecher::init, scripts\zm\replaced\zm_transit_ai_screecher::init);
replaceFunc(maps\mp\zm_transit_ai_screecher::player_wait_land, scripts\zm\replaced\zm_transit_ai_screecher::player_wait_land);
replaceFunc(maps\mp\zm_transit_bus::bussetup, scripts\zm\replaced\zm_transit_bus::bussetup);
replaceFunc(maps\mp\zm_transit_bus::busscheduleadd, scripts\zm\replaced\zm_transit_bus::busscheduleadd);