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. ; ³²Àº ½Ã°£À» ºÐ´ÜÀ§·Î ¾ò¾î¿È 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 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. ; ÇöÀç ÁÖÀθ÷ÀÌ ÀÖ´Â ¸Ê ¸®ÅÏ ; Ç÷¹À̾ µé¾î¿À±â¸¦ ±â´Ù¸² call "WaitPlayerEntry". ; ¸ðµç ¸÷ ¸®Á¨ call "RegenZaco". open [MainLoop] infinite open call "IsTimeUp". close 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_GorDonMaster] var MaxHP. currenthp MaxHP. ; ¸Æ½º HP ÃøÁ¤ var NextSummonHPRate. var NextTeleportHPRate. NextSummonHPRate = 910. NextTeleportHPRate = 800. var CurHP. var CurHPRate. open [MainLoop] infinite open currenthp CurHP. CurHPRate = (CurHP * 1000) / MaxHP. ; ÁÖÀÇ : ÀÌ·± ¼ö½ÄÀº µÚ¿¡¼­ºÎÅÍ ½ÇÇàµÊ!!!! ; ¼Òȯüũ if CurHPRate < NextSummonHPRate then open shout all "" "±ú¾î³ª°Å¶ó, ¾îµÒÀÇ Á¸ÀçµéÀÌ¿©..". mobsummon Aggressive "KQ_GorDon" 5 "Breeder" "KQ_GorDonMaster". NextSummonHPRate = NextSummonHPRate - 91. close ; ÅÚ·¹Æ÷Æ® üũ if CurHPRate < NextTeleportHPRate then open shout all "" "¾î¸®¼®Àº °Íµé °°À¸´Ï, ´É·ÂÀÌ µÇ¸é ³¯ ã¾ÆºÁ¶ó.". skillblast me "GoMasterTeleportStart". NextTeleportHPRate = NextTeleportHPRate - 200. close call "IsTimeUp". close close if KQResult === "Success" ; ¼º°ø then open shout All "" "¾ÈµÅ!!!!". close else open shout All "" "ÈÄÈÄÈÄ, ¿À·£¸¸¿¡ ÁúÁÁÀº ¿µÈ¥µéÀ» ÀÜ¶à ¸ð¾Ò±º...". close close