From 7f14ad52fdd8ef4b2beb850cd72d81554115ff96 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Mon, 3 Apr 2023 17:23:35 -0700 Subject: [PATCH] Staffs: revive weapon kills on any round --- scripts/zm/replaced/_zm.gsc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index 96d3ca27..cc1006b7 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -288,6 +288,14 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon, } } + if (weapon == "staff_revive_zm") + { + if (!is_true(self.is_mechz)) + { + final_damage = level.zombie_health; + } + } + if(attacker HasPerk("specialty_rof")) { if(meansofdeath == "MOD_PISTOL_BULLET" || meansofdeath == "MOD_RIFLE_BULLET")