mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Scripts/Ulduar: Move handling of Razorscale Mole Machine to instance script.
This commit is contained in:
@@ -758,8 +758,6 @@ class npc_mole_machine_trigger : public CreatureScript
|
||||
if (!GobSummoned && SummonGobTimer <= Diff)
|
||||
{
|
||||
DoCast(SPELL_SUMMON_MOLE_MACHINE);
|
||||
if (GameObject* molemachine = me->FindNearestGameObject(GO_MOLE_MACHINE, 1))
|
||||
molemachine->SetGoState(GO_STATE_ACTIVE);
|
||||
GobSummoned = true;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -255,6 +255,9 @@ public:
|
||||
case GO_RAZOR_HARPOON_4:
|
||||
uiRazorHarpoonGUIDs[3] = go->GetGUID();
|
||||
break;
|
||||
case GO_MOLE_MACHINE:
|
||||
if (GetBossState(TYPE_RAZORSCALE) == IN_PROGRESS)
|
||||
go->SetGoState(GO_STATE_ACTIVE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user