Scriptname SuH_spellES_nightsembrace extends activemagiceffect  


SuH_Fun Property _Fun auto

Event OnEffectStart(actor akTarget, actor akCaster)
	if akTarget != akCaster
		if akTarget.GetSleepState() == 3
			actor[] animActor = new actor[2] ; Create Array of actors
			animActor[0] = akTarget ; Set Target
			animActor[1] = akCaster ; Set Caster
			_Fun.ANIMcalc(animActor, akTarget) ; Send aggressive act to SuH_Fun
		endIf
	endIf
endEvent