Scriptname HannibalTravenScript
short MG14timerstart
short currentday
short timer
short doonce
short MG13Timerstart
Begin Gamemode
if ( MG14timerstart == 1 )
set currentday to GameDay
set MG14timerstart to 2
elseif ( MG14timerstart == 2 )
if ( timer < 2 )
if ( currentday != GameDay )
set currentday to GameDay
set timer to ( timer + 1 )
endif
else
StartQuest MG15Helm
StartQuest MG16Amulet
set MG14TimerStart to 3
endif
endif
if ( MG13timerstart == 1 )
set currentday to GameDay
set MG13timerstart to 2
elseif ( MG13timerstart == 2 )
if ( timer < 2 )
if ( currentday != GameDay )
set currentday to GameDay
set timer to ( timer + 1 )
endif
else
StartQuest MG14Plot
set MG13TimerStart to 3
endif
endif
;Script Traven's Death upon being given quest MG18
if ( GetStage MG18KingofWorms == 10 )
if ( doonce == 0 )
SetEssential HannibalTraven 0
HannibalTravenRef.additem MG17MiscBlackSoulGemFilled 1
HannibalTravenRef.cast MG18TravenImmolate HannibalTravenref
BolorSavelRef.Enable
set doonce to 1
endif
endif
End
Begin OnDeath Player
If GetStage TG05Misdirection >= 15 && GetStage TG05Misdirection < 60
Set TG05Misdirection.TotalDead to TG05Misdirection.TotalDead + 1
SetStage TG05BloodPrice 50
EndIf
End
|