mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Spells: Add missing validate
This commit is contained in:
@@ -386,6 +386,11 @@ class spell_mage_combustion_proc : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_mage_combustion_proc_AuraScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
return ValidateSpellInfo({ SPELL_MAGE_COMBUSTION });
|
||||
}
|
||||
|
||||
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
GetTarget()->RemoveAurasDueToSpell(SPELL_MAGE_COMBUSTION);
|
||||
|
||||
Reference in New Issue
Block a user