예제 #1
0
파일: AuraHandler.cs 프로젝트: Skizot/WCell
		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;
		}