mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Spells: Fix validation of spells in spell_druid (#29217)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user