mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Titus-6 (buckshot): decrease damage scaling
Titus-6 (buckshot upgraded): increase max damage range to same as Blundergat upgraded Titus-6: return primary weapon if given grenade weapon from get_nonalternate_weapon
This commit is contained in:
parent
189bdcf1a9
commit
223150ed20
@ -1596,12 +1596,12 @@ actor_damage_override(inflictor, attacker, damage, flags, meansofdeath, weapon,
|
|||||||
|
|
||||||
if (weapon == "mk_titus6_zm")
|
if (weapon == "mk_titus6_zm")
|
||||||
{
|
{
|
||||||
final_damage = scale_damage(final_damage, 500);
|
final_damage = scale_damage(final_damage, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (weapon == "mk_titus6_upgraded_zm")
|
if (weapon == "mk_titus6_upgraded_zm")
|
||||||
{
|
{
|
||||||
final_damage = scale_damage(final_damage, 1000);
|
final_damage = scale_damage(final_damage, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (weapon == "staff_revive_zm")
|
if (weapon == "staff_revive_zm")
|
||||||
|
@ -1055,6 +1055,18 @@ get_nonalternate_weapon(altweapon)
|
|||||||
return alt;
|
return alt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (issubstr(altweapon, "titus6"))
|
||||||
|
{
|
||||||
|
alt = "titus6_zm";
|
||||||
|
|
||||||
|
if (issubstr(altweapon, "upgraded"))
|
||||||
|
{
|
||||||
|
alt = "titus6_upgraded_zm";
|
||||||
|
}
|
||||||
|
|
||||||
|
return alt;
|
||||||
|
}
|
||||||
|
|
||||||
return altweapon;
|
return altweapon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user