From aca71d06e68466fe5ef95c4d98b91707852c4631 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 27 八月 2018 17:39:24 +0800
Subject: [PATCH] 1719 双属性符印满级时,显示异常
---
System/Rune/RuneModel.cs | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/System/Rune/RuneModel.cs b/System/Rune/RuneModel.cs
index 8c16cd8..b1e60ed 100644
--- a/System/Rune/RuneModel.cs
+++ b/System/Rune/RuneModel.cs
@@ -476,12 +476,12 @@
}
if (!IsSameInHoleRune(_itemCfg.ID, _hole))
{
- return true;
- }
- if (runeComposeModel.m_RuneBothPropertys.Contains(rune.id)
+ if (runeComposeModel.m_RuneBothPropertys.Contains(rune.id)
&& GetDoublePropLimitCount() <= GetCurrentDoublePropCount())
- {
- return false;
+ {
+ return false;
+ }
+ return true;
}
}
}
@@ -827,7 +827,8 @@
|| (_itemBetterCfg.ItemColor == _itemCfg.ItemColor && _runeCfg.AttrType.Length == 1 && _runeBetterCfg.AttrType.Length == 2))
{
if (runeComposeModel.m_RuneBothPropertys.Contains(_rune.id)
- && GetDoublePropLimitCount() <= GetCurrentDoublePropCount())
+ && GetDoublePropLimitCount() <= GetCurrentDoublePropCount()
+ && !runeComposeModel.m_RuneBothPropertys.Contains(_runeHole.id))
{
return false;
}
@@ -874,7 +875,8 @@
|| (_itemBetterCfg.ItemColor == _itemCfg.ItemColor && _runeCfg.AttrType.Length == 1 && _runeBetterCfg.AttrType.Length == 2))
{
if (runeComposeModel.m_RuneBothPropertys.Contains(_data.id)
- && GetDoublePropLimitCount() <= GetCurrentDoublePropCount())
+ && GetDoublePropLimitCount() <= GetCurrentDoublePropCount()
+ && !runeComposeModel.m_RuneBothPropertys.Contains(_runeHole.id))
{
return false;
}
@@ -939,6 +941,7 @@
OnRefreshRuneTowerLv();
}
}
+ UpdateRedpoint();
}
public bool IsSameInHoleRune(int id, int hole)
--
Gitblit v1.8.0