open [main] WaitPlayer Above 1. ; Ç÷¹À̾ ÇѸí ÀÌ»óÀÌ µÉ¶§±îÁö ´ë±â WaitTime MilliSec 10000. ; 10ÃÊ°£ ´ë±â var NPC a. ; NPC¿Í a¶ó´Â º¯¼ö¸¦ ¸¸µê(a´Â ·Îµù Å×½ºÆ®¿ë, »ç¿ë¾ÈÇÔ) Regen NPC "EldSpeGuard01" 2099 10440 180. npcchat NPC "¿©±â¼­ ¹¹ÇÏ´Â °Ì´Ï±î, À§±â»óȲÀ̶õ°Í ¸ð¸£½Ê´Ï±î?". WaitTime MilliSec 3000. ; 3ÃÊ°£ ´ë±â npcchat NPC "Å·½½¶óÀÓ ÈÖÇÏÀÇ ½½¶óÀÓµéÀÌ Ãĵé¾î¿Ô´Ü ¸»ÀÔ´Ï´Ù.". WaitTime MilliSec 3000. ; 3ÃÊ°£ ´ë±â npcchat NPC "50ºÐ ¾È¿¡ ½½¶óÀÓµéÀ» ¸ðµÎ ÀâÁö ¾ÊÀ¸¸é Å«Àϳ³´Ï´Ù.". WaitTime MilliSec 3000. ; 3ÃÊ°£ ´ë±â npcchat NPC "Àú´Â ¿ø±ºÀ» ¿äûÇÏ·¯ °¥Å×´Ï". WaitTime MilliSec 3000. ; 3ÃÊ°£ ´ë±â npcchat NPC "¿©·¯ºÐµéÀº ¹æÇØÇÏÁö ¸»°í »¡¸® ÇÇÇϽʽÿÀ.". WaitTime MilliSec 3000. ; 3ÃÊ°£ ´ë±â Vanish NPC. Terminate TimeOut "-" 50 "Fail". ; 50ºÐÀÌ Áö³ª¸é Æйè Terminate Player "Below" 0 "Fail". ; »ç¶÷ÀÌ ¾øÀ¸¸é Æйè ; 1Ãþ ¸®Á¨ mobregen Aggressive "KDEddyHill" "KDEddyHillArea05" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea07" "Breeder" "EventManagerA". ;mobregen Aggressive "KDEddyHill" "KDEddyHillArea55" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea06" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea11" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea14" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea13" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea12" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea16" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea09" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea10" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea08" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea24" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea15" "Breeder" "EventManagerA". WaitMob Above 1. ; ¸÷ÀÌ 1 ÀÌ»óÀÏ µ¿¾È ´ë±â(¸®Á¨µÉ µ¿¾È) WaitMob Below 0. ; ¸÷ÀÌ 0ÀÌ µÉµ¿¾È ´ë±â ; 2Ãþ ¸®Á¨ mobregen Aggressive "KDEddyHill" "KDEddyHillArea17" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea49" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea50" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea48" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea28" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea53" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea18" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea19" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea51" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea52" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea20" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea21" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea56" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea57" "Breeder" "EventManagerA". WaitMob Above 1. ; ¸÷ÀÌ 1 ÀÌ»óÀÏ µ¿¾È ´ë±â(¸®Á¨µÉ µ¿¾È) WaitMob Below 0. ; ¸÷ÀÌ 0ÀÌ µÉµ¿¾È ´ë±â ; 3Ãþ ¸®Á¨ mobregen Aggressive "KDEddyHill" "KDEddyHillArea26" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea22" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea27" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea25" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea23" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea30" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea29" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea03" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea04" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea45" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea46" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea47" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea44" "Breeder" "EventManagerA". WaitMob Above 1. ; ¸÷ÀÌ 1 ÀÌ»óÀÏ µ¿¾È ´ë±â(¸®Á¨µÉ µ¿¾È) WaitMob Below 0. ; ¸÷ÀÌ 0ÀÌ µÉµ¿¾È ´ë±â ; 4Ãþ ¸®Á¨ mobregen Aggressive "KDEddyHill" "KDEddyHillArea41" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea40" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea39" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea42" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea43" "Breeder" "EventManagerA". mobregen Aggressive "KDEddyHill" "KDEddyHillArea54" "Breeder" "EventManagerA". WaitMob Above 1. ; ¸÷ÀÌ 1 ÀÌ»óÀÏ µ¿¾È ´ë±â(¸®Á¨µÉ µ¿¾È) WaitMob Below 0. ; ¸÷ÀÌ 0ÀÌ µÉµ¿¾È ´ë±â ; Å·½½¶óÀÓ ¸®Á¨ var KingSlime. Regen KingSlime "KQ_KingSlime" 7081 5972 90. npcshout KingSlime "¼º½º·¯¿î ½½¶óÀÓµéÀ» ¸ð¿åÇÏ´Â ´õ·¯¿î »ý¸íüµéÀÌ¿©". WaitTime MilliSec 2000. ; 2ÃÊ°£ ´ë±â npcshout KingSlime "³ÊÈñµé¿¡°Ô ¿µ¿øÇÑ ÀúÁÖ¸¦ ³»¸®³ë¶ó!!!". WaitTime MilliSec 2000. ; 2ÃÊ°£ ´ë±â Terminate AllMob "Below" 0 "Suc". ; ¸ðµç ¸÷ÀÌ »ç¶óÁ³À¸¸é ½Â¸® WaitHP KingSlime 800. ; Å·½½¶óÀÓÀÇ HP°¡ 80% µÉ¶§±îÁö ´ë±â npcshout KingSlime "½½¶óÀÓµéÀÌ¿©, ³» ÈûÀ» ¹Þ¾Æ ÀúµéÀ» ¸êÇÏ¿©¶ó!!". mobregen Aggressive "KDEddyHill" "KDEddyHillArea02" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea31" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea32" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea33" "Breeder" "KingSlime". WaitHP KingSlime 600. ; Å·½½¶óÀÓÀÇ HP°¡ 60% µÉ¶§±îÁö ´ë±â npcshout KingSlime "½½¶óÀÓµéÀÌ¿©, ³» ÈûÀ» ¹Þ¾Æ ÀúµéÀ» ¸êÇÏ¿©¶ó!!". mobregen Aggressive "KDEddyHill" "KDEddyHillArea02" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea31" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea32" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea33" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea34" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea35" "Breeder" "KingSlime". WaitHP KingSlime 400. ; Å·½½¶óÀÓÀÇ HP°¡ 40% µÉ¶§±îÁö ´ë±â npcshout KingSlime "½½¶óÀÓµéÀÌ¿©, ³» ÈûÀ» ¹Þ¾Æ ÀúµéÀ» ¸êÇÏ¿©¶ó!!". mobregen Aggressive "KDEddyHill" "KDEddyHillArea02" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea31" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea32" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea33" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea34" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea35" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea38" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea36" "Breeder" "KingSlime". WaitHP KingSlime 200. ; Å·½½¶óÀÓÀÇ HP°¡ 20% µÉ¶§±îÁö ´ë±â npcshout KingSlime "½½¶óÀÓµéÀÌ¿©, ³» ÈûÀ» ¹Þ¾Æ ÀúµéÀ» ¸êÇÏ¿©¶ó!!". mobregen Aggressive "KDEddyHill" "KDEddyHillArea02" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea31" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea32" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea33" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea34" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea35" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea38" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea36" "Breeder" "KingSlime". mobregen Aggressive "KDEddyHill" "KDEddyHillArea37" "Breeder" "KingSlime". WaitTime MilliSec 60 * 60 * 1000. ; Çѽ𣵿¾È ±â´Ù¸² - Terminate Á¶°ÇÀ¸·Î¸¸ ³¡³ªµµ·Ï close ;open [Regen1stLayer] ; ; call "WaitMobRegen". ; call "WaitMobAnnihilation". ;close ; ;open [Regen2ndLayer] ; ; call "WaitMobRegen". ; call "WaitMobAnnihilation". ;close ; ;open [Regen3rdLayer] ; ; call "WaitMobRegen". ; call "WaitMobAnnihilation". ;close ; ;open [RegenTopLayer] ; ; call "WaitMobRegen". ; call "WaitMobAnnihilation". ;close ; ;open [KingSlimeSummon] ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea02" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea31" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea32" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea33" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea34" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea35" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea38" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea36" "Breeder" "KingSlime". ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea37" "Breeder" "KingSlime". ; ; call "WaitMobRegen". ;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 [WaitMobRegen] ; var Mob. ; Mob = 0. ; while Mob == 0 ; open ; howmanymob Mob "All". ; ¸ðµç ¸÷¼ö È®ÀÎ ; close ;close ; ;open [WaitMobAnnihilation] ; var Mob. ; Mob = 10. ; while Mob > 0 ; open ; howmanymob Mob "All". ; ¸ðµç ¸÷¼ö È®ÀÎ ; call "IsTimeUp". ; close ;close ; ;open [WaitKingSlimeKill] ; var Mob. ; Mob = 10. ; while Mob > 0 ; open ; howmanymob Mob "KQ_KingSlime". ; Å·½½¶óÀÓ °¹¼ö È®ÀÎ ; call "IsTimeUp". ; 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 [main] ; var MyName. ; var MyHandle. ; myname MyName. ; ³» À̸§À» ¾ò´Â´Ù(¸÷À妽º) ; myhandle MyHandle. ; ; call MyName "DefRoutine". ; À妽º¿Í µ¿ÀÏÇÑ ·çƾ È£Ãâ ;close ; ;open [DefRoutine] ;close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;open [EventManagerA] ; ; print "EventManagerA : Entry". ; ; call "WaitPlayerEntry". ; »ç¶÷µéÀÌ µé¾î¿Ã ¶§±îÁö ±â´Ù¸² ; ; var KQResult. ; IsTimeUp¿¡¼­ »ç¿ëÇÒ º¯¼ö ; ; open [MainLoop] ; call "Regen1stLayer". ; call "Regen2ndLayer". ; call "Regen3rdLayer". ; call "RegenTopLayer". ; ; mobregen Aggressive "KDEddyHill" "KDEddyHillArea01" "Breeder" "KingSlime". ; Å·½½¶óÀÓ ¸®Á¨ ; ; call "WaitMobRegen". ; call "WaitKingSlimeKill". ; ; 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_KingSlime] ; var SummonHPRate. ; var MaxHP. ; currenthp MaxHP. ; SummonHPRate = 1000. ; ; shout all "" "¼º½º·¯¿î ½½¶óÀÓµéÀ» ¸ð¿åÇÏ´Â ´õ·¯¿î »ý¸íüµéÀÌ¿©". ; wait sec 2. ; shout all "" "³ÊÈñµé¿¡°Ô ¿µ¿øÇÑ ÀúÁÖ¸¦ ³»¸®³ë¶ó!!!". ; ; while SummonHPRate > 0 ; open ; var CurHP. ; var CurHPRate. ; ; currenthp CurHP. ; CurHPRate = (CurHP * 1000) / MaxHP. ; ÁÖÀÇ : ÀÌ·± ¼ö½ÄÀº µÚ¿¡¼­ºÎÅÍ ½ÇÇàµÊ!!!! ; ; print "MaxHP[" % MaxHP % "] CurHP[" % CurHP % "] CurHPRate[" % CurHPRate % "] SummonHPRate[" % SummonHPRate % "]". ; ; if CurHPRate < SummonHPRate ; then ; open ; shout all "" "½½¶óÀÓµéÀÌ¿©, ³» ÈûÀ» ¹Þ¾Æ ÀúµéÀ» ¸êÇÏ¿©¶ó!!". ; call "KingSlimeSummon". ; SummonHPRate = SummonHPRate - 200. ; close ; close ; ; ; Å·½½¶óÀÓÀÌ Á×¾úÀ½ ; var Mobs. ; howmanymob Mobs "all". ; if Mobs < 15 ; then ; open ; shout all "" "¾Æ¾Æ, Á¤³ç ½½¶óÀÓÀÇ ½Ã´ë´Â °¬´Ü ¸»Àΰ¡...". ; close ; else ; open ; shout all "" "³²¾ÆÀÖ´Â ½½¶óÀÓµéÀÌ¿©, ¸í¿¹¸¦ À§ÇØ ÃÖ¼±À» ´ÙÇ϶ó". ; close ;close ;;;;;;;;;;;;;;;;;;;