From d81bb018d0cb883702d329ceda1776680a5417b9 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 10 一月 2019 10:51:46 +0800
Subject: [PATCH] 5730 【后端】【1.5】时装功能开发(时装穿脱通知修改)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4519.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4519.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4519.py
index ca5b5ed..9ecff4e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4519.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4519.py
@@ -22,6 +22,10 @@
# 当前已经被处理为死亡,那么就不触发
return False
+ if attacker.GetDictByKey("zhansha") and passiveEffect.GetEffectValue(0):
+ # 斩杀不触发的标志
+ return False
+
attacker.SetHP(1)
return False
--
Gitblit v1.8.0