aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-06-20 11:51:18 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-11 16:32:05 +0100
commit0993b491dde68ec60c682f5bf07d4208daac9bd1 (patch)
treed0f2a0a3424572a323a232b373e24f67fcd87dc3 /src
parentcf6b2586d82ab7a3650b19782106a7c6598cb5ab (diff)
DB/Quest: A Visit With The Ancestors
Closes #23284 (cherry picked from commit a3dec9068bda1a3145e526eaa69c1e38fa3f2fe3)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Outland/zone_nagrand.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/server/scripts/Outland/zone_nagrand.cpp b/src/server/scripts/Outland/zone_nagrand.cpp
index 23f75db8867..159cfaede33 100644
--- a/src/server/scripts/Outland/zone_nagrand.cpp
+++ b/src/server/scripts/Outland/zone_nagrand.cpp
@@ -24,7 +24,6 @@ EndScriptData */
/* ContentData
npc_maghar_captive
-npc_creditmarker_visit_with_ancestors
EndContentData */
#include "ScriptMgr.h"
@@ -218,48 +217,6 @@ public:
};
/*######
-## npc_creditmarker_visist_with_ancestors
-######*/
-
-class npc_creditmarker_visit_with_ancestors : public CreatureScript
-{
-public:
- npc_creditmarker_visit_with_ancestors() : CreatureScript("npc_creditmarker_visit_with_ancestors") { }
-
- CreatureAI* GetAI(Creature* creature) const override
- {
- return new npc_creditmarker_visit_with_ancestorsAI(creature);
- }
-
- struct npc_creditmarker_visit_with_ancestorsAI : public ScriptedAI
- {
- npc_creditmarker_visit_with_ancestorsAI(Creature* creature) : ScriptedAI(creature) { }
-
- void Reset() override { }
-
- void JustEngagedWith(Unit* /*who*/) override { }
-
- void MoveInLineOfSight(Unit* who) override
- {
- if (!who)
- return;
-
- Player* player = who->ToPlayer();
- if (player && player->GetQuestStatus(10085) == QUEST_STATUS_INCOMPLETE)
- {
- uint32 creditMarkerId = me->GetEntry();
- if (creditMarkerId >= 18840 && creditMarkerId <= 18843)
- {
- // 18840: Sunspring, 18841: Laughing, 18842: Garadar, 18843: Bleeding
- if (!player->GetReqKillOrCastCurrentCount(10085, creditMarkerId))
- player->KilledMonsterCredit(creditMarkerId, me->GetGUID());
- }
- }
- }
- };
-};
-
-/*######
## go_corkis_prison and npc_corki
######*/
@@ -923,7 +880,6 @@ public:
void AddSC_nagrand()
{
new npc_maghar_captive();
- new npc_creditmarker_visit_with_ancestors();
new npc_corki();
new go_corkis_prison();
new npc_kurenai_captive();