Main/Config/PartialConfigs/HeroAwakeConfig.cs
@@ -48,4 +48,22 @@ { return GetHeroAwakeConfig(heroID, awakeLv) == null; } public static int GetAwakeLVByUnLockGiftIndex(int heroID, int index) { Dictionary<int, HeroAwakeConfig> tempDic = null; if (!configDics.TryGetValue(heroID, out tempDic)) { return 0; } foreach (var item in tempDic) { if (item.Value.UnlockTalentSlot == index + 1) { return item.Key; } } return 0; } }