|
|
|
|
open [RegenZaco]
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea01" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea02" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea03" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea04" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea05" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea07" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea08" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea10" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea11" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea12" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea13" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea14" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea15" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea16" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea17" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea18" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea19" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea20" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea21" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea22" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea24" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea25" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea26" "Breeder" "EventManagerA".
|
|
|
|
|
mobregen Aggressive "KDEnMaze" "KDEndless_MiroArea32" "Breeder" "EventManagerA".
|
|
|
|
|
close
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
open [main]
|
|
|
|
|
var MyName.
|
|
|
|
|
var MyHandle.
|
|
|
|
|
myname MyName.
|
|
|
|
|
myhandle MyHandle.
|
|
|
|
|
|
|
|
|
|
var KQResult.
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
var NumGoden.
|
|
|
|
|
|
|
|
|
|
howmanymob NumGoden "KQ_GorDonMaster".
|
|
|
|
|
if NumGoden == 0
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
print "IsTimeUp : Exit 2".
|
|
|
|
|
KQResult = "Success".
|
|
|
|
|
break "MainLoop".
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
open [EventManagerA]
|
|
|
|
|
|
|
|
|
|
print "EventManagerA : Entry".
|
|
|
|
|
|
|
|
|
|
var CurMap.
|
|
|
|
|
currentmap CurMap. ; <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>
|
|
|
|
|
call "WaitPlayerEntry".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
call "RegenZaco".
|
|
|
|
|
|
|
|
|
|
open [MainLoop]
|
|
|
|
|
infinite
|
|
|
|
|
open
|
|
|
|
|
call "IsTimeUp".
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
wait sec 3.
|
|
|
|
|
if KQResult === "Success" ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
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>.".
|
|
|
|
|
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>Ͽ<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
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
open [KQ_GorDonMaster]
|
|
|
|
|
var MaxHP.
|
|
|
|
|
currenthp MaxHP. ; <EFBFBD>ƽ<EFBFBD> HP <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
var NextSummonHPRate.
|
|
|
|
|
var NextTeleportHPRate.
|
|
|
|
|
|
|
|
|
|
NextSummonHPRate = 910.
|
|
|
|
|
NextTeleportHPRate = 800.
|
|
|
|
|
|
|
|
|
|
var CurHP.
|
|
|
|
|
var CurHPRate.
|
|
|
|
|
open [MainLoop]
|
|
|
|
|
infinite
|
|
|
|
|
open
|
|
|
|
|
currenthp CurHP.
|
|
|
|
|
CurHPRate = (CurHP * 1000) / MaxHP. ; <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>ȯüũ
|
|
|
|
|
if CurHPRate < NextSummonHPRate
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
shout all "" "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŷ<EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̿<EFBFBD>..".
|
|
|
|
|
mobsummon Aggressive "KQ_GorDon" 5 "Breeder" "KQ_GorDonMaster".
|
|
|
|
|
NextSummonHPRate = NextSummonHPRate - 91.
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
; <EFBFBD>ڷ<EFBFBD><EFBFBD><EFBFBD>Ʈ üũ
|
|
|
|
|
if CurHPRate < NextTeleportHPRate
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
shout 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>.".
|
|
|
|
|
skillblast me "GoMasterTeleportStart".
|
|
|
|
|
NextTeleportHPRate = NextTeleportHPRate - 200.
|
|
|
|
|
close
|
|
|
|
|
call "IsTimeUp".
|
|
|
|
|
close
|
|
|
|
|
close
|
|
|
|
|
|
|
|
|
|
if KQResult === "Success" ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
then
|
|
|
|
|
open
|
|
|
|
|
shout All "" "<EFBFBD>ȵ<EFBFBD>!!!!".
|
|
|
|
|
close
|
|
|
|
|
else
|
|
|
|
|
open
|
|
|
|
|
shout 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>...".
|
|
|
|
|
close
|
|
|
|
|
close
|