From e5db513abff704b3ea6112618651e7d2b622a7c0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 14 一月 2019 11:50:51 +0800
Subject: [PATCH] 2866 【1.5】【1.4.100】护盾清中毒debuff引起报错

---
 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