From 5879eb2198fdb976b9fff136757bf8187adb6cf0 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 1 Jul 2017 11:57:16 +0200 Subject: Core/Spells: Add missing validate --- src/server/scripts/Spells/spell_mage.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 68e74831164..440c0ba4c5e 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -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); -- cgit v1.2.3