You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigFiesta/ScenarioBookShelf/KQ/HMiniDragon.ps

430 lines
12 KiB

; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ų<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
; 1. <EFBFBD><EFBFBD>ų<EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̻<EFBFBD> <EFBFBD>ο<EFBFBD> - <EFBFBD><EFBFBD>ų<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>Ÿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̻<EFBFBD> <EFBFBD>ο<EFBFBD>
; 2. <EFBFBD><EFBFBD>ų<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ũ<EFBFBD><EFBFBD>Ʈ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
open [main]
var Players ""
MiniDragon ""
KQGuard ""
SelfHealQuantity "" ; <EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>󸶾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>°<EFBFBD>
InterruptBlock ""
InterruptArg ""
Boss_1 ""
Boss_2 ""
Boss_3 ""
Boss_4 ""
MiniDragon ""
Temp "".
waitlogin Players.
if Players == 0 ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ð<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>α<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
then open
call "QuestFail".
close
pause Sec 10.
scriptfile "KQMiniDragon".
timelimit Min 50.
call "Fi_Boss".
call "S_Boss".
call "T_Boss".
call "Fo_Boss".
call "Last_Boss".
;;;;;;;;;;;;;;; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ִٰ<EFBFBD>
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [Fi_Boss]
regengroup "KDHDragon" "KQ_H_MiniDragon_1_1".
regengroup "KDHDragon" "KQ_H_MiniDragon_1_2".
regengroup "KDHDragon" "KQ_H_MiniDragon_1_3".
regengroup "KDHDragon" "KQ_H_MiniDragon_1_4".
regengroup "KDHDragon" "KQ_H_MiniDragon_1_5".
mobregen Boss_1 "KQ_H_Werebear" 4270 1926 53 1000 "Normal".
interruptclear.
interruptset PlayerEliminate "" 1 "QuestFail". ; <EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>Ʈ <EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>߰<EFBFBD> - <EFBFBD>ڵ<EFBFBD><EFBFBD>ʿ<EFBFBD>
interruptset TimeOut "" 1 "QuestFail".
interruptset DeadHandle "" 1 Boss_1 "Fi_BossClear".
; --------------------------------------------------------------- ;
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
; --------------------------------------------------------------- ;
open [Fi_BossClear]
suicide all. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
break "Fi_Boss". ; ù<EFBFBD><EFBFBD>° <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ũ<EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [S_Boss] ; 2<EFBFBD><EFBFBD>° <EFBFBD><EFBFBD>ũ<EFBFBD><EFBFBD>Ʈ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
regengroup "KDHDragon" "KQ_H_MiniDragon_2_1".
regengroup "KDHDragon" "KQ_H_MiniDragon_2_2".
regengroup "KDHDragon" "KQ_H_MiniDragon_2_3".
regengroup "KDHDragon" "KQ_H_MiniDragon_2_4".
regengroup "KDHDragon" "KQ_H_MiniDragon_2_5".
mobregen Boss_2 "KQ_H_BossTombRaider2" 9022 2832 53 1000 "Normal".
interruptclear.
interruptset PlayerEliminate "" 1 "QuestFail". ; <EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>Ʈ <EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>߰<EFBFBD> - <EFBFBD>ڵ<EFBFBD><EFBFBD>ʿ<EFBFBD>
interruptset TimeOut "" 1 "QuestFail".
interruptset DeadHandle "" 1 Boss_2 "S_BossClear".
; --------------------------------------------------------------- ;
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
; --------------------------------------------------------------- ;
open [S_BossClear]
suicide all. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
break "S_Boss".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [T_Boss]
regengroup "KDHDragon" "KQ_H_MiniDragon_3_1".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_2".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_3".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_4".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_5".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_6".
regengroup "KDHDragon" "KQ_H_MiniDragon_3_7".
mobregen Boss_3 "KQ_H_BossRobo2" 2920 8076 90 1000 "Normal".
interruptclear.
interruptset PlayerEliminate "" 1 "QuestFail". ; <EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>Ʈ <EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>߰<EFBFBD> - <EFBFBD>ڵ<EFBFBD><EFBFBD>ʿ<EFBFBD>
interruptset TimeOut "" 1 "QuestFail".
interruptset DeadHandle "" 1 Boss_3 "T_BossClear". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3<EFBFBD><EFBFBD> <EFBFBD>׾<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ȣ<EFBFBD><EFBFBD><EFBFBD>ض<EFBFBD>
; --------------------------------------------------------------- ;
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
; --------------------------------------------------------------- ;
open [T_BossClear]
suicide all. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
break "T_Boss".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [Fo_Boss]
regengroup "KDHDragon" "KQ_H_MiniDragon_4_1".
regengroup "KDHDragon" "KQ_H_MiniDragon_4_2".
regengroup "KDHDragon" "KQ_H_MiniDragon_4_3".
regengroup "KDHDragon" "KQ_H_MiniDragon_4_4".
regengroup "KDHDragon" "KQ_H_MiniDragon_4_5".
mobregen Boss_4 "KQ_H_GobleKing" 6356 10742 53 1000 "Normal".
interruptclear.
interruptset PlayerEliminate "" 1 "QuestFail". ; <EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>Ʈ <EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>߰<EFBFBD> - <EFBFBD>ڵ<EFBFBD><EFBFBD>ʿ<EFBFBD>
interruptset TimeOut "" 1 "QuestFail".
interruptset DeadHandle "" 1 Boss_4 "Fo_BossClear". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> 4<EFBFBD><EFBFBD> <EFBFBD>׾<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> 4<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ȣ<EFBFBD><EFBFBD><EFBFBD>ض<EFBFBD>
; --------------------------------------------------------------- ;
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
; --------------------------------------------------------------- ;
open [Fo_BossClear]
suicide all. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
break "Fo_Boss".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
open [Last_Boss]
mobregen MiniDragon "KQ_H_MiniDragon" 11474 11710 53 1000 "Normal".
;Temp <EFBFBD>׽<EFBFBD>Ʈ <EFBFBD><EFBFBD>ǥ; mobregen MiniDragon "KQ_H_MiniDragon" 4028 2055 53 1000 "Normal".
mobdetectrange MiniDragon 150.
interruptclear.
interruptset PlayerEliminate "" 1 "QuestFail". ; <EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>Ʈ <EFBFBD>ε<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>߰<EFBFBD> - <EFBFBD>ڵ<EFBFBD><EFBFBD>ʿ<EFBFBD>
interruptset TimeOut "" 1 "QuestFail".
interruptset DeadHandle "" 1 MiniDragon "QuestSuccess".
interruptset TargetChange "" 1 MiniDragon "ViewEnemy". ; MiniDragon<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
call "HP1000".
;@# mobweaponrate MiniDragon 1000 0 0 300.; <EFBFBD>׽<EFBFBD>Ʈ<EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>׿<EFBFBD><EFBFBD><EFBFBD>ų<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
; <EFBFBD><EFBFBD>
interruptset HPLow "" 1 MiniDragon 750 "Heal750".
; <EFBFBD><EFBFBD>ȯ
interruptset HPLow "" 1 MiniDragon 850 "Summon850".
; <EFBFBD>н<EFBFBD>
interruptset HPLow "" 1 MiniDragon 120 "Duplicate120".
; -------------------------------------------------------- ;
infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close
close
; ---------------------------------------------------------;
open [QuestSuccess]
pause Sec 10.
questresult Suc. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŷ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
reward KingdomQuest.
questmobkill 2668 "Daliy_Check" 1.
regengroup "KDHDragon" "KQ_MiniDragon_MINE1".
broadcast all "KQReturn60".
pause sec 10.
broadcast all "KQReturn50".
pause sec 10.
broadcast all "KQReturn40".
pause sec 10.
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 "Eld" "Eld" 17214 13445.
endofkq.
break "main".
close
open [QuestFail]
questresult Fail. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŷ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
broadcast all "KQFReturn30".
pause sec 10.
broadcast all "KQFReturn20".
pause sec 10.
broadcast all "KQFReturn10".
pause sec 5.
broadcast all "KQFReturn5".
pause sec 5.
linkto all "Eld" "Eld" 17214 13445.
endofkq.
break "main".
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
open [ViewEnemy]
mobdetectrange MiniDragon 1000. ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ø<EFBFBD>
close
; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ٲٱ<EFBFBD>
open [HP1000]
; mobweaponrate MiniDragon 1000 200 100 0.
interruptset HPLow "" 1 MiniDragon 900 "HP900".
close
open [HP900]
; mobweaponrate MiniDragon 1000 200 200 0.
interruptset HPLow "" 1 MiniDragon 800 "HP800".
close
open [HP800]
; mobweaponrate MiniDragon 1000 200 150 150.
interruptset HPLow "" 1 MiniDragon 700 "HP700".
close
open [HP700]
; mobweaponrate MiniDragon 1000 300 200 0.
interruptset HPLow "" 1 MiniDragon 600 "HP600".
close
open [HP600]
; mobweaponrate MiniDragon 1000 350 150 200.
interruptset HPLow "" 1 MiniDragon 500 "HP500".
close
open [HP500]
; mobweaponrate MiniDragon 1000 400 300 0.
interruptset HPLow "" 1 MiniDragon 400 "HP400".
close
open [HP400]
; mobweaponrate MiniDragon 1000 200 250 250.
interruptset HPLow "" 1 MiniDragon 300 "HP300".
close
open [HP300]
; mobweaponrate MiniDragon 1000 300 400 0.
interruptset HPLow "" 1 MiniDragon 200 "HP200".
close
open [HP200]
; mobweaponrate MiniDragon 1000 400 400 0.
interruptset HPLow "" 1 MiniDragon 100 "HP100".
close
open [HP100]
; mobweaponrate MiniDragon 1000 300 400 30.
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <EFBFBD>ڱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
open [Heal750]
SelfHealQuantity = 1500. ; <EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>󸶾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>°<EFBFBD>
call "SelfHealStart".
interruptset HPLow "" 1 MiniDragon 550 "Heal550".
close
open [Heal550]
SelfHealQuantity = 2000. ; <EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>󸶾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>°<EFBFBD>
call "SelfHealStart".
interruptset HPLow "" 1 MiniDragon 350 "Heal350".
close
open [Heal350]
SelfHealQuantity = 2500. ; <EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>󸶾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>°<EFBFBD>
call "SelfHealStart".
interruptset HPLow "" 1 MiniDragon 150 "Heal150".
close
open [Heal150]
SelfHealQuantity = 3000. ; <EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>󸶾<EFBFBD> <EFBFBD><EFBFBD><EFBFBD>°<EFBFBD>
call "SelfHealStart".
close
open [SelfHealStart]
waitidle. ; <EFBFBD><EFBFBD>ų ij<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>̶<EFBFBD><EFBFBD><EFBFBD> ij<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ٸ<EFBFBD>
abstateset MiniDragon "StaQuestEntangle" 1 15000.
animate MiniDragon "KQ_MD_BuffSkil1_1". ; <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>ִϸ<EFBFBD><EFBFBD>̼<EFBFBD>(15<EFBFBD><EFBFBD>¥<EFBFBD><EFBFBD>)
interruptset Sec "" 15 1 "SelfHeal". ; 1<EFBFBD>ʸ<EFBFBD><EFBFBD><EFBFBD> 15<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
close
open [SelfHeal]
heal MiniDragon SelfHealQuantity.
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <EFBFBD><EFBFBD>ȯ
open [Summon850]
summonmob MiniDragon "KQ_H_SmallProck" 1.
summonmob MiniDragon "KQ_H_Bat" 2.
interruptset HPLow "" 1 MiniDragon 670 "Summon670".
close
open [Summon670]
summonmob MiniDragon "KQ_H_SmallProck" 2.
summonmob MiniDragon "KQ_H_Bat" 2.
summonmob MiniDragon "KQ_H_KissLips" 1.
interruptset HPLow "" 1 MiniDragon 620 "Summon620".
close
open [Summon620]
summonmob MiniDragon "KQ_H_SmallProck" 2.
summonmob MiniDragon "KQ_H_Bat" 2.
summonmob MiniDragon "KQ_H_KissLips" 1.
interruptset HPLow "" 1 MiniDragon 470 "Summon470".
close
open [Summon470]
summonmob MiniDragon "KQ_H_KissLips" 1.
summonmob MiniDragon "KQ_H_Spider" 2.
summonmob MiniDragon "KQ_H_SandRatman" 2.
interruptset HPLow "" 1 MiniDragon 420 "Summon420".
close
open [Summon420]
summonmob MiniDragon "KQ_H_KissLips" 1.
summonmob MiniDragon "KQ_H_Spider" 1.
summonmob MiniDragon "KQ_H_SandRatman" 2.
interruptset HPLow "" 1 MiniDragon 280 "Summon280".
close
open [Summon280]
summonmob MiniDragon "KQ_H_SandRatman" 2.
summonmob MiniDragon "KQ_H_MadHob" 1.
summonmob MiniDragon "KQ_H_HardboneImp" 1.
interruptset HPLow "" 1 MiniDragon 240 "Summon240".
close
open [Summon240]
summonmob MiniDragon "KQ_H_KissLips" 1.
summonmob MiniDragon "KQ_H_Spider" 1.
summonmob MiniDragon "KQ_H_SandRatman" 2.
interruptset HPLow "" 1 MiniDragon 170 "Summon170".
close
open [Summon170]
summonmob MiniDragon "KQ_H_Spider" 1.
summonmob MiniDragon "KQ_H_SandRatman" 2.
summonmob MiniDragon "KQ_H_MadHob" 2.
interruptset HPLow "" 1 MiniDragon 50 "Summon050".
close
open [Summon050]
summonmob MiniDragon "KQ_H_MadHob" 1.
summonmob MiniDragon "KQ_H_HardboneImp" 1.
summonmob MiniDragon "KQ_H_Werebear" 2.
summonmob MiniDragon "KQ_H_HeavyOgre" 2.
interruptset HPLow "" 1 MiniDragon 30 "Summon030".
close
open [Summon030]
summonmob MiniDragon "KQ_H_MadHob" 1.
summonmob MiniDragon "KQ_H_HardboneImp" 2.
summonmob MiniDragon "KQ_H_Werebear" 2.
summonmob MiniDragon "KQ_H_HeavyOgre" 3.
close
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; <EFBFBD>н<EFBFBD>
open [Duplicate120]
;@#$ duplicate MiniDragon 1.
close