|  |  |  | 
|---|
|  |  |  | 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() | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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 | 
|---|