mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 07:37:56 -05:00
Deadshot: only increase bullet damage
This commit is contained in:
@ -188,7 +188,7 @@
|
|||||||
* Move faster (normally only sprint faster)
|
* Move faster (normally only sprint faster)
|
||||||
|
|
||||||
### Deadshot Daiquiri
|
### Deadshot Daiquiri
|
||||||
* Increases headshot damage by 100%
|
* Increases bullet headshot damage by 100%
|
||||||
* Move faster while aiming
|
* Move faster while aiming
|
||||||
* Decreases sprint recovery time
|
* Decreases sprint recovery time
|
||||||
|
|
||||||
|
@ -156,9 +156,15 @@ actor_damage_override( inflictor, attacker, damage, flags, meansofdeath, weapon,
|
|||||||
|
|
||||||
if(attacker HasPerk("specialty_deadshot"))
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user