Oblivion Game Data

Select game:

Search:

Select a record type:

SEDuskfangSpellEffectScript (0x0007d444)

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

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 ( SESwordDuskfangKills < 1 )
				Set SESwordDuskfangKills to ( SESwordDuskfangKills + 1 )
				Message "Duskfang has extinguished %.0f life.", SESwordDuskfangKills
				Set KillingBlow to 1
			elseif ( SESwordDuskfangKills >= 1 ) && ( SESwordDuskfangKills < 11 )
				Set SESwordDuskfangKills to ( SESwordDuskfangKills + 1 )
				Message "Duskfang has extinguished %.0f lives.", SESwordDuskfangKills
				Set KillingBlow to 1
			elseif ( SESwordDuskfangKills == 11 )
				Set SESwordDuskfangKills to ( SESwordDuskfangKills + 1 )
				Message "Duskfang's bloodthirst has been quenched."
				Set KillingBlow to 1
			elseif ( SESwordDuskfangKills >= 12 )
				Set KillingBlow to 1
			endif
		endif
	endif

end

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