| | |
| | | import PlayerActivity
|
| | | import NetPackCommon
|
| | | import ItemControler
|
| | | import PlayerActLogin
|
| | | import EventReport
|
| | |
|
| | | FBDict_StartTick = 'FBDict_StartTick%s' #开始时间
|
| | |
| | | remainHP = GetBossRemainHP(lineID, tick)
|
| | | totalHP = __GetBossTotalHP(lineID)
|
| | | hpReduceSpeed = curSpeed * 10000 / totalHP if totalHP else 0
|
| | | remainHPPer = min(100, remainHP * 100 / totalHP) if totalHP else 0
|
| | | remainHPPer = min(1000000, remainHP * 1000000 / totalHP) if totalHP else 0
|
| | | myHurt = g_heroHurtDict.get(curPlayer.GetID(), 0)
|
| | | fbHelpDict = {FBCommon.Help_lineID:lineID, "hurtInfo":hurtInfo, 'hpReduceSpeed':hpReduceSpeed,
|
| | | 'remainHPPer':remainHPPer, 'isReduceing':isReduceing,'myHurt':myHurt % ChConfig.Def_PerPointValue,
|
| | |
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_KillSpecificNPC, addCnt, [bossID])
|
| | | FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_ZhuXianBoss, addCnt)
|
| | | # 每日活动
|
| | | PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_ZhuXianBoss, addCnt)
|
| | | #PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_ZhuXianBoss, addCnt)
|
| | | PlayerActLogin.AddLoginAwardActionCnt(curPlayer, ChConfig.Def_LoginAct_ZhuXianBOSS, addCnt)
|
| | | return prizeItemList
|
| | |
|
| | | def OnPickUpItem(curPlayer, curItem, tick):
|