open [main] WaitPlayer Above 1. ; Ç÷¹À̾ ÇѸí ÀÌ»óÀÌ µÉ¶§±îÁö ´ë±â WaitTime MilliSec 10000. ; 10ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "¿ì¸®¸¦ ±«¹°Ãë±ÞÇϸç ÇлìÇÏ´Â Àΰ£°ú ¿¤ÇÁ ´ÙÅ©¿¤ÇÁµé..". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "¿À´Ã ³ÊÈñµé¿¡°Ô ÀÚ¿¬ÀÇ º¸º¹ÀÌ ¾ó¸¶³ª ¹«¼­¿îÁö¸¦". shout all "ÆÄÀ̾îºñºñ" "¸ðµÎ Á×ÀÌÀÚ!!". shout all "õ³â·Îº¸" "¸ðµÎ Á×...". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "ÆÄÀ̾îºñºñ" "ű!!". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "¾ó¸¶³ª ¹«¼­¿îÁö¸¦ ¶È¶ÈÈ÷ º¸¿©ÁÖ¸®¶ó". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "Àΰ£°ú ¿¤ÇÁ, ´ÙÅ©¿¤ÇÁµé¿¡°Ô Çдë¹Þ¾Æ¿Â ÀÚ¿¬ÀÇ..". shout all "¿ÍÀϵå±úºù" "Àΰ£µé¾Æ, °¢¿ÀÇضó!". shout all "õ³â·Îº¸" "Àΰ£µé¾Æ °¢...". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "³¢¾îµéÁö ¸»¶õ ¸»¾ß!". shout all "¿ÍÀϵå±úºù" "ÄÊ!!". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "»ç¸·´Á´ë" "¼Ò¿ï½ºÅæÀÌ ºû³ª´Â 30ºÐµ¿¾È ¿ì¸®´Â ¹«ÀûÀÌ´Ù. ³ÊÈñµé ´Ù Á×¾ú¾î!". shout all "õ³â·Îº¸" "¾Æ´Ï, ±×·± ºñ¹ÐÀ» ´©¼³ÇÏ´Ù´Ï!". shout all "»ç¸·´Á´ë" "±ú°»!!". WaitTime MilliSec 500. ; 0.5ÃÊ°£ ´ë±â shout all "õ³â·Îº¸" "¿¡ÀÕ, ¾î¿¼ö ¾ø´Ù, 30ºÐ À̳»¿¡ ¸ðµÎ ¾ø¾Ö¶ó!". Terminate TimeOut "-" 30 "Suc". ; 30ºÐÀÌ Áö³ª¸é ½Â¸® Terminate Player "Below" 0 "Fail". ; »ç¶÷ÀÌ ¾øÀ¸¸é Æйè mobregen Aggressive "KDUnHall" "KDUnderArea1" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea2" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea3" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea4" "Breeder" "EventManagerA". WaitTime MilliSec (120 - 60) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea5" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea6" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea7" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea8" "Breeder" "EventManagerA". WaitTime MilliSec (180 - 120) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea9" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea10" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea11" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea12" "Breeder" "EventManagerA". WaitTime MilliSec (240 - 180) * 1000. shout all "õ³â·Îº¸" "Á¦ 2ºÐ´ë Ã⵿!". mobregen Aggressive "KDUnHall" "KDUnderArea13" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea14" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea15" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea16" "Breeder" "EventManagerA". WaitTime MilliSec (360 - 240) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea17" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea18" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea19" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea20" "Breeder" "EventManagerA". WaitTime MilliSec (480 - 360) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea21" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea22" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea23" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea24" "Breeder" "EventManagerA". WaitTime MilliSec (600 - 480) * 1000. shout all "õ³â·Îº¸" "Á¦ 3ºÐ´ë µ¹°ÝÇ϶ó!". mobregen Aggressive "KDUnHall" "KDUnderArea25" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea26" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea27" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea28" "Breeder" "EventManagerA". WaitTime MilliSec (720 - 600) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea29" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea30" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea31" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea32" "Breeder" "EventManagerA". WaitTime MilliSec (840 - 720) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea33" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea34" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea35" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea36" "Breeder" "EventManagerA". WaitTime MilliSec (1040 - 840) * 1000. shout all "õ³â·Îº¸" "ÀûÀº ¾ó¸¶ ¾È³²¾Ò´Ù, Á¦ 4ºÐ´ë Ã⵿!". mobregen Aggressive "KDUnHall" "KDUnderArea37" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea38" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea39" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea40" "Breeder" "EventManagerA". WaitTime MilliSec (1320 - 1040) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea41" "Breeder" "EventManagerA". WaitTime MilliSec (1350 - 1320) * 1000. shout all "õ³â·Îº¸" "ÀûµéÀÇ ÀúÇ×ÀÌ ÀÇ¿Ü·Î ¿Ï°­ÇÏ´Ù. Á¦ 5ºÐ´ë °ø°Ý!". mobregen Aggressive "KDUnHall" "KDUnderArea42" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea43" "Breeder" "EventManagerA". WaitTime MilliSec (1360 - 1350) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea44" "Breeder" "EventManagerA". WaitTime MilliSec (1370 - 1360) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea45" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea46" "Breeder" "EventManagerA". WaitTime MilliSec (1380 - 1370) * 1000. shout all "õ³â·Îº¸" "Á¦ 6ºÐ´ë ÁغñÇ϶ó! µ¹°Ý!". mobregen Aggressive "KDUnHall" "KDUnderArea47" "Breeder" "EventManagerA". WaitTime MilliSec (1390 - 1380) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea48" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea49" "Breeder" "EventManagerA". WaitTime MilliSec (1400 - 1390) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea50" "Breeder" "EventManagerA". mobregen Aggressive "KDUnHall" "KDUnderArea51" "Breeder" "EventManagerA". WaitTime MilliSec (1410 - 1400) * 1000. mobregen Aggressive "KDUnHall" "KDUnderArea52" "Breeder" "EventManagerA". WaitTime MilliSec (1440 - 1410) * 1000. shout all "õ³â·Îº¸" "¿¡ÀÕ, ĥĥġ ¸øÇÑ ³ðµé, ³»°¡ ³ª°¡¾ß°Ú±º". mobregen Aggressive "KDUnHall" "KDUnderArea53" "Breeder" "EventManagerA". WaitMob Above 1. ; ¸÷ÀÌ 1 ÀÌ»óÀÏ µ¿¾È ´ë±â(¸®Á¨µÉ µ¿¾È) Terminate AllMob "Below" 0 "Suc". ; ¸ðµç ¸÷ÀÌ »ç¶óÁ³À¸¸é ½Â¸® WaitTime MilliSec 60 * 60 * 1000. ; Çѽ𣵿¾È ±â´Ù¸² - Terminate Á¶°ÇÀ¸·Î¸¸ ³¡³ªµµ·Ï close ;open [Regen_1440_1800] ;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 = "Success". ; 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". ; »ç¶÷µéÀÌ µé¾î¿Ã ¶§±îÁö ±â´Ù¸² ; ; wait sec 5. ; 5 ; shout all "õ³â·Îº¸" "¸¶³ªÀÇ È帧À» ¸¶À½´ë·Î ¹Ù²Ù¾î ÀÚ¿¬¹ýÄ¢À» Æı«ÇÏ´Â ´ÙÅ©¿¤ÇÁµé". ; ; wait sec 5. ; 10 ; shout all "õ³â·Îº¸" "ÆòÈ­·Ó°Ô »ì°í ÀÖ´Â µ¿½Ä¹°À» ÇлìÇÏ´Â Àΰ£µé". ; ; wait sec 5. ; 15 ; shout all "õ³â·Îº¸" "±×¸®°í ±×·± Àΰ£µé¿¡°Ô ºôºÙ¾î ÀÚ¿¬À» ÀÒ¾î¹ö¸° ¿¤ÇÁµé". ; ; wait sec 5. ; 20 ; shout all "õ³â·Îº¸" "µåµð¾î ¿À´Ã ³ÊÈñµé¿¡°Ô ÀÚ¿¬ÀÇ º¸º¹ÀÌ ¾ó¸¶³ª ¹«¼­¿îÁö¸¦". ; ; wait sec 5. ; 25 ; shout all "ÆÄÀ̾îºñºñ" "¸ðµÎ Á×ÀÌÀÚ!!". ; shout all "õ³â·Îº¸" "¸ðµÎ Á×...". ; ; wait sec 5. ; 30 ; shout all "ÆÄÀ̾îºñºñ" "ű!!". ; ; wait sec 5. ; 35 ; shout all "õ³â·Îº¸" "¾ó¸¶³ª ¹«¼­¿îÁö¸¦ ¶È¶ÈÈ÷ º¸¿©ÁÖ¸®¶ó". ; ; wait sec 5. ; 40 ; shout all "õ³â·Îº¸" "Àΰ£°ú ¿¤ÇÁ, ´ÙÅ©¿¤ÇÁµé¿¡°Ô Çдë¹Þ¾Æ¿Â ÀÚ¿¬ÀÇ..". ; ; wait sec 5. ; 45 ; shout all "¿ÍÀϵå±úºù" "Àΰ£µé¾Æ, °¢¿ÀÇضó!". ; shout all "õ³â·Îº¸" "Àΰ£µé¾Æ...". ; ; wait sec 5. ; 50 ; shout all "õ³â·Îº¸" "³¢¾îµéÁö ¸»¶õ ¸»¾ß!". ; shout all "¿ÍÀϵå±úºù" "ÄÊ!!". ; ; wait sec 5. ; 55 ; shout all "õ³â·Îº¸" "Èì.. ¾î¶µç ÀÚ¿¬ÀÇ ÇÇÁ¶¹°µéÀÌ¿©, Áø°ÝÇ϶ó!". ; ; call "Regen_060_120". ; wait sec 120 - 60. ; ; call "Regen_120_180". ; wait sec 180 - 120. ; ; call "Regen_180_240". ; wait sec 240 - 180. ; ; call "Regen_240_360". ; wait sec 360 - 240. ; ; call "Regen_360_480". ; wait sec 480 - 360. ; ; call "Regen_480_600". ; wait sec 600 - 480. ; ; call "Regen_600_720". ; wait sec 720 - 600. ; ; call "Regen_720_840". ; wait sec 840 - 720. ; ; call "Regen_840_1040". ; wait sec 1040 - 840. ; ; call "Regen_1040_1320". ; wait sec 1320 - 1040. ; ; call "Regen_1320_1350". ; wait sec 1350 - 1320. ; ; call "Regen_1350_1360". ; wait sec 1360 - 1350. ; ; call "Regen_1360_1370". ; wait sec 1370 - 1360. ; ; call "Regen_1370_1380". ; wait sec 1380 - 1370. ; ; call "Regen_1380_1390". ; wait sec 1390 - 1380. ; ; call "Regen_1390_1400". ; wait sec 1400 - 1390. ; ; call "Regen_1400_1410". ; wait sec 1410 - 1400. ; ; call "Regen_1410_1440". ; wait sec 1440 - 1410. ; ; call "Regen_1440_1800". ; ; var KQResult. ; IsTimeUp¿¡¼­ »ç¿ëÇÒ º¯¼ö ; ; open [MainLoop] ; infinite ; open ; call "IsTimeUp". ; close ; close ; ; 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;