| | |
| | | import PyGameData
|
| | | import PlayerGeTui
|
| | | import time
|
| | | import IPY_GameServer
|
| | |
|
| | |
|
| | |
|
| | |
| | | Sync_BossInfo(None, [bossID])
|
| | |
|
| | | # 仙盟归属boss的重置
|
| | | if bossID in PyGameData.g_familyOwnerBossInfo:
|
| | | if isAlive and bossID in PyGameData.g_familyOwnerBossInfo:
|
| | | PyGameData.g_familyOwnerBossInfo.pop(bossID)
|
| | | return
|
| | |
|
| | |
| | | return
|
| | |
|
| | | PyGameData.g_familyOwnerBossInfo.update(msgInfo)
|
| | | #GameWorld.DebugLog(" PyGameData.g_familyOwnerBossInfo=%s" % PyGameData.g_familyOwnerBossInfo)
|
| | | return
|
| | |
|
| | | #// AC 04 查询仙盟抢Boss所有Boss当前进度 #tagCGQueryAllFamilyBossHurt
|
| | |
| | | NetPackCommon.SendFakePack(curPlayer, hurtPack)
|
| | | return
|
| | |
|
| | | #// AC 05 召集仙盟成员打boss #tagCGCallupFamilyMemberToBoss
|
| | | #
|
| | | #struct tagCGCallupFamilyMemberToBoss
|
| | | #{
|
| | | # tagHead Head;
|
| | | # DWORD NPCID;
|
| | | #};
|
| | | def OnCallupFamilyMemberToBoss(index, clientData, tick):
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | npcID = clientData.NPCID
|
| | | |
| | | curFamily = curPlayer.GetFamily()
|
| | | if curFamily == None:
|
| | | return
|
| | | curMember = curFamily.FindMember(playerID)
|
| | | if curMember == None:
|
| | | return
|
| | | if curMember.GetFamilyLV() == IPY_GameServer.fmlMember:
|
| | | GameWorld.DebugLog("普通成员无法召集!", playerID)
|
| | | return
|
| | | PlayerControl.FamilyNotify(curFamily.GetID(), "FairyGrabBossHelp", [npcID])
|
| | | return
|
| | |
|