The NPC seems to equip the spell but never casts it.
Nothing I seem to try works, has any one had any luck getting it to work during combat?
Spoiler
Scriptname akurdbossfight extends actorSpell Property lamespell AUTOSpell Property enragespell AUTOScene property tauntscene autoScene property tauntscene2 autoScene property tauntscene3 autoScene property tauntscene4 autoScene property tauntscene5 autoInt Toggle = 0Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) If Self.GetActorValuePercentage("health") <= 0.9 && Toggle == 0 self.InterruptCast() Self.EquipSpell(lamespell, 1) Debug.SendAnimationEvent(Self, "Magic_Equip") Utility.Wait(0.3) Debug.SendAnimationEvent(Self, "MRh_SpellSelfStart") Toggle = 1 Utility.Wait(6) ;wait for actor to finish acting before scene Self.UnequipSpell(lamespell, 1) tauntscene.Start() ;the boss taunts/mocks the player elseif Self.GetActorValuePercentage("health") <= 0.8 && Toggle == 1 self.InterruptCast() Self.EquipSpell(lamespell, 1) Debug.SendAnimationEvent(Self, "Magic_Equip") Utility.Wait(0.3) Debug.SendAnimationEvent(Self, "MRh_SpellSelfStart") ;Causes him to cast the spell. Toggle = 2 Utility.Wait(6) ;wait for actor to finish acting before scene Self.UnequipSpell(lamespell, 1) tauntscene.Start() ;the boss taunts/mocks the player elseif Self.GetActorValuePercentage("health") <= 0.6 && Toggle == 2 self.InterruptCast() Self.EquipSpell(enragespell, 1) Debug.SendAnimationEvent(Self, "Magic_Equip") Utility.Wait(0.3) Debug.SendAnimationEvent(Self, "MRh_SpellSelfStart") ;Causes him to cast the spell. Toggle = 3 ; Prevents multiple firings of this If Utility.Wait(6) ;wait for actor to finish acting before scene Self.UnequipSpell(enragespell, 1) tauntscene.Start() ;the boss taunts/mocks the player endifEndEventthanks
