| | |
| | | return; |
| | | } |
| | | |
| | | //洗炼和觉醒的天赋未处理不可吞噬 |
| | | if (hero.talentRandomIDList.Count > 0) |
| | | { |
| | | SysNotifyMgr.Instance.ShowTip("HeroGift4"); |
| | | return; |
| | | } |
| | | |
| | | if (hero.talentAwakeRandomIDList.Count > 0) |
| | | { |
| | | SysNotifyMgr.Instance.ShowTip("HeroGift5"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | //根据锁状态判断材料是否足够 |
| | | if (!ItemLogicUtility.CheckItemCount(PackType.Item, HeroUIManager.Instance.washItemID, |
| | | HeroUIManager.Instance.GetTalentLockUseWashCount(hero), 2)) |
| | |
| | | afterGiftCells[i].SetActive(true); |
| | | |
| | | |
| | | afterGiftCells[i].Init(hero.talentRandomIDList[i], hero.talentLvList[i]); |
| | | afterGiftCells[i].Init(hero.talentRandomIDList[i], hero.talentLvList[i], 0, hero.heroId, i, hero.awakeLevel); |
| | | |
| | | //对比变化的天赋显示特效 |
| | | if (hero.talentRandomIDList[i] != hero.talentIDList[i]) |