Scriptname SuH_actorS_bear extends ObjectReference  

SuH_Fun property _Fun auto

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("bear")
endEvent

Event OnUpdate()
	hitcd = 0
endEvent