From e082d496795bd07657a81714bab4a5a63446e397 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 12 四月 2019 16:41:10 +0800
Subject: [PATCH] 6491 子 【2.0】【开发】打宝界面和境界压制调整 / 【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