1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 23:27:57 -05:00

Storm PSR: remove scripted damage

Storm PSR: add infinite penetration from weapon file
Storm PSR: add back MMS
Storm PSR: adjust tracerType
This commit is contained in:
Jbleezy
2024-05-12 08:57:09 -07:00
parent c7531c2128
commit 5842d0a099
12 changed files with 32 additions and 101 deletions

View File

@ -1576,10 +1576,32 @@ actor_damage_override(inflictor, attacker, damage, flags, meansofdeath, weapon,
{
if (issubstr(weapon, "upgraded"))
{
// do same damage through penetration
if (isdefined(attacker.chargeshotlevel))
{
final_damage = 2000 * attacker.chargeshotlevel;
if (is_headshot(weapon, shitloc, meansofdeath))
{
final_damage = int(final_damage * 1.5);
}
}
final_damage = scale_damage(final_damage, 10000);
}
else
{
// do same damage through penetration
if (isdefined(attacker.chargeshotlevel))
{
final_damage = 1000 * attacker.chargeshotlevel;
if (is_headshot(weapon, shitloc, meansofdeath))
{
final_damage = int(final_damage * 1.5);
}
}
final_damage = scale_damage(final_damage, 5000);
}
}