|
|
|
|
open [Regen_1]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea01" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_2]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea02" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea03" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea04" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea05" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_3]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea06" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea07" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_4]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea10" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea11" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea12" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_5]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea13" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_6]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea14" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea16" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea17" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea19" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea20" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea21" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_7]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea24" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_8]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea25" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea26" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea27" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea28" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_9]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea29" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_10]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea30" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea31" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea32" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea33" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_11]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea34" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea35" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea36" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea37" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_12]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea39" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea40" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea41" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea42" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea43" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea44" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_13]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea45" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_14]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea47" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_15]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea49" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_16]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea51" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_17]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea53" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_18]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea54" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea55" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea56" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea57" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [Regen_19]
|
|
|
|
|
mobregen Aggressive "KDTrDn" "KDTravelerDnArea58" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
open [main]
|
|
|
|
|
var MyName.
|
|
|
|
|
var MyHandle.
|
|
|
|
|
myname MyName.
|
|
|
|
|
myhandle MyHandle.
|
|
|
|
|
|
|
|
|
|
call MyName "DefRoutine".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [DefRoutine]
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [WaitPlayerEntry]
|
|
|
|
|
var InitRest.
|
|
|
|
|
var CurRest.
|
|
|
|
|
kqrestminute InitRest. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
var Ply.
|
|
|
|
|
Ply = 0.
|
|
|
|
|
while Ply == 0
|
|
|
|
|
open
|
|
|
|
|
howmanymob Ply "Player". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>÷<EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD> Ȯ<EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
kqrestminute CurRest. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
if InitRest - CurRest > 5 ; 5<EFBFBD>а<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
print "Room vanish".
|
|
|
|
|
endofevent KingdomQuest 0. ; ŷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD>з<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
break "main".
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [IsTimeUp] ; <EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>Ǿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȯ<EFBFBD><EFBFBD>
|
|
|
|
|
print "IsTimeUp".
|
|
|
|
|
var TimeUp.
|
|
|
|
|
kqrestminute TimeUp. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
print "EventManagerAIsTimeUp : " % TimeUp % "Minute left".
|
|
|
|
|
if TimeUp == 0 ; <EFBFBD>ð<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
print "IsTimeUp : Exit 0".
|
|
|
|
|
KQResult = "Fail".
|
|
|
|
|
break "MainLoop".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
var Ply.
|
|
|
|
|
howmanymob Ply "Player". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD> <EFBFBD>÷<EFBFBD><EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD> Ȯ<EFBFBD><EFBFBD>
|
|
|
|
|
print "EventManagerAIsTimeUp : " % Ply % "Player left".
|
|
|
|
|
if Ply == 0
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
print "IsTimeUp : Exit 1".
|
|
|
|
|
KQResult = "Fail".
|
|
|
|
|
break "MainLoop".
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [WaitMobRegen]
|
|
|
|
|
var Mob.
|
|
|
|
|
Mob = 0.
|
|
|
|
|
while Mob == 0
|
|
|
|
|
open
|
|
|
|
|
howmanymob Mob "All". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȯ<EFBFBD><EFBFBD>
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
open [WaitMobAnnihilation]
|
|
|
|
|
var Mob.
|
|
|
|
|
Mob = 10.
|
|
|
|
|
while Mob > 0
|
|
|
|
|
open
|
|
|
|
|
howmanymob Mob "All". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȯ<EFBFBD><EFBFBD>
|
|
|
|
|
call "IsTimeUp".
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ġ<EFBFBD>̱<EFBFBD><EFBFBD><EFBFBD>.".
|
|
|
|
|
close
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
open [EventManagerA]
|
|
|
|
|
|
|
|
|
|
print "EventManagerA : Entry".
|
|
|
|
|
|
|
|
|
|
call "WaitPlayerEntry". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ٸ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
var Stage.
|
|
|
|
|
Stage = 1.
|
|
|
|
|
|
|
|
|
|
var KQResult.
|
|
|
|
|
KQResult = "Success".
|
|
|
|
|
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>Ƽ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>Դϴ<EFBFBD>.".
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD>ε<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.".
|
|
|
|
|
|
|
|
|
|
open [MainLoop]
|
|
|
|
|
while Stage <= 19
|
|
|
|
|
open
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>Ÿ<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ø<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ٷ<EFBFBD> <EFBFBD>ֽʽÿ<EFBFBD>.".
|
|
|
|
|
|
|
|
|
|
var RegenRoutine.
|
|
|
|
|
RegenRoutine = "Regen_" % Stage.
|
|
|
|
|
|
|
|
|
|
call RegenRoutine. ; <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
call "WaitMobRegen". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ٸ<EFBFBD>
|
|
|
|
|
call "WaitMobAnnihilation". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ٸ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
Stage = Stage + 1.
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
if KQResult === "Success"
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
reward KingdomQuest. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>带 <EFBFBD><EFBFBD>
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ġ<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϼ̽<EFBFBD><EFBFBD>ϴ<EFBFBD>.".
|
|
|
|
|
endofevent KingdomQuest 1. ; ŷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
close
|
|
|
|
|
else
|
|
|
|
|
open
|
|
|
|
|
broadcast all "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ϼ̽<EFBFBD><EFBFBD>ϴ<EFBFBD>.".
|
|
|
|
|
endofevent KingdomQuest 0. ; ŷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD>з<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
broadcast all "30<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>̵<EFBFBD><EFBFBD>մϴ<EFBFBD>.".
|
|
|
|
|
wait sec 10.
|
|
|
|
|
broadcast all "20<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>̵<EFBFBD><EFBFBD>մϴ<EFBFBD>.".
|
|
|
|
|
wait sec 10.
|
|
|
|
|
broadcast all "10<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>̵<EFBFBD><EFBFBD>մϴ<EFBFBD>.".
|
|
|
|
|
wait sec 5.
|
|
|
|
|
broadcast all "5<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>̵<EFBFBD><EFBFBD>մϴ<EFBFBD>.".
|
|
|
|
|
wait sec 5.
|
|
|
|
|
linkto all "Rou" "Rou" 7907 8572.
|
|
|
|
|
|
|
|
|
|
mapclear all.
|
|
|
|
|
|
|
|
|
|
close
|