Skip to content

Commit

Permalink
Patch v2 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectScrash committed Sep 3, 2023
1 parent 6ad35b3 commit 0585736
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
5 changes: 3 additions & 2 deletions addons/amxmodx/scripting/zombie_plague_special_45.sma
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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


============================================================================================================================*/
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 0585736

Please sign in to comment.