hch
3 天以前 e224c6e8adb5f7be1b48a8879800207952d94911
0312 武将吞噬只选一只且超过总星数的情况,允许选择
1个文件已修改
11 ■■■■ 已修改文件
Main/System/HeroUI/HeroGiftRoleListCell.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroGiftRoleListCell.cs
@@ -111,10 +111,15 @@
            // 主武将星级
            var star = HeroManager.Instance.GetHero(HeroUIManager.Instance.selectHeroGuidForGiftFunc)?.heroStar;
            if (eatStar + selectStar + star > maxStarCnt)
            // 只选1只的情况下,如果 39星 + 5星超过了也让可选,其他情况的话需判断星上限
            if (!(HeroUIManager.Instance.selectEatHeroIndexList.Count == 0 && selectStar > 1))
            {
                SysNotifyMgr.Instance.ShowTip("HeroGiftEat1");
                return;
                if (eatStar + selectStar + star > maxStarCnt)
                {
                    SysNotifyMgr.Instance.ShowTip("HeroGiftEat1");
                    return;
                }
            }
            if (!HeroUIManager.Instance.selectEatHeroIndexList.Contains(girdIndex))