少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-24 f8de19567f5a8565d5f7e0229ef41492d8164f4c
5920 【前端】【1.5.100】诛仙塔功能开发
1个文件已修改
21 ■■■■ 已修改文件
System/JadeDynastyTower/JadeDynastyTowerHintWin.cs 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/JadeDynastyTower/JadeDynastyTowerHintWin.cs
@@ -55,16 +55,7 @@
            m_Floor.text = config.floorName;
            var isLastFloor = model.IsTopFloor(model.currentFloor);
            if (model.currentFloor == model.highestPassFloor)
            {
                m_Reward.gameObject.SetActive(true);
                m_UnLockEquipPlace.gameObject.SetActive(false);
                m_Reward.SetItem(config.rewardIdsLevelS[0], config.rewardCountsLevelS[0]);
                var itemConfig = Config.Instance.Get<ItemConfig>(config.rewardIdsLevelS[0]);
                m_Description.text = Language.Get("JadeDynastyNameReward", itemConfig.ItemName);
            }
            else
            if (model.currentFloor > model.highestPassFloor)
            {
                var isSpecialFloor = config.unLockEquipPlace > 0;
                if (isSpecialFloor)
@@ -81,6 +72,16 @@
                m_Description.text = config.specialRewardDescription;
            }
            else
            {
                m_Reward.gameObject.SetActive(true);
                m_UnLockEquipPlace.gameObject.SetActive(false);
                m_Reward.SetItem(config.rewardIdsLevelS[0], config.rewardCountsLevelS[0]);
                var itemConfig = Config.Instance.Get<ItemConfig>(config.rewardIdsLevelS[0]);
                m_Description.text = Language.Get("JadeDynastyNameReward", itemConfig.ItemName);
            }
        }
    }