From 9f57b5d9e0e6bbed87c45aff6a0d1166d73e7382 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Thu, 20 Apr 2023 20:25:32 -0700 Subject: [PATCH] Who's Who: self revives in solo always activate --- README.md | 1 + scripts/zm/replaced/_zm.gsc | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22e306e3..791f6910 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,7 @@ * Keep any perks obtained in Who's Who mode when exiting Who's Who mode * Revive twice as fast in Who's Who mode * Decreased Who's Who mode duration from 45 seconds to 30 seconds +* Self revives in solo always activate during Who's Who mode * Invulnerable for 2 seconds after entering and exiting Who's Who mode * Controls are frozen for 0.5 seconds after exiting Who's Who mode * Purchasing Who's Who in Who's Who mode no longer destroys the clone diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index d58d65a1..0fea1f74 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -1458,6 +1458,11 @@ is_solo_death( players ) return 1; } + if(isDefined(self.e_chugabud_corpse)) + { + return 0; + } + active_perks = 0; if(isDefined(self.perks_active)) { @@ -1525,7 +1530,7 @@ player_laststand( einflictor, attacker, idamage, smeansofdeath, sweapon, vdir, s disabled_perks = self.disabled_perks.size; } - if(active_perks > disabled_perks) + if(active_perks > disabled_perks || isDefined(self.e_chugabud_corpse)) { self thread maps\mp\zombies\_zm::wait_and_revive(); }