mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 06:12:17 -05:00
Fix damage scale using wrong var
This commit is contained in:
parent
f00c6819ea
commit
bb952cfad4
@ -1348,15 +1348,7 @@ actor_damage_override(inflictor, attacker, damage, flags, meansofdeath, weapon,
|
|||||||
|
|
||||||
if (weapon == "zombie_bullet_crouch_zm" && meansofdeath == "MOD_RIFLE_BULLET")
|
if (weapon == "zombie_bullet_crouch_zm" && meansofdeath == "MOD_RIFLE_BULLET")
|
||||||
{
|
{
|
||||||
final_damage = scale_damage(final_damage, 600);
|
damage = scale_damage(damage, 600);
|
||||||
}
|
|
||||||
|
|
||||||
if (weapon == "quadrotorturret_zm" && meansofdeath == "MOD_PISTOL_BULLET")
|
|
||||||
{
|
|
||||||
if (!is_true(self.is_mechz))
|
|
||||||
{
|
|
||||||
final_damage = scale_damage(final_damage, 6000);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (weapon == "willy_pete_zm")
|
if (weapon == "willy_pete_zm")
|
||||||
@ -1379,7 +1371,15 @@ actor_damage_override(inflictor, attacker, damage, flags, meansofdeath, weapon,
|
|||||||
{
|
{
|
||||||
if (!is_true(self.is_brutus))
|
if (!is_true(self.is_brutus))
|
||||||
{
|
{
|
||||||
final_damage = scale_damage(final_damage, 200);
|
damage = scale_damage(damage, 200);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (weapon == "quadrotorturret_zm" && meansofdeath == "MOD_PISTOL_BULLET")
|
||||||
|
{
|
||||||
|
if (!is_true(self.is_mechz))
|
||||||
|
{
|
||||||
|
damage = scale_damage(damage, 6000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user