| | |
| | | import PlayerSuccess
|
| | | import PlayerBillboard
|
| | | import ChPyNetSendPack
|
| | | import DataRecordPack
|
| | | import NetPackCommon
|
| | | import IpyGameDataPY
|
| | | import ShareDefine
|
| | |
| | | import PlayerMail
|
| | | import DBDataMgr
|
| | | import TurnSkill
|
| | | import ObjPool
|
| | |
|
| | | def OnDay():
|
| | | ## 结算昨日奖励
|
| | |
| | | ItemControler.GivePlayerItemOrMail(curPlayer, itemList, event=["Tianzi", False, {}], isNotifyAward=False)
|
| | | SyncTianziInfo(curPlayer, lineID, bossID)
|
| | | __onFBTianzi(curPlayer)
|
| | | |
| | | DataRecordPack.DR_FBPass(curPlayer, mapID, funcLineID, {"hpNum":hpNum, "totalHurt":totalHurt})
|
| | | return
|
| | |
|
| | | def __getTianziAwardList(todayHurt, bossID, sweepCnt=1):
|
| | |
| | | def SyncTianziInfo(curPlayer, lineID=None, bossID=None):
|
| | | if lineID == None:
|
| | | lineID, bossID = GetTianziTodayInfo(curPlayer)
|
| | | clientPack = ObjPool.GetPoolMgr().acquire(ChPyNetSendPack.tagSCTianziKYInfo)
|
| | | clientPack = ChPyNetSendPack.tagSCTianziKYInfo()
|
| | | clientPack.LineID = lineID
|
| | | clientPack.HistoryHurt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TianziHisHurt % bossID)
|
| | | clientPack.HistoryHurtEx = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TianziHisHurtEx % bossID)
|