少年修仙传客户端代码仓库
client_Wu Xijin
2018-12-30 ca612c489750f055eba6fa396ddf30562fa92140
3335 添加聚魂副本守卫剩余数量接口
1个文件已修改
18 ■■■■ 已修改文件
System/GatheringSoul/GatherSoulDungeonModel.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GatheringSoul/GatherSoulDungeonModel.cs
@@ -12,11 +12,9 @@
        public const int DUNGEON_MAPID = 31340;
        GatherSoulDungeonHelp m_Mission;
        public GatherSoulDungeonHelp mission
        {
        public GatherSoulDungeonHelp mission {
            get { return m_Mission; }
            private set
            {
            private set {
                m_Mission = value;
            }
        }
@@ -58,6 +56,18 @@
        {
        }
        public int GetAttackDefendSurplusCount()
        {
            var count = GetDefendNpcCount(attckDefendNpcId);
            return attackDefendCountLimit - count;
        }
        public int GetIceDefendSurplusCount()
        {
            var count = GetDefendNpcCount(iceDefendNpcId);
            return iceDefendCountLimit - count;
        }
        void ParseConfig()
        {
            var funcConfig = Config.Instance.Get<FuncConfigConfig>("GatherSoulDungeon");