From 7fd61095843b18cbbf425bfb4e241892ab2cbf45 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 19 四月 2019 18:12:44 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/BossShow/BossShowModel.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/System/BossShow/BossShowModel.cs b/System/BossShow/BossShowModel.cs
index 552a3d4..f51995c 100644
--- a/System/BossShow/BossShowModel.cs
+++ b/System/BossShow/BossShowModel.cs
@@ -43,10 +43,19 @@
 
         public void StartBossShow(int npcId)
         {
+            if (!ActorShowConfig.GetActorShowModel(PlayerDatas.Instance.baseData.MapID, npcId, out actorShowModel))
+            {
+                return;
+            }
+            Start(PlayerDatas.Instance.baseData.MapID, npcId);
+        }
+
+        public void Start(int mapId, int npcId)
+        {
             try
             {
                 reqDungeonLineId = -1;
-                if (!ActorShowConfig.GetActorShowModel(PlayerDatas.Instance.baseData.MapID, npcId, out actorShowModel))
+                if (!ActorShowConfig.GetActorShowModel(mapId, npcId, out actorShowModel))
                 {
                     return;
                 }

--
Gitblit v1.8.0