hch
2025-08-05 6d9a990ce3eff793946d7b43e9b48e4f7045c20e
Main/System/Team/TeamBase.cs
@@ -252,6 +252,16 @@
        tempHeroes[posNum] = hero;
    }
    //  布阵接口: 恢复阵容
    public void RestoreTeam()
    {
        for (int i = 0; i < tempHeroes.Length; i++)
        {
            tempHeroes[i] = serverHeroes[i];
        }
    }
    public void AddHero(HeroInfo heroInfo, int targetPosition)
    {
        if (targetPosition < 0 || targetPosition >= tempHeroes.Length)