From 54c13f69ac0f3f043ae964fb6174c49876a92941 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 24 六月 2019 11:50:04 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 - 新增技能类型

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
index 2c0fed2..35e701d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -3468,7 +3468,7 @@
     
     #这个技能是Buff
     if SkillCommon.IsBuff(curSkill):
-        if ChConfig.Def_SkillType_LstPlsBuffAtk == curSkill.GetSkillType():
+        if curSkill.GetSkillType() in [ChConfig.Def_SkillType_LstPlsBuffAtk, ChConfig.Def_SkillType_PassiveLstPlsBuffAtk]:
             defender = attacker
         return __DoLogic_AddBuff(attacker, defender, curSkill, isEnhanceSkill, tick, tagRoundPosX, tagRoundPosY)
     

--
Gitblit v1.8.0