From 2bdd3ef2b3800c13d1b781a5b3cf2f0148c0ca9d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 15 十二月 2021 18:24:04 +0800
Subject: [PATCH] 5226 【BT3_1.102.1】【BT4】【BT5】【bt5_1.101.1】【主干】服务端报错查看(防范土系东皇附体buff效果1315报错)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1315.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1315.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1315.py
index 2aefd69..a54b7bb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1315.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1315.py
@@ -21,6 +21,7 @@
 import SkillShell
 import GameObj
 import IPY_GameWorld
+import AttackCommon
 
 def ProcessBuff(tagObj, curBuff, curEffect, processBuffTick, tick):
     Attack(tagObj, curBuff, curEffect, tick)
@@ -50,7 +51,7 @@
 #  @return None
 def DoAddBuffOver(curObj, addBuff, curEffect, tick, buffOwner):
     Attack(curObj, addBuff, curEffect, tick)   #立即执行一次攻击
-    if GameObj.GetHP(curObj) != 0:
+    if not AttackCommon.GetIsDead(curObj) and GameObj.GetHP(curObj) != 0:
         addBuff.SetProcessInterval(tick)
     return
         

--
Gitblit v1.8.0