aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTeleqraph <nyrdeveloper@gmail.com>2023-08-27 20:16:00 +0200
committerGitHub <noreply@github.com>2023-08-27 20:16:00 +0200
commit3cce2dad8be158776db90647aa5e4300a13d02f3 (patch)
treed7271ed559f1fd0b2e338e471341472f98034721 /src
parent2cdf0a44b22c783a150f0774eb0917a8db69b162 (diff)
Scripts/Spells: Fix validation of spells in spell_druid (#29217)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_druid.cpp3
1 files changed, 2 insertions, 1 deletions
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