From 9d152214c12eb814bfe66f35453ac878c95b63bd Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 23 十一月 2018 11:24:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/PlayerBuffDatas.cs | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/System/MainInterfacePanel/PlayerBuffDatas.cs b/System/MainInterfacePanel/PlayerBuffDatas.cs
index e6a0653..4463c44 100644
--- a/System/MainInterfacePanel/PlayerBuffDatas.cs
+++ b/System/MainInterfacePanel/PlayerBuffDatas.cs
@@ -366,8 +366,8 @@
{
return;
}
- if (getWorldLV != 0 && worldExpRate>0)
- {
+ if (getWorldLV != 0 && worldExpRate>0)//娣诲姞涓栫晫绛夌骇buff
+ {
var skillconfig = Config.Instance.Get<SkillConfig>(20047);
if (_BuffDic.ContainsKey(20047))
{
@@ -390,7 +390,21 @@
_BuffDic.Add(20047, _ObjBuff);
}
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