From acb8a30b1ced26763bfbb3b910e1a3522622652d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 20 六月 2019 22:43:53 +0800
Subject: [PATCH] 860312 烈焰战神 特殊特效 8 新增 经验飘字

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index a5dc5b4..75f9138 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -5022,9 +5022,10 @@
         addSkillID = 0
         if curNPC.GetDictByKey(ChConfig.Def_NPCDead_KillerID) == curPlayer.GetID():
             addSkillID = curNPC.GetDictByKey(ChConfig.Def_NPCDead_Reason)
+
         #设定人物获得经验
         playerControl = PlayerControl.PlayerControl(curPlayer)
-        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID)
+        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID=addSkillID)
         
         
         self.__KillNPCFuncEx(curPlayer, curNPC, curPlayer.GetPlayerID(), False)
@@ -5239,7 +5240,7 @@
         if curNPC.GetDictByKey(ChConfig.Def_NPCDead_KillerID) == curPlayer.GetID():
             addSkillID = curNPC.GetDictByKey(ChConfig.Def_NPCDead_Reason)
         playerControl = PlayerControl.PlayerControl(curPlayer)
-        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID)
+        playerControl.AddExp(add_Exp, ShareDefine.Def_ViewExpType_KillNPC, addSkillID=addSkillID)
         return
     
     #---------------------------------------------------------------------

--
Gitblit v1.8.0