;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname towRandomIdle_Activate_Perk Extends Perk Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akTargetRef, Actor akActor)
;BEGIN CODE
	if(akTargetRef.HasKeywordString("ActorTypeHorse"))
		Debug.SendAnimationEvent(akActor, "JumpLandEnd")
		RI.gotoState("BlockState")
		akTargetRef.Activate(akActor)
	else
		Debug.SendAnimationEvent(akActor, "JumpLandEnd")
		akTargetRef.Activate(akActor)
	endif
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

towRandomIdle_Alias Property RI Auto