Core/Spells: Add missing validate

This commit is contained in:
Shauren
2017-07-01 11:57:16 +02:00
parent e07a322a3e
commit 5879eb2198

View File

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