aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
index c48f75a428e..6e7da3c1181 100644
--- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
+++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
@@ -25,7 +25,6 @@ EndScriptData */
/* ContentData
npc_stolen_soul
boss_exarch_maladaar
-npc_avatar_of_martyred
EndContentData */
#include "ScriptMgr.h"
@@ -313,59 +312,8 @@ public:
};
-class npc_avatar_of_martyred : public CreatureScript
-{
-public:
- npc_avatar_of_martyred() : CreatureScript("npc_avatar_of_martyred") { }
-
- CreatureAI* GetAI(Creature* creature) const override
- {
- return GetAuchenaiCryptsAI<npc_avatar_of_martyredAI>(creature);
- }
-
- struct npc_avatar_of_martyredAI : public ScriptedAI
- {
- npc_avatar_of_martyredAI(Creature* creature) : ScriptedAI(creature)
- {
- Initialize();
- }
-
- void Initialize()
- {
- Mortal_Strike_timer = 10000;
- }
-
- uint32 Mortal_Strike_timer;
-
- void Reset() override
- {
- Initialize();
- }
-
- void JustEngagedWith(Unit* /*who*/) override
- {
- }
-
- void UpdateAI(uint32 diff) override
- {
- if (!UpdateVictim())
- return;
-
- if (Mortal_Strike_timer <= diff)
- {
- DoCastVictim(SPELL_AV_MORTAL_STRIKE);
- Mortal_Strike_timer = urand(10, 30) * 1000;
- } else Mortal_Strike_timer -= diff;
-
- DoMeleeAttackIfReady();
- }
- };
-
-};
-
void AddSC_boss_exarch_maladaar()
{
new boss_exarch_maladaar();
- new npc_avatar_of_martyred();
new npc_stolen_soul();
}