From 103b3e459dccf87e3985911a36882d07b8f63efa Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 30 八月 2018 18:04:33 +0800
Subject: [PATCH] Add: 增加仙盟召集功能; Fix:修复击杀进度同步错误问题;

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBossReborn.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBossReborn.py
index b73e56f..dc7b415 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBossReborn.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerBossReborn.py
@@ -120,7 +120,8 @@
     state = actBossRebornInfo.get(ShareDefine.ActKey_State, 0)
     if not state:
         return
-    ipyData = IpyGameDataPY.GetIpyGameData('BossReborn', actionID)
+    playerTemplateID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_BossRebornTemplateID)
+    ipyData = IpyGameDataPY.GetIpyGameData('BossReborn', playerTemplateID, actionID)
     if not ipyData:
         return
     totalTimes = ipyData.GetTotalTimes()
@@ -168,7 +169,7 @@
 
 def __GetAwardItem(curPlayer, ipyData, times=1):
     awardDict = {}
-    for itemID, itemCnt, isbind in ipyData.GetAward():
+    for itemID, itemCnt, isbind in ipyData.GetReward():
         if not itemID or not itemCnt:
             continue
         awardDict[itemID] = awardDict.get(itemID, 0) + itemCnt * times

--
Gitblit v1.8.0