Scriptname SuH_comES_soulofpower extends activemagiceffect  

GlobalVariable Property SuH_PCScapstamina auto

Actor property playerRef auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
	if akTarget == PlayerRef ; If player consumes
		int x = Math.Floor(1 + SuH_PCScapstamina.GetValue())
		SuH_PCScapstamina.SetValue(x)
		debug.Notification("Soul of Power - Granted 1 Stamina Cap")
	endIf
endEvent