| | |
| | | overDict = {FBCommon.Over_isAssist:1, FBCommon.Over_money:FBCommon.GetJsonMoneyList({assistMoneyType:addAssistMoney}),
|
| | | FBCommon.Over_itemInfo:[]}
|
| | | FBCommon.NotifyFBOver(assistPlayer, mapID, PlayerControl.GetFBFuncLineID(assistPlayer), 1, overDict)
|
| | | assistPlayer.Sync_TimeTick(IPY_GameWorld.tttLeaveMap, 0, 10000, True)
|
| | |
|
| | | if noAssistPlayer:
|
| | | todayGiftCount = assistPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GetThanksGiftCount % liheItemID)
|
| | |
| | | defendHurtList.Clear()
|
| | | return
|
| | |
|
| | | def GetBossLineID(npcID):
|
| | | sealDemonIpyData = IpyGameDataPY.GetIpyGameDataNotLog("SealDemon", npcID)
|
| | | if sealDemonIpyData:
|
| | | lineID = sealDemonIpyData.GetLineID()
|
| | | else:
|
| | | lineID = GameWorld.GetGameWorld().GetLineID()
|
| | | return lineID
|
| | |
|
| | | def DeletePlayerHurtList(curNPC):
|
| | | ## 删除伤血列表
|
| | | lineID = GameWorld.GetGameWorld().GetLineID()
|
| | | objID = curNPC.GetID()
|
| | | npcID = curNPC.GetNPCID()
|
| | | lineID = GetBossLineID(npcID)
|
| | | key = (lineID, objID, npcID)
|
| | | if key in PyGameData.g_npcHurtDict:
|
| | | hurtList =PyGameData.g_npcHurtDict.pop(key)
|
| | |
| | |
|
| | | def GetPlayerHurtList(curNPC):
|
| | | ## 获取伤血列表,可能为None
|
| | | lineID = GameWorld.GetGameWorld().GetLineID()
|
| | | objID = curNPC.GetID()
|
| | | npcID = curNPC.GetNPCID()
|
| | | lineID = GetBossLineID(npcID)
|
| | | return GetPlayerHurtListEx(lineID, objID, npcID)
|
| | | def GetPlayerHurtListEx(lineID, objID, npcID):
|
| | | ## 获取伤血列表,可能为None
|