Start rebalancing anomalies - Rock and Flesh anomaly reworked (#24381)

* rework

* bruh

* all fixed

* balance

* bb

* Update TileAnomalySystem.cs

* Update EntityAnomalySystem.cs
This commit is contained in:
Ed
2024-01-23 15:32:05 +03:00
committed by GitHub
parent 1ab06db7ae
commit b02c211e2f
17 changed files with 660 additions and 205 deletions

View File

@@ -227,7 +227,7 @@ public abstract class SharedAnomalySystem : EntitySystem
component.Stability = Math.Clamp(newVal, 0, 1);
Dirty(component);
var ev = new AnomalyStabilityChangedEvent(uid, component.Stability);
var ev = new AnomalyStabilityChangedEvent(uid, component.Stability, component.Severity);
RaiseLocalEvent(uid, ref ev, true);
}
@@ -250,7 +250,7 @@ public abstract class SharedAnomalySystem : EntitySystem
component.Severity = Math.Clamp(newVal, 0, 1);
Dirty(component);
var ev = new AnomalySeverityChangedEvent(uid, component.Severity);
var ev = new AnomalySeverityChangedEvent(uid, component.Stability, component.Severity);
RaiseLocalEvent(uid, ref ev, true);
}