fix(Scripts/ZulAman): Move Harrison Jones spawn to DB (#20491)

Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
This commit is contained in:
Andrew
2024-11-09 19:18:14 -03:00
committed by GitHub
parent 80a9af02d6
commit 82d43ee52a
2 changed files with 4 additions and 20 deletions

View File

@@ -93,7 +93,6 @@ public:
ObjectGuid AshlisBagGUID;
ObjectGuid KrazsPackageGUID;
ObjectGuid StrangeGongGUID;
ObjectGuid HarrisonJonesGUID;
ObjectGuid HexLordGateGUID;
ObjectGuid ZulJinGateGUID;
@@ -129,25 +128,6 @@ public:
m_auiEncounter[DATA_GONGEVENT] = NOT_STARTED;
}
void OnPlayerEnter(Player* /*player*/) override
{
if (!HarrisonJonesGUID)
instance->SummonCreature(NPC_HARRISON_JONES, HarrisonJonesLoc);
}
void OnCreatureCreate(Creature* creature) override
{
switch (creature->GetEntry())
{
case NPC_HARRISON_JONES:
HarrisonJonesGUID = creature->GetGUID();
break;
default:
break;
}
InstanceScript::OnCreatureCreate(creature);
}
void OnGameObjectCreate(GameObject* go) override
{
switch (go->GetEntry())