Scripts/Spells: Fix validation of spells in spell_druid (#29217)

This commit is contained in:
Teleqraph
2023-08-27 20:16:00 +02:00
committed by GitHub
parent 2cdf0a44b2
commit 3cce2dad8b

View File

@@ -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