yyl
2 天以前 30ba2ef747ced774bef177d5273cb5a3429cff49
Main/System/Team/TeamBase.Properties.cs
@@ -6,13 +6,37 @@
    //  阵型内卡牌的羁绊增益
    public void CalculateProperties(CardInfo cardInfo)
    {
    public int fightPower = 0;
    }
   protected void UpdateProperties()
   {
      //   羁绊
      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();
      }
   }
    public void CalculatePower()
    {
        // fightPower//的计算
    }
}