From af57725be256cd357c312052f61d444d6d253cf0 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 25 九月 2018 21:22:28 +0800
Subject: [PATCH] update
---
Fight/MapTransferUtility.cs | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index 3e5888d..d87aa45 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -245,9 +245,22 @@
MapModel _model = ModelCenter.Instance.GetModel<MapModel>();
GActor _npc = null;
-
// 鍔犲叆鍒ゆ柇鏄惁涓栫晫BOSS鍒ゆ柇
WorldBossConfig _worldBoss = Config.Instance.Get<WorldBossConfig>(npcID);
+
+ if(_findLocation)
+ {
+ var _mapConfig = Config.Instance.Get<MapConfig>(_npcLocation.mapId);
+ // 涓珛鍦板浘
+ if(_mapConfig.Camp == 5 && _worldBoss != null)
+ {
+ Send_WorldTransfer(_npcLocation.mapId,
+ new Vector3(_hero.Pos.x * 2, 0, _hero.Pos.z * 2),
+ MapTransferType.WorldTransport, 0, npcID);
+ return;
+ }
+ }
+
FairyGrabBossConfig _fairyBoss = Config.Instance.Get<FairyGrabBossConfig>(npcID);
bool _isBoss = _worldBoss != null || _fairyBoss != null;
if (_isBoss && _findLocation)
--
Gitblit v1.8.0