aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/TempestKeep
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-05-30 19:34:19 +0200
committerShauren <shauren.trinity@gmail.com>2023-05-30 19:34:19 +0200
commitf8a6a9b01713a5dbe5ed38bd3d1b1c72191cf288 (patch)
treedf08545ca3a3f662df04779258c1591b43fc044b /src/server/scripts/Outland/TempestKeep
parent3ca9e1253a127daea2ff1b8b0eb5236aa04f772e (diff)
Scripts/Spells: Added spell effect validation helper
Diffstat (limited to 'src/server/scripts/Outland/TempestKeep')
-rw-r--r--src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
index 31a73111749..bc047abe423 100644
--- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
+++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp
@@ -483,7 +483,7 @@ class spell_astromancer_wrath_of_the_astromancer : public AuraScript
bool Validate(SpellInfo const* spellInfo) override
{
return ValidateSpellInfo({ SPELL_WRATH_OF_THE_ASTROMANCER_DOT })
- && spellInfo->GetEffects().size() > EFFECT_1;
+ && ValidateSpellEffect({ { spellInfo->Id, EFFECT_1 } });
}
void AfterRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)