修改团队模式下角色信息的回执内容

This commit is contained in:
milimoe 2024-10-30 21:52:48 +08:00
parent b87e41972f
commit 4d18e3d072
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -577,6 +577,38 @@ namespace Oshima.Core.Utils
// 显示每个角色的信息
if (isWeb)
{
if (isTeam)
{
top = 1;
for (i = actionQueue.EliminatedTeams.Count - 1; i >= 0; i--)
{
Team team = actionQueue.EliminatedTeams[i];
string topTeam = "";
if (top == 1)
{
topTeam = "冠军";
}
if (top == 2)
{
topTeam = "亚军";
}
if (top == 3)
{
topTeam = "季军";
}
if (top > 3)
{
topTeam = $"第 {top} 名";
}
foreach (Character character in team.Members)
{
result.Add($"== {topTeam}团队 [ {team.Name} ] ==\r\n== 角色:[ {character} ] ==\r\n{character.GetInfo()}");
}
top++;
}
}
else
{
for (i = actionQueue.Eliminated.Count - 1; i >= 0; i--)
{
@ -584,6 +616,7 @@ namespace Oshima.Core.Utils
result.Add($"=== 角色 [ {character} ] ===\r\n{character.GetInfo()}");
}
}
}
if (isTeam)
{