From a27c44850b192b8a7beecee9bbc45ad0017fa65c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 19 十月 2020 17:29:56 +0800
Subject: [PATCH] 1111 【主干】# A3 BF 通知客户端炼丹炉信息 #tagMCPlayerStoveMsg封包炼丹个数BYTE改WORD

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_AddBuff.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 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 56529b8..b9e0c49 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
@@ -15,7 +15,7 @@
 #"""Version = 2019-03-19 21:00""" 
 #---------------------------------------------------------------------
 import GameWorld
-import SkillCommon
+import SkillShell
 #---------------------------------------------------------------------
 
 ## XX
@@ -40,7 +40,11 @@
     buffID = GameWorld.ToIntDef(funResult, 0)
     if not buffID:
         return
-    SkillCommon.AddBuffBySkillType(curPlayer, buffID, tick)
+    #SkillCommon.AddBuffBySkillType(curPlayer, buffID, tick)
+    curSkill = GameWorld.GetGameData().GetSkillBySkillID(buffID)
+    if not curSkill:
+        return
+    SkillShell.__DoLogic_AddBuff(curPlayer, curPlayer, curSkill, False, tick, 0, 0)
     return
 
 

--
Gitblit v1.8.0