From e0ec370b5f0b5e2ca3ced564f265545c5fb6b464 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 23 十一月 2018 10:34:54 +0800
Subject: [PATCH] 2428 【1.3】角色高于世界等级,前端残留显示世界等级经验加成
---
System/MainInterfacePanel/PlayerBuffDatas.cs | 30 ++++++++++++++----------------
1 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/System/MainInterfacePanel/PlayerBuffDatas.cs b/System/MainInterfacePanel/PlayerBuffDatas.cs
index 34ad10a..4463c44 100644
--- a/System/MainInterfacePanel/PlayerBuffDatas.cs
+++ b/System/MainInterfacePanel/PlayerBuffDatas.cs
@@ -182,7 +182,6 @@
break;
case PlayerDataRefresh.LV:
AddoperationStartEvent();
- WorldLVBuff();
break;
}
@@ -367,20 +366,8 @@
{
return;
}
- if (getWorldLV != 0 && worldExpRate>0)//鍒犻櫎涓栫晫绛夌骇
- {
- if (PlayerDatas.Instance.baseData.LV >= getWorldLV)
- {
- if (_BuffDic.ContainsKey(20047))
- {
- _BuffDic.Remove(20047);
- if (Even_ObjDelBuff != null)
- {
- Even_ObjDelBuff();
- }
- }
- return;
- }
+ if (getWorldLV != 0 && worldExpRate>0)//娣诲姞涓栫晫绛夌骇buff
+ {
var skillconfig = Config.Instance.Get<SkillConfig>(20047);
if (_BuffDic.ContainsKey(20047))
{
@@ -405,8 +392,19 @@
if (Even_ObjAddBuf != null)
{
Even_ObjAddBuf();
+ }
+ }
+ if (worldExpRate<=0)//鍒犻櫎涓栫晫绛夌骇Buff
+ {
+ if (_BuffDic.ContainsKey(20047))
+ {
+ _BuffDic.Remove(20047);
+ if (Even_ObjDelBuff != null)
+ {
+ Even_ObjDelBuff();
+ }
}
-
+ return;
}
}
--
Gitblit v1.8.0