mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-24 04:49:38 +08:00
修改团队模式下角色信息的回执内容
This commit is contained in:
parent
b87e41972f
commit
4d18e3d072
@ -577,6 +577,38 @@ namespace Oshima.Core.Utils
|
|||||||
|
|
||||||
// 显示每个角色的信息
|
// 显示每个角色的信息
|
||||||
if (isWeb)
|
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--)
|
for (i = actionQueue.Eliminated.Count - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
@ -584,6 +616,7 @@ namespace Oshima.Core.Utils
|
|||||||
result.Add($"=== 角色 [ {character} ] ===\r\n{character.GetInfo()}");
|
result.Add($"=== 角色 [ {character} ] ===\r\n{character.GetInfo()}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isTeam)
|
if (isTeam)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user