From f97b6ae94c6acdaacf6adf140416df901d1caf6c Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期一, 15 四月 2019 11:56:41 +0800 Subject: [PATCH] 6515 【测试】【主干】新增游戏警报邮件 --- 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