FireControl publishes every landed impact on the receiver's Capabilities; Feedback.Cue and DrawAhead.Carried
AbsorbEvent gains AbsorbLayer. Entity.Capabilities, four publish sites in ApplyDirectHit and Detonate (each before the damage it reports), Feedback.Cue, DrawAhead.Carried (Impact delegates), PlayerGraphicsSettings.ScreenShake. Not yet built or tested; tests follow in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d50f54bf53
commit
8adda0b3de
10 changed files with 116 additions and 22 deletions
|
|
@ -130,7 +130,7 @@ namespace Aetheria.EditorTools
|
|||
|
||||
static AbsorbEvent Absorb(Vector3 worldPos, Vector3 worldDir, float energy = 5f,
|
||||
DamageType type = DamageType.Kinetic)
|
||||
=> new AbsorbEvent(worldPos.ToCultMath(), worldDir.ToCultMath(), energy, type);
|
||||
=> new AbsorbEvent(worldPos.ToCultMath(), worldDir.ToCultMath(), energy, type, AbsorbLayer.Shield);
|
||||
|
||||
// ==============================================================
|
||||
// D17/D20: a panel struck in its own spawn frame must absorb that hit, not swallow it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue