diff options
| author | Teleqraph <nyrdeveloper@gmail.com> | 2023-08-27 20:16:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-27 20:16:00 +0200 |
| commit | 3cce2dad8be158776db90647aa5e4300a13d02f3 (patch) | |
| tree | d7271ed559f1fd0b2e338e471341472f98034721 | |
| parent | 2cdf0a44b22c783a150f0774eb0917a8db69b162 (diff) | |
Scripts/Spells: Fix validation of spells in spell_druid (#29217)
| -rw-r--r-- | src/server/scripts/Spells/spell_druid.cpp | 3 |
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 |
