From fb4cdd5b8029f67c4857347a3eda8d7252e051e9 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 26 三月 2019 20:18:36 +0800
Subject: [PATCH] 6374 新版无绑玉,原先绑玉再仙玉的扣法改成 扣仙玉

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_30.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_30.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_30.py
index fde565d..165c6f0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_30.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_30.py
@@ -63,8 +63,10 @@
         ownerID, ownerType = curBuff.GetOwnerID(), curBuff.GetOwnerType()
         
         #删除Buff
-        BuffSkill.DoBuffDisApper(defender, curBuff, tick)
+        BuffSkill.DoBuffDisApperEx(defender, curBuff, tick)
         buffSkill = curBuff.GetSkill()
+        if not buffSkill:
+            continue
         skillID = buffSkill.GetSkillID()
         buffManager.DeleteBuffByTypeID(buffSkill.GetSkillTypeID())
         SkillShell.ClearBuffEffectBySkillID(defender, skillID, ownerID, ownerType)

--
Gitblit v1.8.0