From b7e1778a79eb2a8d96b94b2e24094841c122fd8c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 12 四月 2019 11:51:10 +0800
Subject: [PATCH] 6381 【后端】【2.0】任务接口开发(增加删除任务值接口)
---
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