aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-01-23 10:33:00 +0100
committerOvahlord <dreadkiller@gmx.de>2024-01-23 10:33:00 +0100
commitc4a03b99315617f7f08b151bffaf3bf14dc238c2 (patch)
tree4b5b424e5562cf175c2e7c8250a961bb1fdc50d0 /src
parent1a8eeb86dfd105b69e946bc13a84c9f529c52b10 (diff)
Scripts/Baradin Hold: cleaned up some leftovers from Argaloth's rework and applied some missing coding standards
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/EasternKingdoms/BaradinHold/boss_argaloth.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/server/scripts/EasternKingdoms/BaradinHold/boss_argaloth.cpp b/src/server/scripts/EasternKingdoms/BaradinHold/boss_argaloth.cpp
index 3b1ad65de51..ac6ddaffef9 100644
--- a/src/server/scripts/EasternKingdoms/BaradinHold/boss_argaloth.cpp
+++ b/src/server/scripts/EasternKingdoms/BaradinHold/boss_argaloth.cpp
@@ -29,28 +29,23 @@ enum ArgalothTexts
SAY_ANNOUNCE_FEL_FIRESTORM = 0
};
-enum Spells
+enum ArgalothSpells
{
- // Argaloth
SPELL_FEL_FIRESTORM = 88972,
SPELL_FEL_FIRESTORM_TRIGGERED = 88973,
SPELL_BERSERK = 47008,
SPELL_METEOR_SLASH_VISUAL = 88949,
SPELL_METEOR_SLASH = 88942,
- SPELL_CONSUMING_DARKNESS = 88954,
+ SPELL_CONSUMING_DARKNESS = 88954
};
-enum Events
+enum ArgalothEvents
{
- // Argaloth
EVENT_METEOR_SLASH = 1,
EVENT_CONSUMING_DARKNESS,
EVENT_FEL_FIRESTORM,
EVENT_END_FEL_FIRESTORM,
- EVENT_BERSERK,
-
- // Fel Flames
- EVENT_FEL_FLAMES
+ EVENT_BERSERK
};
struct boss_argaloth : public BossAI
@@ -89,6 +84,7 @@ struct boss_argaloth : public BossAI
{
_JustDied();
instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, me);
+ instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_CONSUMING_DARKNESS);
}
void UpdateAI(uint32 diff) override