diff --git a/README.md b/README.md index 2c68ea8c..3befa855 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ * Move faster (normally only sprint faster) ### Deadshot Daiquiri -* Increases headshot damage by 100% +* Increases bullet headshot damage by 100% * Move faster while aiming * Decreases sprint recovery time diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index 303f42cf..0d79d810 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -156,9 +156,15 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon, if(attacker HasPerk("specialty_deadshot")) { - if(is_headshot(weapon, shitloc, meansofdeath) && WeaponClass(weapon) != "spread" && WeaponClass(weapon) != "pistol spread") + if(is_headshot(weapon, shitloc, meansofdeath)) { - final_damage *= 2; + if(meansofdeath == "MOD_PISTOL_BULLET" || meansofdeath == "MOD_RIFLE_BULLET") + { + if(!isSubStr(weaponClass(weapon), "spread") || maps/mp/zombies/_zm_weapons::get_base_weapon_name(weapon, 1) == "ksg_zm") + { + final_damage *= 2; + } + } } }