From 1d62f28e8b60441d6434fd950cd1c597e1372e14 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 26 九月 2018 11:30:51 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Compose/New/ComposeWinModel.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/System/Compose/New/ComposeWinModel.cs b/System/Compose/New/ComposeWinModel.cs
index f100981..241d6be 100644
--- a/System/Compose/New/ComposeWinModel.cs
+++ b/System/Compose/New/ComposeWinModel.cs
@@ -861,7 +861,9 @@
public bool CheckIsComposeByType(int firstType,int secondType,int thirdType)
{
- ItemCompoundConfig itemCompound = GetThirdTypeModellist(firstType,secondType,thirdType)[0];
+ ItemCompoundConfig itemCompound = ItemCompoundConfig.GetItemCompoundByType(firstType, secondType, thirdType);
+ if (itemCompound == null) return false;
+
if (itemCompound.levelNeed <= PlayerDatas.Instance.baseData.LV)
{
return true;
--
Gitblit v1.8.0