hch
2025-08-02 0b72d489d989007a827c1f8ca33248441a6e85f9
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)