From 678aa6d401eaa1acc0b4f5ee3561e7d14b7b2aaf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 14 十月 2022 19:01:10 +0800
Subject: [PATCH] 9731 【越南】【主干】【BT7】转职业

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