yyl
2025-07-21 5bc2cc9a3e007b96a0de96e70e87f25bc5a254a2
Main/System/Team/TeamBase.Properties.cs
@@ -10,29 +10,30 @@
   protected void UpdateProperties()
   {
      // YYL TODO
      //   羁绊
      for (int i = 0; i < teamHeros.Length; i++)
      {
         TeamHero hero = teamHeros[i];
         if (null != hero)
         {
            for (int j = 0; j < hero.heroInfo.fetterInfoList.Count; j++)
            {
               hero.heroInfo.fetterInfoList[j].SetIsActiveFetter(this);
            }
         }
      }
      // for (int i = 0; i < teamHeros.Length; i++)
      // {
      //    TeamHero hero = teamHeros[i];
      //    if (null != hero)
      //    {
      //       for (int j = 0; j < hero.heroInfo.fetterInfoList.Count; j++)
      //       {
      //          hero.heroInfo.fetterInfoList[j].SetIsActiveFetter(this);
      //       }
      //    }
      // }
      //   阵型
      //   属性计算
      for (int i = 0; i < teamHeros.Length; i++)
      {
         TeamHero hero = teamHeros[i];
         if (null != hero)
            hero.heroInfo.CalculateProperties();
      }
      // for (int i = 0; i < teamHeros.Length; i++)
      // {
      //    TeamHero hero = teamHeros[i];
      //    if (null != hero)
      //       hero.heroInfo.CalculateProperties();
      // }
   }
    public void CalculatePower()