Scriptname SuH_actorS_pet extends ObjectReference  

; This function needs to be updated so it works with all pets

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

; _f = Game.GetFormFromFile(0x814, "Succubus Heart.esp") as SuH_Fun
; int hitcd

; Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
	; if hitcd == 0
		; _Fun.xpPet("bear", actionID="hit")
		; hitcd = 1
		; RegisterForSingleUpdate(5.0)
	; endIf
; endEvent

; Event OnDeath(Actor attchar)
	; _Fun.deathPet(self)
; endEvent

; Event OnUpdate()
	; hitcd = 0
; endEvent