Scriptname SuH_spellES_intimatetouch_hate extends activemagiceffect  

actor property PlayerRef auto

Event OnEffectStart(actor akTarget, actor akCaster)
	int m = akCaster.GetBaseActorValue("magicka") as int
	int s = akCaster.GetBaseActorValue("stamina") as int
	if m >= 21 && s >= 21
		m -= 20
		s -= 20
		akCaster.SetActorValue("magicka", m)
		akCaster.SetActorValue("stamina", s)
		akTarget.SetActorValue("magicka", 0)
		akTarget.SetActorValue("stamina", 0)
	elseif akCaster == PlayerRef
		debug.Notification("Intimate Touch Failed : Not enough Status")
	endIf
endEvent