From 3eee55d3e918bf2386fc59836dd2c89e21e6c1c3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 11 二月 2020 15:56:59 +0800
Subject: [PATCH] 8374 【后端】【主干】通知客户端攻击封包增加专精技能

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
index 0c220b2..48ddba9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -2749,8 +2749,9 @@
         sendPack.HurtList.append(hurtList)
         
     sendPack.HurtCount = len(sendPack.HurtList)
-
+    sendPack.SkillElementID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
     PlayerControl.PyNotifyAll(curPlayer, sendPack, notifySelf=True, notifyCnt=-1)
+    return
 
 
 # py重现View_UseSkillPos效果,对地通知,只用于玩家
@@ -2785,6 +2786,7 @@
         
     sendPack.HurtCount = len(sendPack.HurtList)
     if attacker.GetGameObjType() == IPY_GameWorld.gotPlayer:
+        sendPack.SkillElementID = attacker.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
         PlayerControl.PyNotifyAll(attacker, sendPack, notifySelf, -1)
     else:
         attacker.NotifyAll(sendPack.GetBuffer(), sendPack.GetLength())
@@ -2826,6 +2828,7 @@
         sendPack.HurtList.append(hurtList)
         
     sendPack.HurtCount = len(sendPack.HurtList)
+    sendPack.SkillElementID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % skillID)
     NetPackCommon.SendFakePack(curPlayer, sendPack)
     return
 

--
Gitblit v1.8.0