| | |
| | | import IpyGameDataPY
|
| | | import FBCommon
|
| | | import GameFuncComm
|
| | | import PlayerTJG
|
| | | import PlayerActivity
|
| | | import PlayerSuccess
|
| | | import PyGameData
|
| | | import BossHurtMng
|
| | |
|
| | | import copy
|
| | | import datetime
|
| | |
| | | if curDayTimes:
|
| | | curDayTimes = dayTimesLimit
|
| | | elif dailyID is ShareDefine.DailyActionID_WorldBOSS:
|
| | | canKillCnt, dayTimesLimit = BossHurtMng.GetCanKillBossCnt(curPlayer, 0)
|
| | | curDayTimes = dayTimesLimit - canKillCnt
|
| | | pass
|
| | | if curDayTimes >= dayTimesLimit and not lostOnDay:
|
| | | continue
|
| | | addCommonCnt = (dayTimesLimit - curDayTimes) + lostOnDay * dayTimesLimit
|
| | |
| | | else:
|
| | | for itemID, itemCnt in totalItemDict.items():
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere])
|
| | | #if Def_TJGRecoverID in recoverCntDict:
|
| | | # #脱机挂经验找回后重置
|
| | | # PlayerTJG.ResetTJGDeadInfo(curPlayer)
|
| | | if Def_QueenRelics in recoverCntDict:
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_QueenRelicsEx, recoverCntDict[Def_QueenRelics])
|
| | | DataRecordPack.DR_PlayerRecover(curPlayer, recoverWay, recoverCntDict, totalExp, totalMoney, totalSP, totalItemDict)
|