public static AuraEffectHandler CreateEffectHandler( SpellEffect spellEffect, CasterInfo caster, Unit target, int effectValue, ref SpellFailedReason failedReason) { var handler = spellEffect.AuraEffectHandlerCreator(); handler.m_spellEffect = spellEffect; handler.BaseEffectValue = effectValue; handler.CheckInitialize(caster, target, ref failedReason); return handler; }