open [RegenZacco] mobregen Aggressive "KDPrtShip" "KDPrtShipArea01" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea02" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea03" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea04" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea05" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea06" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea07" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea08" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea09" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea10" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea12" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea13" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea14" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea15" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea16" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea17" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea18" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea19" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea21" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea22" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea23" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea24" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea25" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea26" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea27" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea28" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea29" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea30" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea31" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea32" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea33" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea34" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea35" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea36" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea37" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea38" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea39" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea43" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea44" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea46" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea49" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea50" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea51" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea52" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea53" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea54" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea55" "Breeder" "EventManagerA". close open [FirstBoss] mobregen Aggressive "KDPrtShip" "KDPrtShipArea47" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea47" "Breeder" "EventManager". var MobNum. MobNum = 0. while MobNum == 0 open howmanymob MobNum "KQ_Mara". call "IsTimeUp". close MobNum = 2. while MobNum > 0 open howmanymob MobNum "KQ_Mara". call "IsTimeUp". close close open [SecondBoss] mobregen Aggressive "KDPrtShip" "KDPrtShipArea48" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea48" "Breeder" "EventManager". var MobNum. MobNum = 0. while MobNum == 0 open howmanymob MobNum "KQ_Marlone". call "IsTimeUp". close MobNum = 2. while MobNum > 0 open howmanymob MobNum "KQ_Marlone". call "IsTimeUp". close close open [LastBoss] mobregen Aggressive "KDPrtShip" "KDPrtShipArea40" "Breeder" "EventManagerA". mobregen Aggressive "KDPrtShip" "KDPrtShipArea45" "Breeder" "EventManagerA". var MobNum. MobNum = 0. while MobNum == 0 open var Mara. var Marlone. howmanymob Mara "KQ_TrueMara". howmanymob Marlone "KQ_TrueMarlone". MobNum = Mara + Marlone. call "IsTimeUp". close MobNum = 2. while MobNum > 0 open var Mara. var Marlone. howmanymob Mara "KQ_TrueMara". howmanymob Marlone "KQ_TrueMarlone". MobNum = Mara + Marlone. call "IsTimeUp". close 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. ; ³²Àº ½Ã°£À» ºÐ´ÜÀ§·Î ¾ò¾î¿È var Ply. Ply = 0. while Ply == 0 open howmanymob Ply "Player". ; µé¾î¿Â Ç÷¹À̾îµé È®ÀÎ kqrestminute CurRest. ; ³²Àº ½Ã°£À» ºÐ´ÜÀ§·Î ¾ò¾î¿È if InitRest - CurRest > 5 ; 5ºÐ°£ ´ë±â then open print "Room vanish". endofevent KingdomQuest 0. ; Å·´ýÄù½ºÆ® ½ÇÆзΠ¸¶¹«¸® break "main". close close close open [IsTimeUp] ; ½Ã°£Á¦ÇÑÀÌ ´Ù µÇ¾ú´ÂÁö È®ÀÎ print "IsTimeUp". var TimeUp. kqrestminute TimeUp. ; ³²Àº ½Ã°£À» ºÐ´ÜÀ§·Î ¾ò¾î¿È print "EventManagerAIsTimeUp : " % TimeUp % "Minute left". if TimeUp == 0 ; ½Ã°£¿À¹ö then open print "IsTimeUp : Exit 0". KQResult = "Fail". break "MainLoop". close var Ply. howmanymob Ply "Player". ; ³²¾ÆÀÖ´Â Ç÷¹À̾îµé È®ÀÎ print "EventManagerAIsTimeUp : " % Ply % "Player left". if Ply == 0 then open print "IsTimeUp : Exit 1". KQResult = "Fail". break "MainLoop". close close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [EventManagerA] print "EventManagerA : Entry". call "WaitPlayerEntry". ; »ç¶÷µéÀÌ µé¾î¿Ã ¶§±îÁö ±â´Ù¸² var KQResult. ; IsTimeUp¿¡¼­ »ç¿ëÇÒ º¯¼ö open [MainLoop] call "RegenZacco". call "FirstBoss". call "SecondBoss". call "LastBoss". KQResult = "Success". ; º¸½º°¡ ¸ðµÎ Àü¸êÇßÀ¸´Ï ¼º°ø close wait sec 3. if KQResult === "Success" ; ¼º°ø then open reward KingdomQuest. ; ¸®¿öµå¸¦ ÁÜ broadcast all "¸¶¶óÀÇ ÇØÀû ¼ÒÅÁ¿¡ ¼º°øÇÏ¿´½À´Ï´Ù.". endofevent KingdomQuest 1. ; Å·´ýÄù½ºÆ® ¼º°øÀ¸·Î ¸¶¹«¸® close else open broadcast all "¸¶¶óÀÇ ÇØÀû ¼ÒÅÁ¿¡ ½ÇÆÐÇÏ¿´½À´Ï´Ù.". endofevent KingdomQuest 0. ; Å·´ýÄù½ºÆ® ½ÇÆзΠ¸¶¹«¸® close broadcast all "30ÃÊÈÄ ·ç¸àÀ¸·Î À̵¿ÇÕ´Ï´Ù.". wait sec 10. broadcast all "20ÃÊÈÄ ·ç¸àÀ¸·Î À̵¿ÇÕ´Ï´Ù.". wait sec 10. broadcast all "10ÃÊÈÄ ·ç¸àÀ¸·Î À̵¿ÇÕ´Ï´Ù.". wait sec 5. broadcast all "5ÃÊÈÄ ·ç¸àÀ¸·Î À̵¿ÇÕ´Ï´Ù.". wait sec 5. linkto all "Rou" "Rou" 7907 8572. mapclear all. close open [KQ_Mara] if Breeder === "EventManagerA" ; À̺¥Æ®¸Å´ÏÀú¿¡ ÀÇÇØ ¸¸µé¾îÁø ¸¶¶óÀÏ °æ¿ì then open var Target. Target = "". while Target === "" open whoistarget Target. ; Ÿ°ÙÀÌ ¼³Á¤µÇ¾úÀ» °æ¿ì Ÿ°ÙÀÇ ÇÚµé ÀúÀå close ; Ÿ°Ù¹ß°ß shout all "" "±× ´©±¸µµ ÀÌ°÷À» Áö³ª°¥ ¼ö ¾ø´Ù!!!". close var CurHP. CurHP = 100. while CurHP > 0 ; Á×À» ¶§±îÁö ±â´Ù¸² open currenthp CurHP. close shout all "" "À¸À¹, ºÎ.. ºÐÇÏ´Ù!". close open [KQ_Marlone] if Breeder === "EventManagerA" ; À̺¥Æ®¸Å´ÏÀú¿¡ ÀÇÇØ ¸¸µé¾îÁø ¸¶¶óÀÏ °æ¿ì then open wait sec 2. shout all "" "¸¶¶ó ¹æ¾î¼±ÀÌ ¹«³ÊÁ³´Ù. ¸ðµÎ ÀûµéÀ» ¸ÂÀ» Áغñ¸¦ Ç϶ó". close var CurHP. CurHP = 100. while CurHP > 0 ; Á×À» ¶§±îÁö ±â´Ù¸² open currenthp CurHP. close shout all "" "À¸¾Ç, ÀûµéÀÌ ³Ê¹« ¸¹½À´Ï´Ù!". close open [KQ_TrueMara] shout all "" "¹«´ÉÇÑ °Íµé °°À¸´Ï¶ó±¸.". wait sec 4. shout all "" "Èï, È¥ÀÚ¸¸ Àç¹Ìº¸°Ô ÇÒ ¼ö´Â ¾øÁö.". mobregen Aggressive "KDPrtShip" "KDPrtShipArea41" "Breeder" "KQ_TrueMara". mobregen Aggressive "KDPrtShip" "KDPrtShipArea41" "Breeder" "KQ_TrueMara". infinite open var MobNum. howmanymob MobNum "KQ_Mara". wait sec 60. mobregen Aggressive "KDPrtShip" "KDPrtShipArea41" "Breeder" "EventManagerA". close close open [KQ_TrueMarlone] wait sec 2. shout all "" "°ÆÁ¤¸¶¶ó, ¸¶¶ó, ÀÌ ¸»·ÐÀÌ ¸ðµÎ ¾ø¾ÖÁÖ¸¶.". mobregen Aggressive "KDPrtShip" "KDPrtShipArea42" "Breeder" "KQ_TrueMarlone". mobregen Aggressive "KDPrtShip" "KDPrtShipArea42" "Breeder" "KQ_TrueMarlone". infinite open var MobNum. howmanymob MobNum "KQ_Marlone". wait sec 60. mobregen Aggressive "KDPrtShip" "KDPrtShipArea42" "Breeder" "EventManagerA". close close