mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
Fix lineup heal command hp sync
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user