ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLunhuidian.py
@@ -24,6 +24,7 @@
import NetPackCommon
import ItemControler
import PlayerCoin
import PlayerMail
import GameWorld
import ChConfig
@@ -176,7 +177,7 @@
        return
    GameWorld.Log("处理补发轮回奖励完毕: actNum=%s,roundType=%s,roundMax=%s,curRound=%s,curValue=%s,awardState=%s,mailItemList=%s" 
                       % (actNum, roundType, roundMax, curRound, curValue, awardState, mailItemList), playerID)
    PlayerControl.SendMailByKey("LunhuidianUnget", [playerID], mailItemList)
    PlayerMail.SendMailByKey("LunhuidianUnget", playerID, mailItemList)
    return
def GetRoundSetValue(roundSet, setIndex): return roundSet[setIndex] if len(roundSet) > setIndex else 0
@@ -338,7 +339,9 @@
                award = ChPyNetSendPack.tagMCActLunhuidianAward()
                award.AwardIndex = awardIpyData.GetAwardIndex()
                award.NeedValue = awardIpyData.GetNeedValue()
                for itemID, itemCount, isAuctionItem in awardIpyData.GetAwardItemList():
                for itemInfo in awardIpyData.GetAwardItemList():
                    itemID, itemCount = itemInfo[:2]
                    isAuctionItem = itemInfo[2] if len(itemInfo) > 2 else 0
                    item = ChPyNetSendPack.tagMCActLunhuidianItem()
                    item.ItemID = itemID
                    item.ItemCount = itemCount