Predict healing and bloodstream (#38690)

* initial commit

* reapply 38126

* fix rootable

* someone missed an important minus sign here

* try this

* fix

* fix

* reenable crit hits

* cleanup

* fix status time dirtying

* fix

* camelCase
This commit is contained in:
slarticodefast
2025-07-03 01:20:31 +02:00
committed by GitHub
parent 8597acd030
commit 38232d2255
37 changed files with 915 additions and 841 deletions

View File

@@ -353,7 +353,7 @@ namespace Content.Shared.Damage
// Has the damage actually changed?
DamageSpecifier newDamage = new() { DamageDict = new(state.DamageDict) };
var delta = component.Damage - newDamage;
var delta = newDamage - component.Damage;
delta.TrimZeros();
if (!delta.Empty)