From 6551123a8a4a9c55380ebf4dff41c9d3bdbb2c47 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 四月 2019 17:10:07 +0800
Subject: [PATCH] 6459 【后端】【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