; °íµç¸¶½ºÅÍ open [main] var DoorHero "" ; ¿µ¿õÀÌ ÀÖ´Â ¹æÀ» ¸·´Â ¹® DoorMidBoss "" ; Áß°£º¸½º·Î °¡´Â ¹® GlassDoor2Boss "" ; º¸½º·Î °¡´Â ¹®. º¸ÀÌ´Â ¹®Àº µû·Î ÀÖÀ¸¹Ç·Î ÀÌ°ÍÀº º¸ÀÌÁö ¾Ê°í ºí·°Á¤º¸¸¸ ÀÖ´Â ¹® Opener "" Slot "" GordonMaster 0 ; °íµç¸¶½ºÅÍÀÇ ÇÚµé KeyDropRate 0 ; ¿­¼è¶³¾î¶ß¸®±â¸¦ °ü¸®ÇÒ º¯¼ö KeyDropIndex "" ; ¶³¾î¶ß¸± ¿­¼è À妽º InterruptBlock "" InterruptArg "". doorbuild DoorHero "KQ_Gate4" 989 4298 0 1000 "Normal". ; ½ÃÀÛÁ¡°ú ¿µ¿õ »çÀÌ doorbuild DoorMidBoss "KQ_Gate4" 2815 4327 0 1000 "Normal". ; ½ÃÀÛÁ¡°ú Áß°£º¸½º »çÀÌ doorbuild GlassDoor2Boss "KQ_Gate4" 2834 10023 0 1000 "Normal". ; ½ÃÀÛÁ¡°ú º¸½º »çÀÌ - ½½¶óÀÓó·³ ºí·°Á¤º¸¸¸ ÀÖ´Â ¹® ; sublayershift Logout GlassDoor2Boss 2. ; ÀÌ ¹®À» Àº´ÐÃþÀ¸·Î À̵¿½ÃÄÑ º¸ÀÌÁö ¾Ê°Ô ÇÔ doorclose DoorHero "GorDonDoor_01". doorclose DoorMidBoss "GorDonDoor_02". doorclose GlassDoor2Boss "GorDonDoor_03". scriptfile "KQGordonMaster". var PlayerNumber "". ; ¸Ê¿¡ µé¾î¿Â Ç÷¹ÀÌ¾î ¼ö¸¦ ¾ò±â À§ÇØ waitlogin PlayerNumber. if PlayerNumber == 0 ; ÀÏÁ¤½Ã°£ Áö³ªµµ·Ï ·Î±ä ¾ÈÇÔ then open call "QuestFail". close pause Sec 5. chatwin "RouTownChiefRoumenus" "Rumenus0". pause Sec 4. chatwin "RouTownChiefRoumenus" "Rumenus1". pause Sec 4. chatwin "RouTownChiefRoumenus" "Rumenus2". pause Sec 4. chatwin "RouTownChiefRoumenus" "Rumenus3". timelimit Min 50. ; °¡Àå óÀ½ ¹®À» Ŭ¸¯ÇÒ ¶§±îÁö ±â´Ù¸² call "HeroDoorClick". ; È÷¾î·ÎÀÇ ¹æ call "HeroRoom". ; µÎ¹ø° ¹® ¿­±â(È÷¾î·Î¸¦ Ŭ¸¯ÇÏÁö ¾Ê¾ÒÀ¸¸é ¹® ¾È¿­¸®°Ô Çϱâ À§ÇØ) call "Open2ndDoor". ; Áß°£º¸½º ¸¸³² call "MidBoss". ; ÃÖÁ¾º¸½º ¸¸³² call "LastBoss". close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [KeyDrop] if KeyDropRate > @Random(0 99) then open itemdrop InterruptArg KeyDropIndex 1000000. ; ¿­¼èµå·Ó(100% È®·ü) broadcast all "ItemDrop". ; ¿­¼è°¡ ¶³¾îÁ³À½À» ¸ðµÎ¿¡°Ô ¾Ë·ÁÁÜ interrupterase "KeyDrop". ; ¸ðµç KeyDrop ÀÎÅÍ·´Æ®¸¦ ¾ø¾Ú close else open KeyDropRate = KeyDropRate + 5. close close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [HeroDoorClick] ; MobRegen regengroup "KDEnMaze" "KD_EnMaze01_01". ; KQ_G_Stonie ¹Ø¿¡ KeyDrop interrupt¿Í ¿¬µ¿µÇ¾î¾ß ÇÔ regengroup "KDEnMaze" "KD_EnMaze01_02". ; KQ_G_SparkDog regengroup "KDEnMaze" "KD_EnMaze01_03". ; KQ_G_JewelKeeper regengroup "KDEnMaze" "KD_EnMaze01_04". ; KQ_G_SparkDog regengroup "KDEnMaze" "KD_EnMaze01_05". ; KQ_G_Stonie regengroup "KDEnMaze" "KD_EnMaze01_06". ; KQ_G_SparkDog regengroup "KDEnMaze" "KD_EnMaze01_07". ; KQ_G_JewelKeeper regengroup "KDEnMaze" "KD_EnMaze01_08". ; KQ_G_Pixy regengroup "KDEnMaze" "KD_EnMaze01_09". ; KQ_G_JewelKeeper regengroup "KDEnMaze" "KD_EnMaze01_10". ; KQ_G_OrcCaptain regengroup "KDEnMaze" "KD_EnMaze01_11". ; KQ_G_Pixy regengroup "KDEnMaze" "KD_EnMaze01_12". ; KQ_G_Nox interruptclear. interruptset PlayerEliminate "" 1 "QuestFail". ; Ç÷¹À̾ Àü¸êÇßÀ»¶§ interruptset TimeOut "" 1 "QuestFail". ; ½Ã°£ÀÌ ´Ù Áö³µÀ» °æ¿ì interruptset NPCClickHandle "DoorClick" 9999 DoorHero "HDC_DoorHeroClick". ; È÷¾î·ÎÂÊ ¹® Ŭ¸¯ interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Stonie" "KeyDrop". ; ¸÷ÀÌ Á×¾úÀ» °æ¿ì Å° ¶³¾î¶ß¸®´ÂÁö üũ interruptset DeadIndex "KeyDrop" 9999 "KQ_G_SparkDog" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_JewelKeeper" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Pixy" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_OrcCaptain" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Nox" "KeyDrop". ; ¸÷ÀÌ ´õ ÀÖÀ¸¸é Ãß°¡ KeyDropRate = 0. ; ¿­¼è¶³¾î¶ß¸®±â¸¦ °ü¸®ÇÒ º¯¼ö ÃʱâÈ­ KeyDropIndex = "KQ_Key05". ; ¶³¾î¶ß¸± ¿­¼è À妽º infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [HDC_DoorHeroClick] whoclickme Opener InterruptArg. ; InterruptArg¸¦ Ŭ¸¯ÇÑ »ç¶÷À» ãÀ½(InterruptArg¿¡´Â ¹®ÀÇ ÇÚµé) invensearch Slot Opener KeyDropIndex. ; OpenerÀÇ Àκ¥Å丮¿¡¼­ Å°¸¦ ãÀ½ if Slot =!= "" ; ã¾ÒÀ½ then open dooropen DoorHero "GorDonDoor_01". ; ¹® ¿® itemerase all KeyDropIndex. ; ¿­¼è ¾ø¾Ú interrupterase "DoorClick". ; ¸ðµç DoorClick ÀÎÅÍ·´Æ®¸¦ ¾ø¾Ú break "HeroDoorClick". close close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [HeroRoom] var HeroHandle "". ; È÷¾î·Î ¸®Á¨ ; npcstand HeroHandle "EldSpeGuard01" 999 5797 0 1000 "Normal". npcstand HeroHandle "KQ_G_Hero01" 999 5797 0 1000 "Normal". mobattr NoAggro HeroHandle 0. ; HeroHandle ¸÷ÁÖÀÇ ²øÁö ¾Êµµ·Ï ; °íµç¸¶½ºÅÍ ¸®Á¨ mobregen GordonMaster "KQ_G_Boss" 2807 11890 180 1000 "Normal". abstateset GordonMaster "StaMobInvisible" 1 4200000000. ; °íµç¸¶½ºÅÍ Àº´Ð mobattr Recover GordonMaster 0. ; GordonMasterÀ» ÀÚüġ·á¸øÇϵµ·Ï interruptclear. interruptset PlayerEliminate "" 1 "QuestFail". ; Ç÷¹À̾ Àü¸êÇßÀ»¶§ interruptset TimeOut "" 1 "QuestFail". ; ½Ã°£ÀÌ ´Ù Áö³µÀ» °æ¿ì interruptset NPCClickHandle "HeroClick" 9999 HeroHandle "HR_HeroClick". ; È÷¾î·Î Ŭ¸¯ infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [HR_HeroClick] npcchat InterruptArg "Hero00". pause Sec 2. npcchat InterruptArg "Hero01". pause Sec 2. npcchat InterruptArg "Hero02". pause Sec 2. npcchat InterruptArg "Hero03". pause Sec 2. itemdrop InterruptArg "KQ_FireSword" 1000000. npcchat InterruptArg "Hero04". pause Sec 3. npcchat InterruptArg "Hero05". pause Sec 3. npcchat InterruptArg "Hero06". pause Sec 3. npcchat InterruptArg "Hero07". pause Sec 3. npcchat InterruptArg "Hero08". pause Sec 3. itemdrop InterruptArg "KQ_TruthRubi" 1000000. npcchat InterruptArg "Hero09". pause Sec 3. npcchat InterruptArg "Hero10". pause Sec 3. npcchat InterruptArg "Hero11". pause Sec 3. npcchat InterruptArg "Hero12". pause Sec 3. itemdrop InterruptArg "KQ_SoulCrystal" 1000000. npcchat InterruptArg "Hero13". pause Sec 3. npcchat InterruptArg "Hero14". pause Sec 3. npcchat InterruptArg "Hero15". pause Sec 3. npcchat InterruptArg "Hero16". pause Sec 3. npcchat InterruptArg "Hero17". pause Sec 3. npcchat InterruptArg "Hero18". pause Sec 3. npcchat InterruptArg "Hero19". suicide #("InterruptArg"). ; È÷¾î·Î Á×À½ interrupterase "HeroClick". ; ´õÀÌ»ó È÷¾î·ÎŬ¸¯ ÀÎÅÍ·´Æ® ¾øÀ½ pause Sec 3. ; MobRegen regengroup "KDEnMaze" "KD_EnMaze02_01". ; KQ_G_JewelKeeper ¹Ø¿¡ KeyDrop interrupt¿Í ¿¬µ¿µÇ¾î¾ß ÇÔ regengroup "KDEnMaze" "KD_EnMaze02_02". ; KQ_G_Pixy regengroup "KDEnMaze" "KD_EnMaze02_03". ; KQ_G_OrcCaptain regengroup "KDEnMaze" "KD_EnMaze02_04". ; KQ_G_NaiadDemon regengroup "KDEnMaze" "KD_EnMaze02_05". ; KQ_G_Pixy regengroup "KDEnMaze" "KD_EnMaze02_06". ; KQ_G_OrcCaptain regengroup "KDEnMaze" "KD_EnMaze02_07". ; KQ_G_Nox regengroup "KDEnMaze" "KD_EnMaze02_08". ; KQ_G_Shylph break "HeroRoom". close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [Open2ndDoor] interruptclear. interruptset PlayerEliminate "" 1 "QuestFail". ; Ç÷¹À̾ Àü¸êÇßÀ»¶§ interruptset TimeOut "" 1 "QuestFail". ; ½Ã°£ÀÌ ´Ù Áö³µÀ» °æ¿ì interruptset NPCClickHandle "DoorClick" 9999 DoorMidBoss "O2D_DoorMidClick". ; Áß°£º¸½ºÂÊ ¹® Ŭ¸¯ interruptset DeadIndex "KeyDrop" 9999 "KQ_G_JewelKeeper" "KeyDrop". ; ¸÷ÀÌ Á×¾úÀ» °æ¿ì Å° ¶³¾î¶ß¸®´ÂÁö üũ interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Pixy" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_OrcCaptain" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_NaiadDemon" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Nox" "KeyDrop". interruptset DeadIndex "KeyDrop" 9999 "KQ_G_Shylph" "KeyDrop". KeyDropRate = 0. ; ¿­¼è¶³¾î¶ß¸®±â¸¦ °ü¸®ÇÒ º¯¼ö ÃʱâÈ­ KeyDropIndex = "KQ_Key06". ; ¶³¾î¶ß¸± ¿­¼è À妽º infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [O2D_DoorMidClick] whoclickme Opener InterruptArg. ; InterruptArg¸¦ Ŭ¸¯ÇÑ »ç¶÷À» ãÀ½(InterruptArg¿¡´Â ¹®ÀÇ ÇÚµé) invensearch Slot Opener KeyDropIndex. ; OpenerÀÇ Àκ¥Å丮¿¡¼­ KeyDropIndex¸¦ ãÀ½ if Slot =!= "" ; ã¾ÒÀ½ then open dooropen DoorMidBoss "GorDonDoor_02". ; ¹® ¿® itemerase all KeyDropIndex. ; ¿­¼è ¾ø¾Ú interrupterase "DoorClick". ; ¸ðµç DoorClick ÀÎÅÍ·´Æ®¸¦ ¾ø¾Ú break "Open2ndDoor". close close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [MidBoss] var MidBossHandle 0 Door2Boss 0. ; º¸½º¿¡°Ô·Î °¡´Â ¹®(½ÇÁ¦ ¹®Àº GlassDoor2BossÀ̸ç, Door2Boss´Â ¹®ÀÌ ºÎ¼­Áö´Â È¿°ú¸¦ À§ÇÑ ¸÷) ; MobRegen regengroup "KDEnMaze" "KD_EnMaze03_01". regengroup "KDEnMaze" "KD_EnMaze03_02". regengroup "KDEnMaze" "KD_EnMaze03_03". regengroup "KDEnMaze" "KD_EnMaze03_04". regengroup "KDEnMaze" "KD_EnMaze03_05". regengroup "KDEnMaze" "KD_EnMaze03_06". regengroup "KDEnMaze" "KD_EnMaze03_07". regengroup "KDEnMaze" "KD_EnMaze03_08". regengroup "KDEnMaze" "KD_EnMaze03_09". regengroup "KDEnMaze" "KD_EnMaze03_10". regengroup "KDEnMaze" "KD_EnMaze03_11". regengroup "KDEnMaze" "KD_EnMaze03_12". regengroup "KDEnMaze" "KD_EnMaze03_13". regengroup "KDEnMaze" "KD_EnMaze03_14". regengroup "KDEnMaze" "KD_EnMaze03_15". regengroup "KDEnMaze" "KD_EnMaze03_16". regengroup "KDEnMaze" "KD_EnMaze03_17". regengroup "KDEnMaze" "KD_EnMaze03_18". regengroup "KDEnMaze" "KD_EnMaze03_19". regengroup "KDEnMaze" "KD_EnMaze03_20". regengroup "KDEnMaze" "KD_EnMaze03_21". regengroup "KDEnMaze" "KD_EnMaze03_22". regengroup "KDEnMaze" "KD_EnMaze03_23". regengroup "KDEnMaze" "KD_EnMaze03_24". regengroup "KDEnMaze" "KD_EnMaze03_25". regengroup "KDEnMaze" "KD_EnMaze03_26". regengroup "KDEnMaze" "KD_EnMaze03_27". regengroup "KDEnMaze" "KD_EnMaze03_28". regengroup "KDEnMaze" "KD_EnMaze03_29". regengroup "KDEnMaze" "KD_EnMaze03_30". regengroup "KDEnMaze" "KD_EnMaze03_31". regengroup "KDEnMaze" "KD_EnMaze03_32". regengroup "KDEnMaze" "KD_EnMaze03_33". regengroup "KDEnMaze" "KD_EnMaze03_34". regengroup "KDEnMaze" "KD_EnMaze03_35". npcstand MidBossHandle "KQ_G_AncientStatue01" 2875 8754 177 1000 "Normal". ; Áß°£º¸½º¸÷ ¸¸µê dooropen GlassDoor2Boss "GorDonDoor_03". mobregen Door2Boss "KQ_Gate6" 2834 9841 0 1000 "Normal". ; °¡·Î¸·°í ÀÖ´Â ¸÷(NoMove, PlayerCamp) mobattr Recover Door2Boss 0. ; Door2BossÀ» ÀÚüġ·á¸øÇϵµ·Ï mobattr NoAggro Door2Boss 0. ; Door2Boss ¸÷ÁÖÀÇ ²øÁö ¾Êµµ·Ï doorclose GlassDoor2Boss "GorDonDoor_03". interruptclear. interruptset PlayerEliminate "" 1 "QuestFail". ; Ç÷¹À̾ Àü¸êÇßÀ»¶§ interruptset TimeOut "" 1 "QuestFail". ; ½Ã°£ÀÌ ´Ù Áö³µÀ» °æ¿ì interruptset DeadHandle "" 1 Door2Boss "MB_DoorOpen". ; ¹®ÀÌ ºÎ¼­Áø °æ¿ì interruptset NPCClickHandle "" 9999 MidBossHandle "MB_MidBossClick". infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [MB_DoorOpen] dooropen GlassDoor2Boss "GorDonDoor_03". ; ¹® ¿® break "MidBoss". close open [MB_MidBossClick] var Clicker 0. whoclickme Clicker InterruptArg. ; InterruptArg¸¦ Ŭ¸¯ÇÑ »ç¶÷À» ãÀ½ invensearch Slot Clicker "KQ_SoulCrystal". ; OpenerÀÇ Àκ¥Å丮¿¡¼­ Å©¸®½ºÅ»À» ãÀ½ if Slot === "" ; ãÁö ¸øÇßÀ½ then open break "MB_MidBossClick". close ; Áß°£º¸½º ¿òÁ÷ÀÓ ½ÃÀÛ exchange2mob MidBossHandle "KQ_G_AncientStatue". ; MidBossHandle¸¦ ¾ø¾Ö°í »õ·Î¿î KQ_G_AncientStatue¸¦ ¸¸µê close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [LastBoss] var NextTeleportHP 800. ; MobRegen regengroup "KDEnMaze" "KD_EnMaze04_01". regengroup "KDEnMaze" "KD_EnMaze04_02". regengroup "KDEnMaze" "KD_EnMaze04_03". regengroup "KDEnMaze" "KD_EnMaze04_04". regengroup "KDEnMaze" "KD_EnMaze04_05". regengroup "KDEnMaze" "KD_EnMaze04_06". regengroup "KDEnMaze" "KD_EnMaze04_07". regengroup "KDEnMaze" "KD_EnMaze04_08". regengroup "KDEnMaze" "KD_EnMaze04_09". regengroup "KDEnMaze" "KD_EnMaze04_10". interruptclear. interruptset PlayerEliminate "" 1 "QuestFail". ; Ç÷¹À̾ Àü¸êÇßÀ»¶§ interruptset TimeOut "" 1 "QuestFail". ; ½Ã°£ÀÌ ´Ù Áö³µÀ» °æ¿ì interruptset DeadHandle "" 1 GordonMaster "QuestSuccess". interruptset HPLow "" 1 GordonMaster NextTeleportHP "LB_Flee". ; NextTeleportHP¸¸Å­ µÇ¾úÀ»¶§ ´Þ¾Æ³² interruptset Sec "" 9999 10 "LB_ItemAbState". infinite open waitinterrupt InterruptBlock "InterruptArg". call InterruptBlock. close close open [LB_Flee] chatwin "KQ_G_Boss" "GM_Teleport" % NextTeleportHP. summonmob GordonMaster "KQ_G_Gordon" 3. ; °í½ºÆ® 3 ¼Òȯ teleport AnyWhere GordonMaster. NextTeleportHP = NextTeleportHP - 200. if NextTeleportHP =!= 0 then open interruptset HPLow "" 1 GordonMaster NextTeleportHP "LB_Flee". ; NextTeleportHP¸¸Å­ µÇ¾úÀ»¶§ ´Þ¾Æ³² close close open [LB_ItemAbState] var Sword "" SwordMan 0 Rubi "" RubiMan 0. itemowner Sword "KQ_FireSword" " ". ; KQ_Sword¸¦ °¡Áö°í ÀÖ´Â »ç¶÷µéÀÇ ÇÚµéÀ» " "À» °æ°è·Î ¾ò¾î¿È itemowner Rubi "KQ_TruthRubi" " ". SwordMan = @RemoveFirst("Sword" " "). ; ¸®½ºÆ®ÇüÅÂÀÎ Sword¿¡¼­ " "·Î ºÐ¸®µÈ ù°¿ø¼Ò¸¦ SwordMan¿¡ ³Ö°í Sword¿¡¼­´Â Áö¿ò. RubiMan = @RemoveFirst("Rubi" " "). if @DistanceBetween(GordonMaster SwordMan) > 1000 then open abstateset GordonMaster " StaMobImmortal" 1 4200000000. close else open abstatereset GordonMaster " StaMobImmortal". close if @DistanceBetween(GordonMaster RubiMan) > 1000 then open abstateset GordonMaster "StaMobInvisible" 1 4200000000. close else open abstatereset GordonMaster "StaMobInvisible". close close ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; open [QuestSuccess] chatwin "KQ_G_Boss" "Success". questresult Suc. ; ¼º°øÆÐŶ ³¯¸² reward KingdomQuest. questmobkill 2668 "Daliy_Check" 1. ;someoneshout "Guardian" "GuardianSuc0". ;pause Sec 2. ; 2ÃÊ°£ ´ë±â ;someoneshout "Guardian" "GuardianSuc1". ;pause Sec 2. ; 2ÃÊ°£ ´ë±â ;someoneshout "Guardian" "GuardianSuc2". broadcast all "KQReturn30". pause sec 10. broadcast all "KQReturn20". pause sec 10. broadcast all "KQReturn10". pause sec 5. broadcast all "KQReturn5". pause sec 5. linkto all "Urg" "Urg" 5835 6397. endofkq. break "main". close open [QuestFail] chatwin "KQ_G_Boss" "Fail". questresult Fail. ; ½ÇÆÐÆÐŶ ³¯¸² broadcast all "KQReturn30". pause sec 10. broadcast all "KQReturn20". pause sec 10. broadcast all "KQReturn10". pause sec 5. broadcast all "KQReturn5". pause sec 5. linkto all "Urg" "Urg" 5835 6397. endofkq. break "main". close