You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

97 lines
3.1 KiB

; InitFlag = "CharName CharHandle StartBlockNumber"
open [main]
var CharName ""
CharHandle ""
StartBlock ""
InterruptBlock ""
InterruptArg "".
CharName = @RemoveFirst("InitFlag" " ").
CharHandle = @RemoveFirst("InitFlag" " ").
StartBlock = "Block" % InitFlag.
call InitFlag.
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [Block121] ; Mara
var Mara 0.
interruptset Sec "" 1 300 "Block121TimeOut". ; 300초 발생하는 이벤트
mobregen Mara "Mara" 3619 3786 0 1000 "Normal". ; 마라 리젠
chatwinrange "Mara" "Mara01" Mara 1000. ; 마라대사 범위 Mara로부터 1000 이내
pause 3. ; 3초간 대기한다.
chatwinrange "Mara" "Mara02" Mara 1000. ; 마라대사 범위 Mara로부터 1000 이내
interruptset DeadHandle "" 1 Mara "Block121MaraDead".
interruptset DeadHandle "" 1 CharHandle "Block121PlayerDead".
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
open [Block121TimeOut] ; 300초 발생하는 이벤트
chatwinrange "Mara" "Mara01" Mara 1000. ; 시간을 너무 지체했군. 잘있어라
resultvalue 0.
remove Mara.
break "main".
close
open [Block121MaraDead]
chatwinrange "Mara" "Mara01" Mara 1000. ; 내가 지다니...
resultvalue 1.
break "main".
close
open [Block121PlayerDead]
chatwinrange "Mara" "Mara01" Mara 1000. ; 분수를 모르는 녀석, 죽어라!!
resultvalue 0.
remove Mara.
break "main".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [Block122] ; Marlone
var Marlone 0.
interruptset Sec "" 1 300 "Block122TimeOut". ; 300초 발생하는 이벤트
mobregen Marlone "Marlone" 3619 3786 0 1000 "Normal". ; 말론 리젠
chatwinrange "Marlone" "Marlone01" Marlone 1000. ; 마라대사 범위 Marlone로부터 1000 이내
pause 3. ; 3초간 대기한다.
chatwinrange "Marlone" "Marlone02" Marlone 1000. ; 마라대사 범위 Marlone로부터 1000 이내
interruptset DeadHandle "" 1 Marlone "Block122MarloneDead".
interruptset DeadHandle "" 1 CharHandle "Block122PlayerDead".
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
open [Block122TimeOut] ; 300초 발생하는 이벤트
chatwinrange "Marlone" "Marlone01" Marlone 1000. ; 시간을 너무 지체했군. 잘있어라
remove Marlone.
resultvalue 0.
break "main".
close
open [Block122MarloneDead]
chatwinrange "Marlone" "Marlone01" Marlone 1000. ; 내가 지다니...
resultvalue 1.
break "main".
close
open [Block122PlayerDead]
chatwinrange "Marlone" "Marlone01" Marlone 1000. ; 분수를 모르는 녀석, 죽어라!!
remove Marlone.
resultvalue 0.
break "main".
close