Core/Scripts: Addition to previous commit.
This commit is contained in:
@@ -1254,6 +1254,7 @@ enum TheCleansing
|
||||
QUEST_THE_CLEANSING_HORDE = 11317,
|
||||
QUEST_THE_CLEANSING_ALLIANCE = 11322,
|
||||
SPELL_CLEANSING_SOUL = 43351,
|
||||
SPELL_RECENT_MEDITATION = 61720,
|
||||
};
|
||||
|
||||
class go_frostblade_shrine : public GameObjectScript
|
||||
@@ -1263,6 +1264,7 @@ public:
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* go)
|
||||
{
|
||||
if (!player->HasAura(SPELL_RECENT_MEDITATION))
|
||||
if (player->GetQuestStatus(QUEST_THE_CLEANSING_HORDE) == QUEST_STATUS_INCOMPLETE || player->GetQuestStatus(QUEST_THE_CLEANSING_ALLIANCE) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
go->UseDoorOrButton(10);
|
||||
|
||||
Reference in New Issue
Block a user