mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user