yyl
2025-10-31 39001a600fcae2bcf27c225df8752d75fb92fef4
Main/Config/PartialConfigs/HeroAwakeConfig.cs
@@ -46,9 +46,10 @@
    public static bool CanAwake(int heroID, int awakeLv)
    {
        return GetHeroAwakeConfig(heroID, awakeLv) == null;
        return GetHeroAwakeConfig(heroID, awakeLv) != null;
    }
    //解锁指定天赋槽位需要的觉醒等级
    public static int GetAwakeLVByUnLockGiftIndex(int heroID, int index)
    {
        Dictionary<int, HeroAwakeConfig> tempDic = null;
@@ -63,7 +64,18 @@
            {
                return item.Key;
            }
        }
        }
        return 0;
    }
    public static int GetMaxAwakeLV(int heroID)
    {
        Dictionary<int, HeroAwakeConfig> tempDic = null;
        if (!configDics.TryGetValue(heroID, out tempDic))
        {
            return 0;
        }
        return tempDic.Count;
    }
}