Oblivion Game Data

Select game:

Search:

Select a record type:

SEDawnfangSpellEffectScript (0x0007d435)

  • Record Type: SCPT
  • Editor ID: SEDawnfangSpellEffectScript
  • Form ID: 0x0007d435
  • Source File: Oblivion.esm.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
scn SEDawnfangSpellEffectScript

ref Target
ref self

short KillingBlow

begin ScriptEffectStart

	set KillingBlow to 0
	set target to GetSelf
	set self to GetSelf

end

begin ScriptEffectUpdate

	if ( KillingBlow == 0 )
		if ( Target.GetDead == 1 )
			if ( SESwordDawnfangKills < 1 )
				Set SESwordDawnfangKills to ( SESwordDawnfangKills + 1 )
				Message "Dawnfang has extinguished %.0f life.", SESwordDawnfangKills
				Set KillingBlow to 1				
			elseif ( SESwordDawnfangKills >= 1 ) && ( SESwordDawnfangKills < 11 )
				Set SESwordDawnfangKills to ( SESwordDawnfangKills + 1 )
				Message "Dawnfang has extinguished %.0f lives.", SESwordDawnfangKills
				Set KillingBlow to 1
			elseif ( SESwordDawnfangKills == 11 )
				Set SESwordDawnfangKills to ( SESwordDawnfangKills + 1 )
				Message "Dawnfang's bloodthirst has been quenched."
				Set KillingBlow to 1
			elseif ( SESwordDawnfangKills >= 12 )
				Set KillingBlow to 1
			endif
		endif
	endif

end

Database last updated 11/02/2011
SCPT records last updated 10/31/2011