From 4f4eb58084be46183bf1cc3a7df175e0a594e740 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 25 一月 2019 16:04:51 +0800
Subject: [PATCH] 2954 【1.5.100】【1.5.0】跨服竞技场地图报错 -- 男号技能极光琉璃的减攻速buff 被敌方反弹导致报错问题
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4517.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4517.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4517.py
index 9f98ce1..29f2494 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4517.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuff/PassiveBuff_4517.py
@@ -15,6 +15,7 @@
import GameWorld
import SkillCommon
import BuffSkill
+import IPY_GameWorld
def CheckCanHappen(attacker, defender, effect, tagSkill):
debuffState = effect.GetEffectValue(1)
@@ -33,6 +34,9 @@
if not defender:
return
+ if defender.GetGameObjType() != IPY_GameWorld.gotPlayer:
+ return
+
findSkill = GameWorld.GetGameData().GetSkillBySkillID(skillID)
if not findSkill:
return
--
Gitblit v1.8.0