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 | 5 +++--
1 files changed, 3 insertions(+), 2 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 9f2d85a..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)
@@ -48,9 +49,9 @@
## 添加BUFF后的逻辑
# @param None
# @return None
-def DoAddBuffOver(curObj, addBuff, curEffect, tick):
+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