少年修仙传客户端代码仓库
client_Wu Xijin
2018-09-28 6b81bbed0f2b090e7b849d0dc4e3b1d32c7d07f5
3937  【前端】封魔坛伤害第一提示分段
3个文件已修改
12 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/DemonJarConfig.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DemonJarConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/DemonJarWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/DemonJarConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Tuesday, August 28, 2018
//    [  Date ]:           Friday, September 28, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -26,6 +26,7 @@
        public int[] Job3;
        public int KillHurtMin { get ; private set ; }
        public int KillHurtMax { get ; private set ; }
        public string RewardDescription { get ; private set; }
        public override string getKey()
        {
@@ -84,6 +85,8 @@
                KillHurtMin=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0; 
            
                KillHurtMax=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; 
                RewardDescription = rawContents[15].Trim();
            }
            catch (Exception ex)
            {
Core/GameEngine/Model/Config/DemonJarConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 7e442059ea96745478dd5787f9e84ef5
timeCreated: 1535448421
timeCreated: 1538136681
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/FindPrecious/DemonJarWin.cs
@@ -383,15 +383,14 @@
            m_BossIntroduce.Display(_bossId, false);
            m_Subscribe.isOn = findPreciousModel.IsBossSubscribed(_bossId);
            var npcConfig = Config.Instance.Get<NPCConfig>(_bossId);
            m_RewardDescription.text = Language.Get(npcConfig.NPCLV >= GeneralConfig.Instance.demonJarLevelLimit ? "FindPrecious_13" : "FindPrecious_18");
            DemonJarBossData bossData;
            model.TryGetBossData(_bossId, out bossData);
            var npcDropConfig = Config.Instance.Get<NPCDropItemConfig>(bossData.id);
            m_SurpassLevel.gameObject.SetActive(npcDropConfig.MaxLV != 0 && PlayerDatas.Instance.baseData.LV > npcDropConfig.MaxLV);
            var demonJarConfig = Config.Instance.Get<DemonJarConfig>(model.selectedBoss);
            m_RewardDescription.text = Language.Get(demonJarConfig.RewardDescription);
            var doubleShowable = demonJarConfig.CanEnterTimes == 0;
            m_ContainerDouble.gameObject.SetActive(doubleShowable);
            if (doubleShowable)