[HOTFIX] FIX LIGHT MELEE LOGS (#41655)
God fugcking Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
parent
aa86c808f9
commit
5fbeecb011
|
|
@ -554,7 +554,7 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
|
||||||
|
|
||||||
var modifiedDamage = DamageSpecifier.ApplyModifierSets(damage + hitEvent.BonusDamage + attackedEvent.BonusDamage, hitEvent.ModifiersList);
|
var modifiedDamage = DamageSpecifier.ApplyModifierSets(damage + hitEvent.BonusDamage + attackedEvent.BonusDamage, hitEvent.ModifiersList);
|
||||||
|
|
||||||
if (!Damageable.TryChangeDamage(target.Value, modifiedDamage, out var damageResult, origin:user, ignoreResistances:resistanceBypass, partMultiplier: component.ClickPartDamageMultiplier)) // Shitmed Change
|
if (Damageable.TryChangeDamage(target.Value, modifiedDamage, out var damageResult, origin:user, ignoreResistances:resistanceBypass, partMultiplier: component.ClickPartDamageMultiplier)) // Shitmed Change
|
||||||
{
|
{
|
||||||
// If the target has stamina and is taking blunt damage, they should also take stamina damage based on their blunt to stamina factor
|
// If the target has stamina and is taking blunt damage, they should also take stamina damage based on their blunt to stamina factor
|
||||||
if (damageResult.DamageDict.TryGetValue("Blunt", out var bluntDamage))
|
if (damageResult.DamageDict.TryGetValue("Blunt", out var bluntDamage))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue