hxp
2018-08-30 103b3e459dccf87e3985911a36882d07b8f63efa
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
@@ -244,9 +244,11 @@
    npcFamilyHisHurtDict = hurtMgr.familyHisHurtDict.get(key, {})
    npcFamilyPlayerIDDict = hurtMgr.familyPlayerIDDict.get(key, {})
    
    ownerFamilyName = ""
    if ownerFamilyID in npcFamilyHisHurtDict:
        ownerFamilyHisHurt = npcFamilyHisHurtDict[ownerFamilyID]
        PlayerControl.WorldNotify(0, "FairyGrabBossDead", [ownerFamilyHisHurt.name, bossID])
        ownerFamilyName = ownerFamilyHisHurt.name
        PlayerControl.WorldNotify(0, "FairyGrabBossDead", [ownerFamilyName, bossID])
        
    # 击杀结算前强制排序历史玩家伤血
    npcHisHurtPlayerList = npcPlayerHisHurtDict.values()
@@ -304,6 +306,10 @@
            if curPlayer:
                NetPackCommon.SendFakePack(curPlayer, hurtPack)
                
    # 击杀时主动同步进度
    syncMsg = str({bossID:[0, maxHP, ownerFamilyID, ownerFamilyName]})
    GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "FamilyOwnerBossInfo", syncMsg, len(syncMsg))
    # 伤血在NPCCommon统一清
    return