Fix lineup heal command hp sync

This commit is contained in:
WatchAndyTW
2024-07-09 16:06:20 +08:00
parent fadde20595
commit 6a45a0d3a0

View File

@@ -1,4 +1,5 @@
using EggLink.DanhengServer.Internationalization;
using EggLink.DanhengServer.Server.Packet.Send.Lineup;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -38,6 +39,7 @@ namespace EggLink.DanhengServer.Command.Cmd
avatar.CurrentHp = 10000;
}
player.SceneInstance!.SyncLineup();
player.SendPacket(new PacketSyncLineupNotify(player.LineupManager.GetCurLineup()!));
arg.SendMsg(I18nManager.Translate("Game.Command.Lineup.HealedAllAvatars"));
}
}