hch
2025-09-02 c5adf3e22a5cdfb185a4befc22ef0cd079a7eb33
Main/System/Hero/HeroInfo.Talent.cs
@@ -16,21 +16,36 @@
        }
    }
   
   public List<HeroTalentInfo> talentList = new List<HeroTalentInfo>();
   // 75 # 英雄天赋洗炼锁定索引列表,对应71天赋ID索引
   // 77 # 英雄天赋洗炼随机ID列表
   // 79 # 英雄觉醒时随机天赋选项ID列表
   // 71 # 英雄天赋ID列表
   public List<int> talentIDList
   {
      get
      {
         if (itemHero == null)
            return null;
         return itemHero.GetUseData(71);
      }
   }
   // 73 # 英雄天赋ID等级列表,对应71天赋ID的等级
   public List<int> talentLvList
   {
      get
      {
         if (itemHero == null)
            return null;
         return itemHero.GetUseData(73);
      }
   }
   Dictionary<int, int> talentAttrDic = new Dictionary<int, int>();   //属性ID : 天赋属性值
                                                      // 71 # 英雄天赋ID列表
                                                      // 73 # 英雄天赋ID等级列表,对应71天赋ID的等级
                                                      // 75 # 英雄天赋洗炼锁定索引列表,对应71天赋ID索引
                                                      // 77 # 英雄天赋洗炼随机ID列表
                                                      // 79 # 英雄觉醒时随机天赋选项ID列表
   protected void RefreshTalentAttr()
   {
      // 71 # 英雄天赋ID列表
      List<int> talentIDList = itemHero.GetUseData(71);
      // // 73 # 英雄天赋ID等级列表,对应71天赋ID的等级
      List<int> talentLvList = itemHero.GetUseData(73);
      talentAttrDic.Clear();
      for (int i = 0; i < talentIDList.Count; i++)