From bae54ea544923b8e61dffcfcaf304558eeeaccf4 Mon Sep 17 00:00:00 2001 From: Alvin Zhu Date: Tue, 2 Jan 2024 15:44:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=A5=E5=B0=94=E5=8A=A0=E9=9A=86=E5=B7=B2?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D,=E5=9B=9E=E6=BB=9A=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ulduar/Ulduar/instance_ulduar.cpp | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp index 39fda2576b5404..c0aa344ca799d3 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp @@ -1156,36 +1156,6 @@ class instance_ulduar : public InstanceMapScript if (m_algalonTimer) { _events.Repeat(1min); - - if (Creature* algalon = instance->GetCreature(m_uiAlgalonGUID)) - { - LOG_ERROR("module", "奥尔加隆存活,跳过召唤"); - } - else - { - if (m_algalonTimer && (m_algalonTimer <= 60 || m_algalonTimer == TIMER_ALGALON_TO_SUMMON)) - { - TempSummon* algalon = instance->SummonCreature(NPC_ALGALON, AlgalonLandPos); - LOG_ERROR("module", "奥尔加隆召唤完成"); - if (!algalon) - return; - - if (m_algalonTimer <= 60) - { - _events.RescheduleEvent(EVENT_UPDATE_ALGALON_TIMER, 1min); - algalon->AI()->DoAction(ACTION_INIT_ALGALON); - } - else // if (m_algalonTimer = TIMER_ALGALON_TO_SUMMON) - { - m_algalonTimer = TIMER_ALGALON_SUMMONED; - algalon->SetImmuneToPC(false); - } - } - else - { - LOG_ERROR("module", "奥尔加隆挑战超时,跳过召唤"); - } - } return; }