4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
529 B

Scriptname DGIntimidateQuestScript extends Quest
keyword property WICrowdStart auto
Int property OpponentCon Auto
Function RestoreActorHealthOnBleedOut(Actor akBleeder)
If akBleeder.IsBleedingOut()
; restore akBleeder's health to above 0
Float bleederHealth = akBleeder.GetActorValue("health")
If bleederHealth < 1
bleederHealth = 10 - bleederHealth
; debug.trace(self + " restoring " + bleederHealth + " health to " + akBleeder)
akBleeder.RestoreActorValue("health", bleederHealth)
EndIf
EndIf
EndFunction