| | |
| | | { |
| | | WindowJumpMgr.Instance.ClearJumpData(); |
| | | WindowCenter.Instance.Close<OpenServerActivityRankWin>(); |
| | | MapTransferUtility.Instance.MoveToNPC(npcID); |
| | | |
| | | GAStaticDefine.NPCLocation _npcLocation; |
| | | var _findLocation = GAStaticDefine.TryGetMapNPCLocation(npcID, out _npcLocation); |
| | | if (_npcLocation.mapId == BossHomeModel.BOSSHOME_MAPID) |
| | | { |
| | | ModelCenter.Instance.GetModel<BossHomeModel>().selectedBoss = npcID; |
| | | dungeonModel.SingleChallenge(BossHomeModel.BOSSHOME_MAPID, 0); |
| | | } |
| | | else |
| | | MapTransferUtility.Instance.MoveToNPC(npcID); |
| | | } |
| | | else |
| | | { |