Scripts/RazorfenDowns: Fix Belnistrasz Incorrect Usage of GOSSIP_OPTION_QUESTGIVER (#5285)
* NPC was using GOSSIP_OPTION_QUESTGIVER as a UNIT_NPC_FLAGS when it should have been using UNIT_NPC_FLAG_QUESTGIVER. * Behavior shouldn't change though as they both coincidentally were 2.
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
|||||||
channeling = false;
|
channeling = false;
|
||||||
eventProgress = 0;
|
eventProgress = 0;
|
||||||
spawnerCount = 0;
|
spawnerCount = 0;
|
||||||
me->SetFlag(UNIT_NPC_FLAGS, GOSSIP_OPTION_QUESTGIVER);
|
me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
|
||||||
me->SetReactState(REACT_AGGRESSIVE);
|
me->SetReactState(REACT_AGGRESSIVE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -108,7 +108,7 @@ public:
|
|||||||
{
|
{
|
||||||
eventInProgress = true;
|
eventInProgress = true;
|
||||||
Talk(SAY_QUEST_ACCEPTED);
|
Talk(SAY_QUEST_ACCEPTED);
|
||||||
me->RemoveFlag(UNIT_NPC_FLAGS, GOSSIP_OPTION_QUESTGIVER);
|
me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
|
||||||
me->setFaction(FACTION_ESCORT);
|
me->setFaction(FACTION_ESCORT);
|
||||||
me->GetMotionMaster()->MovePath(PATH_ESCORT, false);
|
me->GetMotionMaster()->MovePath(PATH_ESCORT, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user