add validate

This commit is contained in:
Jelle Meeus
2024-05-05 11:05:44 +02:00
parent 5fea038871
commit fdaaf8fd5a

View File

@@ -365,6 +365,11 @@ public:
{
PrepareAuraScript(spell_web_wrap_damage_AuraScript);
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_WEB_WRAP_SUMMON });
}
void OnPeriodic(AuraEffect const* aurEff)
{
if (aurEff->GetTickNumber() == 2)