diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-06-03 23:17:28 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-06-03 23:17:28 +0200 |
| commit | 622eed752bc69fc4c34bb568d96d51913258f852 (patch) | |
| tree | 48cefb31c08cd1654a3616295498cd336bb1b646 /src/server/scripts/Zandalar | |
| parent | 277497fdf1ca5f7b310c4544e8f1304a66034884 (diff) | |
Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect
Diffstat (limited to 'src/server/scripts/Zandalar')
| -rw-r--r-- | src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp index 976de1f59dc..2dbceab860e 100644 --- a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp +++ b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp @@ -218,7 +218,7 @@ class spell_sanguine_feast_selector : public SpellScript bool Validate(SpellInfo const* spellInfo) override { - return !spellInfo->GetEffects().empty() && ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) }); + return ValidateSpellEffect({ { spellInfo->Id, EFFECT_0 } }) && ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) }); } void HandleHit(SpellEffIndex /*effIndex*/) |
