From ac108ffde599d8d70670a1455c19b683c900b858 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Wed, 26 Jan 2022 03:30:00 -0800 Subject: [PATCH] Blundergat: kills on any round Acid Gat: kills on any round --- README.md | 6 ++++++ scripts/zm/replaced/_zm.gsc | 26 ++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 34d32a02..19e83220 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,12 @@ * Kills on any round (normally stops killing after round 100) * Removed additional goo created by chain kills +### Blundergat +* Kills on any round + +### Acid Gat +* Kills on any round + ## Wallbuys * Increased trigger radius * Decreased upgraded ammo cost from 4500 to 2500 diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index c3a209b2..9f4c850a 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -165,6 +165,11 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon, attacker thread maps/mp/gametypes_zm/_weapons::checkhit( weapon ); + if(maps/mp/zombies/_zm_weapons::get_base_weapon_name(weapon, 1) == "saritch_zm") + { + final_damage *= 2; + } + if(weapon == "ray_gun_zm" && meansofdeath == "MOD_PROJECTILE") { final_damage = 1500; @@ -175,9 +180,26 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon, final_damage = 2000; } - if(maps/mp/zombies/_zm_weapons::get_base_weapon_name(weapon, 1) == "saritch_zm") + if(weapon == "blundergat_zm" || weapon == "blundergat_upgraded_zm") { - final_damage *= 2; + if(!is_true(self.is_brutus)) + { + damage_scalar = final_damage / 1000; + min_damage = int(damage_scalar * level.zombie_health) + 1; + + if(final_damage < min_damage) + { + final_damage = min_damage; + } + } + } + + if(weapon == "blundersplat_explosive_dart_zm") + { + if(!is_true(self.is_brutus)) + { + final_damage = level.zombie_health; + } } if(attacker HasPerk("specialty_rof"))