Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Source/CombatExtended/Harmony/Harmony_CompShield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ internal static bool Prefix(out bool absorbed, DamageInfo dinfo, CompShield __in
secondaryDamageMultiplierValue = secondaryDamageModExt.shieldDamageMultiplier;
}
secondaryShieldDamageAmount += (secondaryDamageInfo.amount * secondaryDamageMultiplierValue);
dinfo.amountInt += secondaryDamageInfo.amount;

}
}
Expand Down Expand Up @@ -96,7 +95,6 @@ internal static bool Prefix(out bool absorbed, DamageInfo dinfo, CompShield __in
}
else
{
dinfo.amountInt -= secondaryShieldDamageAmount;
__instance.AbsorbedDamage(dinfo);
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public static bool Prefix(out bool absorbed, DamageInfo dinfo, CompShieldBubble
secondaryDamageMultiplierValue = secondaryDamageModExt.shieldDamageMultiplier;
}
secondaryShieldDamageAmount += (secondaryDamageInfo.amount * secondaryDamageMultiplierValue);
dinfo.amountInt += secondaryDamageInfo.amount;

}
}
}
Expand Down Expand Up @@ -80,7 +78,6 @@ public static bool Prefix(out bool absorbed, DamageInfo dinfo, CompShieldBubble
}
else
{
dinfo.amountInt -= secondaryShieldDamageAmount;
__instance.AbsorbedDamage(dinfo);
}
return false;
Expand Down
Loading