ScriptName SkingradGuardScript
Short SayEscape
; This script is used for many guards in Skingrad
Begin OnDeath Player
If GetStage TG06Atonement >= 10 && GetStage TG06Atonement < 69
Set TG06Atonement.TotalDead to TG06Atonement.TotalDead + 1
SetStage TG06BloodPrice 60
EndIf
End
Begin GameMode
If GetStage TG06Atonement == 50 && TG06Atonement.PCSpotted == 0
If GetDetected Player ==1 || GetDetected AmuseiRef == 1
Player.ModCrimeGold TG06Atonement.EscapeCrimeGold
Set TG06Atonement.PCSpotted to 1
EndIf
EndIf
If GetStage TG06Atonement == 50 && SayEscape == 0
If GetDetected Player ==1 || GetDetected AmuseiRef == 1
SayTo Player TG06EscapedPrisoners
Set SayEscape to 1
EndIf
EndIf
End |