| | |
| | | import IpyGameDataPY
|
| | | import PyGameData
|
| | | import ChConfig
|
| | | import NPCCommon
|
| | | import PlayerActivity
|
| | | import ItemCommon
|
| | | import ItemControler
|
| | | import EventReport
|
| | |
| | | if isPass and star > lastStar:
|
| | | GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, star, False, [mapID])
|
| | | FBCommon.Sync_FBPlayerFBInfoData(curPlayer, mapID) # 同步信息
|
| | | if not lastStar: #每日活动
|
| | | PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_IceLode)
|
| | | isInFBOnDay = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_IceLodeIsInFBOnDay)
|
| | | if isInFBOnDay: #在副本里过天,副本结束后再补发奖励
|
| | | CheckIceLodeStarAwardMail(curPlayer)
|
| | |
| | | else:
|
| | | for itemID, itemCnt, isBind in itemList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
|
| | | |
| | | #直接将5条线星级改为3星
|
| | | starCnt, lineList = GetIceLodeAllStarCnt(curPlayer)
|
| | | for lineid in lineList:
|
| | | GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineid, 3, False, [mapID])
|
| | |
|
| | | # npcCountDict = {}
|
| | | # iceLodeSweepDict = IpyGameDataPY.GetFuncEvalCfg('IceLodeSweep')
|