From 3cce2dad8be158776db90647aa5e4300a13d02f3 Mon Sep 17 00:00:00 2001 From: Teleqraph Date: Sun, 27 Aug 2023 20:16:00 +0200 Subject: Scripts/Spells: Fix validation of spells in spell_druid (#29217) --- src/server/scripts/Spells/spell_druid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 868805ac33f..ceea646a319 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -318,7 +318,8 @@ class spell_dru_cultivation : public AuraScript { bool Validate(SpellInfo const* /*spellInfo*/) override { - return ValidateSpellInfo({ SPELL_DRUID_CULTIVATION, SPELL_DRUID_CULTIVATION_HEAL }); + return ValidateSpellInfo({ SPELL_DRUID_CULTIVATION_HEAL }) + && ValidateSpellEffect({ { SPELL_DRUID_CULTIVATION, EFFECT_0 } }); } void HandleOnTick(AuraEffect const* aurEff) const -- cgit v1.2.3