Fix dungeon respawn portal/state regressions after empty-dungeon reset

- Keep exit portals active when dungeons respawn mobs after being empty

- Normalize living mob runtime state on respawn reset (idle state, clear target/cast, reset animation)

- Expand quick-join enter mob payload to include rotation/state/isAlive to prevent stale dead-animation rendering
This commit is contained in:
dingo
2026-02-09 09:06:01 -05:00
parent f8f8b45ecb
commit 0422027989
2 changed files with 17 additions and 5 deletions
+3
View File
@@ -843,8 +843,11 @@ public sealed partial class DungeonHandler : IClientMessageHandler
name = m.Name,
x = m.X,
y = m.Y,
rotation = m.Rotation,
health = m.Health,
maxHealth = m.MaxHealth,
state = m.State.ToString().ToLower(),
isAlive = m.IsAlive,
spriteConfig = DeserializeSpriteConfigSafe(m.SpriteConfigJson),
tintColor = m.TintColor,
scale = m.Scale