ScriptName MS49CastleWallScampScript
float timer
short dead
ref myparent
Begin OnDeath
if getstage ms49 < 50
set dead to 1
set timer to 10
endif
End
begin gamemode
if getdisabled == 0
if getstage MS49 >= 50
disable
endif
endif
if timer > 0
set timer to timer - getsecondspassed
else
if dead == 1
set myparent to getparentref
moveto myparent
set dead to 0
resurrect 1
startcombat jesanrilianref
startcombat merandilref
endif
endif
end |