From 7d74fb08b06e9d5d5236c017e23daf3807dd4d5a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 24 十一月 2018 15:08:54 +0800
Subject: [PATCH] 4762 副本总表增加助战相关字段;VIP特权表增加助战相关特权;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 9cdb1eb..5eece2f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -557,6 +557,10 @@
         #关系
         relation = GetTagRelation(attacker, defender, curSkill, tick)
         return relation[0] == ChConfig.Type_Relation_Friend
+    elif curSkillUseTag == ChConfig.Def_UseSkillTag_AppointNPC:
+        if defender and GameObj.GetHP(defender) > 0 :
+            return True
+        return False
     
     return __CheckCanAttack(attacker , defender , curSkill , tick)
 

--
Gitblit v1.8.0