少年修仙传客户端代码仓库
Client_PangDeRong
2018-09-25 4e21f6d0f392cad1c2f95d8243a80058a8becb82
3822  被境界限制的丹药红点不消失的等级改为140级(含)前
2个文件已修改
15 ■■■■ 已修改文件
System/BlastFurnace/BlastFurnaceModel.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BlastFurnace/BlastFurnaceWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BlastFurnace/BlastFurnaceModel.cs
@@ -10,7 +10,7 @@
public class BlastFurnaceModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk
{
    public BlastFurnaceFuncTitle funcTitle = BlastFurnaceFuncTitle.MakeDan;
    private int makeDrugRedLv;
    public Action<AlchemySpecConfig> RefreshAddSpecMatEvent;
    private TreasureModel _model;
@@ -64,6 +64,8 @@
        }
        alchemyModellist = Config.Instance.GetAllValues<AlchemyConfig>();
        FuncConfigConfig alchemyRedPoint = Config.Instance.Get<FuncConfigConfig>("AlchemyRedPoint");
        int.TryParse(alchemyRedPoint.Numerical1,out makeDrugRedLv);
        SetDandrugRedPointlist();
        GlobalTimeEvent.Instance.secondEvent += SecondUpdate;
    }
@@ -757,11 +759,11 @@
        bool isCheckRed = false;
        if(!isClick)
        {
            if(PlayerDatas.Instance.baseData.LV <= 151)
            if(PlayerDatas.Instance.baseData.LV <= makeDrugRedLv)
            {
                isCheckRed = true;
            }
            else if(PlayerDatas.Instance.baseData.LV > 151 && !isLogin && !IsMakeDrugWin)
            else if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv && !isLogin && !IsMakeDrugWin)
            {
                isCheckRed = true;
            }
@@ -790,7 +792,7 @@
        }
        else
        {
            if(PlayerDatas.Instance.baseData.LV > 151)
            if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv)
            {
                MakeDrugRedpoint.state = RedPointState.None;
            }
@@ -1361,6 +1363,7 @@
{
    MakeDan,  //炼丹
    AttrDan,  //丹药属性
    DrugStore, //回收商店
}
System/BlastFurnace/BlastFurnaceWin.cs
@@ -94,6 +94,9 @@
                case BlastFurnaceFuncTitle.AttrDan:
                    _treasureRefineTitle.state = TitleBtnState.Click;
                    break;
                case BlastFurnaceFuncTitle.DrugStore:
                    _storeTitle.state = TitleBtnState.Click;
                    break;
            }
          
        }
@@ -137,6 +140,7 @@
        private void OnClickStoreTitle()
        {
            FurnaceModel.funcTitle = BlastFurnaceFuncTitle.DrugStore;
            _lingDanTips.SetActive(false);
            attrDanTips.SetActive(false);
            storeTips.SetActive(true);