aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2022-03-31 17:55:10 +0300
committeroffl <offl@users.noreply.github.com>2022-03-31 17:55:10 +0300
commitf494272e94c5229f2ebf465aae2723961c7f9c4d (patch)
treecddde21f78b73b6778e15f30f8d2e67ceef19f69 /src/server/scripts
parent5eea9883c2c4cc0cf5d5be6fe52644d205a88ca3 (diff)
DB/Quest: Update 'Into the Realm of Shadows'
Closes #27895
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index 587f4a67d43..958a5be3436 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -771,11 +771,8 @@ private:
enum SalanarTheHorseman
{
- GOSSIP_SALANAR_MENU = 9739,
- GOSSIP_SALANAR_OPTION = 0,
SALANAR_SAY = 0,
QUEST_INTO_REALM_OF_SHADOWS = 12687,
- NPC_SALANAR_IN_REALM_OF_SHADOWS = 28788,
SPELL_EFFECT_STOLEN_HORSE = 52263,
SPELL_DELIVER_STOLEN_HORSE = 52264,
SPELL_CALL_DARK_RIDER = 52266,
@@ -792,16 +789,6 @@ public:
{
npc_salanar_the_horsemanAI(Creature* creature) : ScriptedAI(creature) { }
- bool OnGossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override
- {
- if (menuId == GOSSIP_SALANAR_MENU && gossipListId == GOSSIP_SALANAR_OPTION)
- {
- player->CastSpell(player, SPELL_REALM_OF_SHADOWS, true);
- player->PlayerTalkClass->SendCloseGossip();
- }
- return false;
- }
-
void MoveInLineOfSight(Unit* who) override
{
ScriptedAI::MoveInLineOfSight(who);
@@ -812,8 +799,7 @@ public:
{
if (Player* player = charmer->ToPlayer())
{
- // for quest Into the Realm of Shadows(QUEST_INTO_REALM_OF_SHADOWS)
- if (me->GetEntry() == NPC_SALANAR_IN_REALM_OF_SHADOWS && player->GetQuestStatus(QUEST_INTO_REALM_OF_SHADOWS) == QUEST_STATUS_INCOMPLETE)
+ if (player->GetQuestStatus(QUEST_INTO_REALM_OF_SHADOWS) == QUEST_STATUS_INCOMPLETE)
{
player->GroupEventHappens(QUEST_INTO_REALM_OF_SHADOWS, me);
Talk(SALANAR_SAY);