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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user