| | |
| | | if realmDifficulty:
|
| | | GameWorld.DebugLog("===登录本服地图时,处于境界难度地图,自动设置难度! realmDifficulty=%s" % realmDifficulty, curPlayer.GetPlayerID())
|
| | | PlayerControl.SetRealmDifficulty(curPlayer, realmDifficulty)
|
| | | else:
|
| | | PlayerControl.SetPlayerSightLevelByMap(curPlayer)
|
| | |
|
| | | PlayerState.ChangePlayerSigh(curPlayer, tick)
|
| | |
|
| | |
| | | if realmDifficulty:
|
| | | GameWorld.DebugLog("===本服LoadMapOK时玩家处于境界难度地图,自动设置难度!realmDifficulty=%s" % realmDifficulty, curPlayer.GetPlayerID())
|
| | | PlayerControl.SetRealmDifficulty(curPlayer, realmDifficulty)
|
| | | |
| | | else:
|
| | | PlayerControl.SetPlayerSightLevelByMap(curPlayer)
|
| | | curPlayer.RefreshView()
|
| | | curPlayer.SetVisible(True)
|
| | |
|