From 4815a9626bce7740bb867f056f9694c4c2f858c9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 16 四月 2019 17:29:24 +0800
Subject: [PATCH] 860312 增加锁定模式 - 只对选中目标造成伤害,适用于部分BOSS争夺副本
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py
index aa4b774..56529b8 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py
@@ -16,7 +16,6 @@
#---------------------------------------------------------------------
import GameWorld
import SkillCommon
-import BuffSkill
#---------------------------------------------------------------------
## XX
@@ -41,14 +40,7 @@
buffID = GameWorld.ToIntDef(funResult, 0)
if not buffID:
return
-
- skillBuff = GameWorld.GetGameData().GetSkillBySkillID(buffID)
- if not skillBuff:
- GameWorld.Log("GY_Query_AddBuff 找不到技能%s" % buffID, playerID)
- return
-
- buffType = SkillCommon.GetBuffType(skillBuff)
- BuffSkill.DoAddBuff(curPlayer, buffType, skillBuff, tick)
+ SkillCommon.AddBuffBySkillType(curPlayer, buffID, tick)
return
--
Gitblit v1.8.0