mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-05 22:07:25 +00:00
[HOTFIX] FIX LIGHT MELEE LOGS (#41655)
God fugcking Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
BarryNorfolk
co-authored by
Princess Cheeseballs
parent
aa86c808f9
commit
5fbeecb011
@@ -554,7 +554,7 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem
|
||||
|
||||
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 (damageResult.DamageDict.TryGetValue("Blunt", out var bluntDamage))
|
||||
|
||||
Reference in New Issue
Block a user