Scriptname SuH_comES_soulofpower extends activemagiceffect  

SuH_Fun Property _f auto
SuH_Status Property _s auto

Event OnInit()
	_f = Game.GetFormFromFile(0x814, "Succubus Heart.esp") as SuH_Fun
	_s = Game.GetFormFromFile(0x16E496, "Succubus Heart.esp") as SuH_Status
endEvent

Event OnEffectStart(Actor akTarget, Actor akCaster)
	if akTarget == _s.PlayerRef ; If player consumes
		_s.SuH_PCScapstamina += 2
		_s.SuH_PCScapstaminaitem += 2
		_f.BDSMcalc("s", 2)
		debug.Notification("Soul of Power - Granted 2 Stamina Cap")
	endIf
endEvent