IF
InParty("robilard")
Global("Robilardattack01","GLOBAL",0)
THEN
RESPONSE #100
SetGlobalTimer("Robattack01","GLOBAL",THREE_DAYS)
SetGlobal("Robilardattack01","GLOBAL",1)
END
IF
InParty("Robilard")
Global("Robilardattack01","GLOBAL",1)
GlobalTimerExpired("Robattack01","GLOBAL")
AreaType(OUTDOOR)
THEN
RESPONSE #100
CreateVisualEffectObject("spdimndr",Player1)
Wait(2)
CreateCreatureObject("roborb01",Player1,0,0,0) // Waterdeep Assassination Wizard
SetGlobal("Robilardattack01","GLOBAL",2)
END
IF
Dead("roborb01")
InParty("robilard")
Global("Robilardattack01","GLOBAL",2)
THEN
RESPONSE #100
SetGlobal("RobilardAttack01","GLOBAL",3)
ActionOverride("robilard",StartDialog("orbrob01",Player1))
END
IF
InParty("robilard")
Global("Robilardattack01","GLOBAL",3)
LevelGT(Player1,16)
THEN
RESPONSE #100
CreateVisualEffectObject("spplanar",Player1)
CreateVisualEffectObject("spportal",Player1)
Wait(1)
CreateVisualEffectObject("spdimndr",Player1)
Wait(1)
CreateCreatureObject("lv16rob1",Player1,0,0,0) // Bregan D'aerth Assassin
CreateCreatureObject("lv16rob2",Player1,0,0,0) // Bregan D'aerth Assassin
CreateCreatureObject("lv16rob3",Player1,0,0,0) // Bregan D'aerth Assassin
CreateCreatureObject("lv16rob4",Player1,0,0,0) // Bregan D'aerth Assassin
SetGlobal("Robilardattack01","GLOBAL",4)
END
IF
Dead("lv16rob4")
Dead("lv16rob3")
Dead("lv16rob2")
Dead("lv16rob1")
Global("Robilardattack01","GLOBAL",4)
!Dead("robilard")
THEN
RESPONSE #100
SetGlobal("Robilardattack01","GLOBAL",5)
ActionOverride("robilard",StartDialog("drowrob1",Player1))
END
IF
Global("Robilardattack01","GLOBAL",5)
InParty("robilard")
THEN
RESPONSE #100
SetGlobalTimer("robishowdown","GLOBAL",FOUR_DAYS)
SetGlobal("Robilardattack01","GLOBAL",6)
END
IF
Global("Robilardattack01","GLOBAL",6)
GlobalTimerExpired("robishowdown","GLOBAL")
InParty("robilard")
THEN
RESPONSE #100
SetGlobal("Robilardattack01","GLOBAL",7)
StartCutSceneMode()
StartCutScene("robimov1")
END
IF
InParty("robilard")
Dead("robend01")
Dead("robend02")
Global("Robilardattack01","GLOBAL",7)
!Dead("robilard")
THEN
RESPONSE #100
SetGlobal("Robilardattack01","GLOBAL",
ActionOverride("robilard",StartDialog("endedrob",Player1))
END