5424 【后端】【1.4】跨服竞技场开发(刷新视野调整)
| | |
| | | gameWorld.SetDict(ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % ShareDefine.DailyActionID_CrossReamPK, matchState)
|
| | |
|
| | | if curSeasonState == 1 and seasonState == 2:
|
| | | PlayerControl.WorldNotify(0, "NotifySeasonOver")
|
| | | pass
|
| | | #PlayerControl.WorldNotify(0, "NotifySeasonOver")
|
| | |
|
| | | # 通知地图服务器状态
|
| | | GameWorld.SendMapServerMsgEx(ShareDefine.Def_Notify_WorldKey_CrossPKZoneID, zoneID)
|
| | |
| | | return
|
| | |
|
| | | if result == -2:
|
| | | PlayerControl.NotifyCode(curPlayer, "InCrossPKing")
|
| | | PlayerControl.NotifyCode(curPlayer, "CrossMatching17")
|
| | | return
|
| | |
|
| | | if result == 1:
|
| | |
| | | ## 玩家退出跨服处理,本服的逻辑处理
|
| | | GameWorld.Log("DoExitCrossRealm...", curPlayer.GetPlayerID())
|
| | | curPlayer.SetVisible(True)
|
| | | curPlayer.SetSight(1)
|
| | | curPlayer.RefreshView()
|
| | | curPlayer.SetSight(ChConfig.Def_PlayerSight_Default)
|
| | | curPlayer.RefreshView()
|
| | | curPet = curPlayer.GetPetMgr().GetFightPet()
|