hch
2025-09-11 9a831340e3613c255badb6ee6b11827517fb76dd
117 【武将】武将系统 - 图鉴奖励
物品特效,官职奖励特效
7个文件已修改
39 ■■■■■ 已修改文件
Main/Config/Configs/ItemConfig.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroCollectionLvUpWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroUIManager.Collect.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroUIManager.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/KnapSack/New/CommonItemBaisc.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/OfficialRank/OfficialUpCell.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/OfficialRank/OfficialUpWin.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/Configs/ItemConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年8月5日
//    [  Date ]:           Wednesday, September 10, 2025
//--------------------------------------------------------
using System.Collections.Generic;
Main/System/HeroUI/HeroCollectionLvUpWin.cs
@@ -112,8 +112,8 @@
                //激活
                addPer = qualityConfig.BookInitAddPer;
                btnText.text = Language.Get("L1131");   //L1131    激活
                awardInfo.text = Language.Get("HeroAwake10", UIHelper.GetIconNameWithMoneyType(HeroUIManager.Instance.bookMoneyType),
                    HeroUIManager.Instance.bookMoneyValue);
                awardInfo.text = Language.Get("HeroAwake10", UIHelper.GetIconNameWithMoneyType(qualityConfig.BookActAwardMoney[0]),
                    qualityConfig.BookActAwardMoney[1]);
                unActiveGo.SetActive(true);
                titleText.text = Language.Get("HeroAwake11");
            }
Main/System/HeroUI/HeroUIManager.Collect.cs
@@ -16,9 +16,6 @@
    public int selectHeroCollectListCountry = 0;    //武将列表界面筛选国家
    public int selectCollectHeroID; //选中的武将id 用于升级
    public int bookMoneyType; //图鉴奖励货币类型
    public int bookMoneyValue;//图鉴奖励货币数量
    public int selectForPreviewHeroID; //选中的武将id 用于预览
    //图鉴和皮肤的激活情况
Main/System/HeroUI/HeroUIManager.cs
@@ -58,11 +58,6 @@
        ParseGiftConfig();
        config = FuncConfigConfig.Get("HeroBook");
        var arr = JsonMapper.ToObject<int[]>(config.Numerical1);
        bookMoneyType = arr[0];
        bookMoneyValue = arr[1];
        config = FuncConfigConfig.Get("HeroRedpoint");
        heroRedpointItemList = JsonMapper.ToObject<int[]>(config.Numerical1);
    }
Main/System/KnapSack/New/CommonItemBaisc.cs
@@ -330,12 +330,11 @@
    void DisPlayEffect(ItemConfig config)
    {
        if (itemBaseEffect == null)
            return;
        if (config.BaseEffectID == 0)
        {
            if (itemBaseEffect != null)
            {
                itemBaseEffect.SetActive(false);
            }
        }
        else
        {
Main/System/OfficialRank/OfficialUpCell.cs
@@ -14,6 +14,7 @@
    [SerializeField] Image bgImg;
    [SerializeField] Image finishImg;
    [SerializeField] Image getAwardImg;
    [SerializeField] GameObject getAwardEffect;
    [SerializeField] Text taskName;
    [SerializeField] Image taskProcess;
    [SerializeField] Text taskProcessText;
@@ -29,6 +30,7 @@
        stateImg.SetSprite("OfficialMisionState" + state);
        finishImg.SetActive(state == 2);
        getAwardImg.SetActive(state == 1);
        getAwardEffect.SetActive(state == 1);
        bgImg.SetSprite(state == 0 ? "OfficialMissionBG0" : "OfficialMissionBG1");
        switch (config.TaskType)
        {
Main/System/OfficialRank/OfficialUpWin.cs
@@ -106,15 +106,15 @@
            missionCellArr[i].Display(ids[i]);
        }
        for (int i = 0; i < missionCellArr.Length; i++)
        {
            if (OfficialRankManager.Instance.GetMissionAwardState(i + 1) != 1)
            {
                lvUpBtn.SetColorful(null, false);
                return;
            }
        }
        lvUpBtn.SetColorful(null, true);
        // for (int i = 0; i < missionCellArr.Length; i++)
        // {
        //     if (OfficialRankManager.Instance.GetMissionAwardState(i + 1) != 1)
        //     {
        //         lvUpBtn.SetColorful(null, false);
        //         return;
        //     }
        // }
        // lvUpBtn.SetColorful(null, true);
    }