From 68be5555215355ff0ad64c44f7635a422d67758d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 20 十二月 2019 12:45:50 +0800
Subject: [PATCH] 8346 【恺英】【后端】协助系统(AssistAward数值2key改字符串)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
index d68162b..4028134 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
@@ -723,8 +723,8 @@
         liheItemID, assistMoney = 0, 0
         mapAssistGiftDict = IpyGameDataPY.GetFuncEvalCfg("AssistAward", 2, {})
         mapID = FBCommon.GetRecordMapID(GameWorld.GetMap().GetMapID())
-        if mapID in mapAssistGiftDict:
-            liheItemID, assistMoney = mapAssistGiftDict[mapID]
+        if str(mapID) in mapAssistGiftDict:
+            liheItemID, assistMoney = mapAssistGiftDict[str(mapID)]
         else:
             killBossCntLimitDict = IpyGameDataPY.GetFuncEvalCfg('KillBossCntLimit') 
             index = GameWorld.GetDictValueByKey(killBossCntLimitDict, self.npcID)

--
Gitblit v1.8.0