diff --git a/src/AcDream.App/Rendering/GameWindow.cs b/src/AcDream.App/Rendering/GameWindow.cs index 385e1cb1..8439d051 100644 --- a/src/AcDream.App/Rendering/GameWindow.cs +++ b/src/AcDream.App/Rendering/GameWindow.cs @@ -2631,6 +2631,14 @@ public sealed class GameWindow : IDisposable LocalPlayer.OnVitalUpdate(v.VitalId, v.Ranks, v.Start, v.Xp, v.Current); _liveSession.VitalCurrentUpdated += v => LocalPlayer.OnVitalCurrent(v.VitalId, v.Current); + + // D.5.2: live PublicUpdatePropertyInt(0x02CE). Route UiEffects (18) to the item + // repository so a draining/charging item re-composites its icon in real time. + _liveSession.ObjectIntPropertyUpdated += u => + { + if (u.Property == AcDream.Core.Items.ItemRepository.UiEffectsPropertyId) + Items.UpdateIntProperty(u.Guid, u.Property, u.Value); + }; } ///