From 0585736c70d1be3b0519c4e9fc74a64345044279 Mon Sep 17 00:00:00 2001 From: PerfectScrash Date: Sun, 3 Sep 2023 00:17:28 -0300 Subject: [PATCH] Patch v2 Update --- Readme.md | 3 ++- addons/amxmodx/scripting/zombie_plague_special_45.sma | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index a572db5..e242483 100644 --- a/Readme.md +++ b/Readme.md @@ -350,7 +350,7 @@ * Fix (03/02/2023): - Fix env_sprite Conflict wth other plugins like Salamander - * 4.5 Patch v2 (Not ended): + * 4.5 Patch v2 (03-09-2023) - Removed register_ham_czbot function, now are using "specialbot" param in hamsandwich - Added auto Add Setting in .ini for NOOBS - Added cvar: "zp_respawn_on_headshoot" @@ -367,3 +367,4 @@ - Fixed some lang mistakes - Fixed native zp_set_lighting (Again) - Fixed error log when user disconnects with personal menu opened + - Fixed Zombie Armor when Berserker is attacker diff --git a/addons/amxmodx/scripting/zombie_plague_special_45.sma b/addons/amxmodx/scripting/zombie_plague_special_45.sma index 63530dd..c1e213b 100644 --- a/addons/amxmodx/scripting/zombie_plague_special_45.sma +++ b/addons/amxmodx/scripting/zombie_plague_special_45.sma @@ -328,7 +328,7 @@ - Fixed Native: zp_set_user_knockback - Fixed weapons menu - -- Patch v2 (Not ended) + -- Patch v2 (03-09-2023) - Removed register_ham_czbot function, now are using "specialbot" param in hamsandwich - Added auto Add Setting in .ini for NOOBS - Added cvar: "zp_respawn_on_headshoot" @@ -345,6 +345,7 @@ - Fixed some lang mistakes - Fixed native zp_set_lighting (Again) - Fixed error log when user disconnects with personal menu opened + - Fixed Zombie Armor when Berserker is attacker ============================================================================================================================*/ @@ -2744,7 +2745,7 @@ public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type) { / return HAM_SUPERCEDE; if(!g_zombie[attacker]) { // Attacker is human... - if(g_zombie[victim] && g_hm_special[attacker] != SNIPER) { // Armor multiplier for the final damage on normal zombies + if(g_zombie[victim] && g_hm_special[attacker] != SNIPER && g_hm_special[attacker] != BERSERKER) { // Armor multiplier for the final damage on normal zombies damage *= get_pcvar_float(cvar_zombiearmor) SetHamParamFloat(4, damage) }