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)
|
if (!GobSummoned && SummonGobTimer <= Diff)
|
||||||
{
|
{
|
||||||
DoCast(SPELL_SUMMON_MOLE_MACHINE);
|
DoCast(SPELL_SUMMON_MOLE_MACHINE);
|
||||||
if (GameObject* molemachine = me->FindNearestGameObject(GO_MOLE_MACHINE, 1))
|
|
||||||
molemachine->SetGoState(GO_STATE_ACTIVE);
|
|
||||||
GobSummoned = true;
|
GobSummoned = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -255,6 +255,9 @@ public:
|
|||||||
case GO_RAZOR_HARPOON_4:
|
case GO_RAZOR_HARPOON_4:
|
||||||
uiRazorHarpoonGUIDs[3] = go->GetGUID();
|
uiRazorHarpoonGUIDs[3] = go->GetGUID();
|
||||||
break;
|
break;
|
||||||
|
case GO_MOLE_MACHINE:
|
||||||
|
if (GetBossState(TYPE_RAZORSCALE) == IN_PROGRESS)
|
||||||
|
go->SetGoState(GO_STATE_ACTIVE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user