少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-19 1f66df465c4d50799030c1e5dff5f3feeac2e979
3335 添加神兽装备判断接口.
1个文件已修改
11 ■■■■■ 已修改文件
System/KnapSack/Logic/ItemLogicUtility.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemLogicUtility.cs
@@ -1446,5 +1446,16 @@
            return config.Type == 113 || config.Type == 39 || config.Type == 52;
        }
        public bool IsDogzEquip(int itemId)
        {
            if (ItemConfig.Has(itemId))
            {
                return false;
            }
            var config = ItemConfig.Get(itemId);
            return config.Type >= 119 && config.Type <= 124;
        }
    }
}