From b76691958b6858ae1bc31f41c84414c42869fa14 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 05 六月 2019 11:11:13 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 -  增加印记吸血条件

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4071.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4071.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4071.py
index 066ae9e..e3f9e89 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4071.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveSkill_4071.py
@@ -12,8 +12,11 @@
 #---------------------------------------------------------------------
 import GameObj
 import ChConfig
+import PlayerControl
 
 def CheckCanHappen(attacker, defender, effect, curSkill):   
+    if effect.GetEffectValue(1) and not PlayerControl.GetYinjiCnt(attacker):
+        return False
     return True
     
 

--
Gitblit v1.8.0