少年修仙传客户端代码仓库
hch
2024-11-28 f2c7a975e0b1b2fe11dc2400e73dcd51fa86792e
0312 打开坐骑幻化界面和激活时会提示完成任务
1个文件已修改
7 ■■■■■ 已修改文件
System/Mount/MountSkinWin.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Mount/MountSkinWin.cs
@@ -94,6 +94,8 @@
        protected override void OnPreOpen()
        {
            FuncOpen.Instance.IsFuncOpen(8, true);
            MountModel.Event_MountHA301A += OnMountSkinAdd;
            m_ScrollerController.OnRefreshCell += OnRefreshGridCell;
            mountModel.onMountSkinActive += onMountSkinActive;
@@ -461,6 +463,11 @@
        private void OnClickDeblockingBtton()//解锁按钮
        {
            if (!FuncOpen.Instance.IsFuncOpen(8, true))
            {
                return;
            }
            HorseConfig horsefig = HorseConfig.Get(signHorseID);
            int MaterialNumber = playerPack.GetItemCountByID(PackType.Item, horsefig.UnlockItemID);//获取背包解锁材料的数量
            if (MaterialNumber >= horsefig.UnlockItemCnt)