Skip to content

Commit

Permalink
Update to support Q.9531
Browse files Browse the repository at this point in the history
This update will allow the the q.9531 'Tree's Company' rework to run
correctly.
  • Loading branch information
Necrovoice authored and billy1arm committed May 24, 2017
1 parent 9d7a0c0 commit 2de7ff9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/kalimdor/azuremyst_isle.cpp
Expand Up @@ -287,19 +287,6 @@ struct npc_engineer_spark_overgrind : public CreatureScript
}
};

CreatureAI* GetAI(Creature* pCreature) override
{
if (pCreature->GetAreaId() == AREA_COVE) //temp spawn related to quest 9531, controlled by db script
{
pCreature->SetDefaultMovementType(IDLE_MOTION_TYPE);
pCreature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
pCreature->StopMoving(true);
return NULL;
}
else
return new npc_engineer_spark_overgrindAI(pCreature);
}

bool OnGossipHello(Player* pPlayer, Creature* pCreature) override
{
if (pPlayer->GetQuestStatus(QUEST_GNOMERCY) == QUEST_STATUS_INCOMPLETE)
Expand Down

0 comments on commit 2de7ff9

Please sign in to comment.