Scripts/Nagrand: Add a quest incomplete check in go_warmaul_prison (previous commit).
Thanks @Retriman
This commit is contained in:
@@ -1179,6 +1179,9 @@ public:
|
|||||||
|
|
||||||
bool OnGossipHello(Player* player, GameObject* go)
|
bool OnGossipHello(Player* player, GameObject* go)
|
||||||
{
|
{
|
||||||
|
if (player->GetQuestStatus(QUEST_FINDING_THE_SURVIVORS) != QUEST_STATUS_INCOMPLETE)
|
||||||
|
return;
|
||||||
|
|
||||||
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 1.0f))
|
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 1.0f))
|
||||||
{
|
{
|
||||||
if (prisoner)
|
if (prisoner)
|
||||||
|
|||||||
Reference in New Issue
Block a user