aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-06-26 22:40:13 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-19 20:54:24 +0100
commit306e08cc31178fc17dd61e60039bc604d16f73ff (patch)
tree6d37dcf9ccb29bbee86de9961d1296e94e2d4719 /src
parente6f5cfcd23e4ffe7ccc0b86df9de83d522fe69c3 (diff)
DB/Quest: Convert & update support for 'Scratches' to SAI
Closes #24824 (cherry picked from commit d526d5d1765a6468d9acb585b3e60c08352edf55)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Outland/zone_blades_edge_mountains.cpp51
1 files changed, 1 insertions, 50 deletions
diff --git a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
index 05bea7679df..d9b011ba098 100644
--- a/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
+++ b/src/server/scripts/Outland/zone_blades_edge_mountains.cpp
@@ -18,13 +18,12 @@
/* ScriptData
SDName: Blades_Edge_Mountains
SD%Complete: 90
-SDComment: Quest support: 10503, 10504, 10556, 10594, 10609, 10821. Ogri'la->Skettis Flight. (npc_daranelle needs bit more work before consider complete)
+SDComment: Quest support: 10503, 10504, 10594, 10609, 10821. Ogri'la->Skettis Flight.
SDCategory: Blade's Edge Mountains
EndScriptData */
/* ContentData
npc_nether_drake
-npc_daranelle
go_legion_obelisk
EndContentData */
@@ -231,53 +230,6 @@ public:
}
};
-/*######
-## npc_daranelle
-######*/
-
-enum Daranelle
-{
- SAY_SPELL_INFLUENCE = 0,
- SPELL_LASHHAN_CHANNEL = 36904,
- SPELL_DISPELLING_ANALYSIS = 37028
-};
-
-class npc_daranelle : public CreatureScript
-{
-public:
- npc_daranelle() : CreatureScript("npc_daranelle") { }
-
- struct npc_daranelleAI : public ScriptedAI
- {
- npc_daranelleAI(Creature* creature) : ScriptedAI(creature) { }
-
- void Reset() override { }
-
- void JustEngagedWith(Unit* /*who*/) override { }
-
- void MoveInLineOfSight(Unit* who) override
-
- {
- if (who->GetTypeId() == TYPEID_PLAYER)
- {
- if (who->HasAura(SPELL_LASHHAN_CHANNEL) && me->IsWithinDistInMap(who, 10.0f))
- {
- Talk(SAY_SPELL_INFLUENCE, who);
- /// @todo Move the below to updateAI and run if this statement == true
- DoCast(who, SPELL_DISPELLING_ANALYSIS, true);
- }
- }
-
- ScriptedAI::MoveInLineOfSight(who);
- }
- };
-
- CreatureAI* GetAI(Creature* creature) const override
- {
- return new npc_daranelleAI(creature);
- }
-};
-
//Support for quest: You're Fired! (10821)
bool obelisk_one, obelisk_two, obelisk_three, obelisk_four, obelisk_five;
@@ -1062,7 +1014,6 @@ class spell_oscillating_field : public SpellScriptLoader
void AddSC_blades_edge_mountains()
{
new npc_nether_drake();
- new npc_daranelle();
new go_legion_obelisk();
new npc_simon_bunny();
new go_simon_cluster();