| | |
| | | #GameWorld.Log(' actionID=%s,curTimes=%s,gotTimes=%s,singleTimes=%s,newGotTimes=%s'%(actionID, curTimes, gotTimes,singleTimes, newGotTimes))
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_LoginAwardGotTimes % (day, templateID), newGotTimes, ChConfig.Def_PDictType_LoginAward)
|
| | | for itemID, itemCnt in awardDict.items():
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 1, [IPY_GameWorld.rptItem])
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
|
| | | SyncLoginAwardPlayerInfo(curPlayer, day, templateID)
|
| | | return
|
| | |
|
| | |
| | | if worldLV <= wlv:
|
| | | findWlv = wlv
|
| | | break
|
| | | itemList = awardDict[findWlv]
|
| | | itemList = awardDict[str(findWlv)]
|
| | | for itemID, itemCnt, isbind in itemList:
|
| | | if not itemID or not itemCnt:
|
| | | continue
|