xdh
2018-08-30 1e3f8cd83080ab4f140f862b2b2a0e60282b521e
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py
@@ -38,6 +38,8 @@
import PlayerCompensation
import PlayerFamilyParty
import PlayerFamilySWRH
import PlayerViewCache
import GameWorldBoss
import PlayerTalk
import copy
@@ -1362,6 +1364,10 @@
        PlayerControl.NotifyCode(curPlayer, "DungeonGuardSkyText2")
        return
    
    if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss):
        PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError")
        return
    tagPlayerName = curTagMember.GetName()  # 被踢玩家名
    tagPlayerID = curTagMember.GetPlayerID()  # 被踢玩家ID
    tagFamilyLV = curTagMember.GetFamilyLV()  # 被踢玩家职位
@@ -1436,6 +1442,11 @@
    if PlayerFamilySWRH.IsInFamilySWRH():
        PlayerControl.NotifyCode(curPlayer, "DungeonGuardSkyText1")
        return
    if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss):
        PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError")
        return
    #XW_JZ_LeaveFamily   <n color="0,190,255">{%S1%}</n><n color="255,255,0">退出了家族!</n>  25  -   -
    NotifyAllFamilyMemberMsg(curFamily, curPlayer, "XW_JZ_LeaveFamily", [curPlayer.GetName()])
    
@@ -1470,6 +1481,7 @@
    # 玩家战盟名变更处理
    __OnFamilyNameChange(leavePlayerID, '')
    AddFamilyIDToFightPowerChangeList(curFamily.GetID())
    PlayerViewCache.OnPlayerLeaveFamily(leavePlayerID)
    return
#//////////////////////////////////////////////////////////////