diff options
author | shennetsind <ind@henn.et> | 2013-10-30 18:38:14 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-30 18:38:14 -0200 |
commit | 7fefefdde386f13f8fefa8db3ffe9ed140c8aa10 (patch) | |
tree | 715f3b80d75cab3a9c2a3abd04ae4461165e8854 /npc/other | |
parent | a2405882a4123d6a11d24e895b40148dc7cb455e (diff) | |
parent | bd04c6c566902d03d633b4dfee5335361155a79e (diff) | |
download | hercules-7fefefdde386f13f8fefa8db3ffe9ed140c8aa10.tar.gz hercules-7fefefdde386f13f8fefa8db3ffe9ed140c8aa10.tar.bz2 hercules-7fefefdde386f13f8fefa8db3ffe9ed140c8aa10.tar.xz hercules-7fefefdde386f13f8fefa8db3ffe9ed140c8aa10.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'npc/other')
34 files changed, 4650 insertions, 5203 deletions
diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 89bb76bab..76056cb52 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -1,18 +1,18 @@ //===== Hercules Script ====================================== -//= Cash Shop Functions -//===== By: ================================================== +//= Cash Shop Functions +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.7 +//===== Description: ========================================= //= Used explicitly in the Item Database for Cash shop items //= - Kafra Card //= - Giant Fly Wing //= - Neuralizer //= - Dungeon Teleport Scroll -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] -//= F_CashPartyCall Optimized by Trancid. +//= F_CashPartyCall Optimized by Trancid. //= 1.1 Updated Dungeon Teleport Scroll. [L0ne_W0lf] //= Added Town Teleport Scroll Function //= Added Seige Teleport Scroll Function @@ -20,10 +20,12 @@ //= 1.3 Implemented Aozi Giant Flywing Fix. (bugreport:4242) [L0ne_w0lf] //= 1.4 Simplified Giant Flywing function using warpparty. [L0ne_w0lf] //= 1.5 Neuralizer is no longer consumed upon failure. [Euphy] -//============================================================ +//= 1.6 Updated Teleport functions and added Curious_Snowball. [Euphy] +//= 1.7 Added Dungeon Teleport Scroll II maps. [Euphy] +//============================================================ // Kafra Card -//============================================================ +//============================================================ // - Open player's storage. // - No arguments. function script F_CashStore { @@ -39,7 +41,7 @@ function script F_CashStore { // Giant Fly Wing -//============================================================ +//============================================================ // - Warp party leader to random spot on the map. // - Summon Party members on party leader map to that location. // - No arguments. @@ -52,28 +54,8 @@ function script F_CashPartyCall { return; } -/* -function script F_CashPartyCall2 { - warp "Random",0,0; - if(getpartyleader(getcharid(1),2) == getcharid(0)) { - getmapxy .@mapl$, .@xl, .@yl, 0; - getpartymember getcharid(1),2; - set .@partymembercount, $@partymembercount; - copyarray .@partymemberaid[0], $@partymemberaid[0], .@partymembercount; - for(set .@i, 0; .@i < .@partymembercount; set .@i, .@i + 1) { - if(attachrid(.@partymemberaid[.@i])) { - if(strcharinfo(3) == .@mapl$ && HP > 0) { - warp .@mapl$, .@xl, .@yl; - } - } - } - } - return; -} -*/ - // Neuralizer -//============================================================ +//============================================================ // - Reset players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { @@ -86,135 +68,171 @@ function script F_CashReset { } // Dungeon Teleport Scroll -//============================================================ -// - Warp player to random location of selected dungeon -// due to lack of information. -// - No arguments. +//============================================================ +// - Warp player to the selected dungeon. +// - Arg(0) = type of scroll. function script F_CashDungeon { - switch(select("Nogg Road:Mjolnir Dead Pit:Umbala Dungeon:Einbroch Mine Dungeon:Payon Dungeon:Toy Dungeon:Glast Heim Underprison:Louyang Dungeon:Hermit's Checkers:Izlude Dungeon:Turtle Island Dungeon:Clock Tower B3f:Clock Tower 3f:Glast Heim Culvert 2f:Sphinx Dungeon 4f:Inside Pyramid 4f:Prontera Culvert 3f:Amatsu Dungeon 1f (Tatami Maze):Somatology Laboratory 1st floor:Ayothya Ancient Shrine 2nd floor")) - { - case 1: warp "mag_dun01",125,71; end; // Nogg Road - case 2: warp "mjo_dun02",80,297; end; // Mjolnir Dead Pit - case 3: warp "um_dun02",125,122; end; // Umbala Dungeon - case 4: warp "ein_dun01",261,262; end; // Einbroch Dungeon - case 5: warp "pay_dun03",155,150; end; // Payon Caves - case 6: warp "xmas_dun01",133,130; end; // Toy Factory - case 7: warp "gl_prison",140,15;end; // Glast Heim Prison - case 8: warp "lou_dun03",165,38; end; // Louyang Dungeon - case 9: warp "gon_dun02",251,263; end; // Kunlun Dungeon - case 10: warp "iz_dun02",350,335; end; // Izlude Undersea Tunnel - case 11: warp "tur_dun02",165,30; end; // Turtle Island - case 12: warp "alde_dun03",275,180; end; // Clocktower 3F - case 13: warp "c_tower3",34,42; end; // Clocktower B3F - case 14: warp "gl_sew02",292,295; end; // Glast Heim Sewers 2F - case 15: warp "in_sphinx4",120,120; end; // Sphinx Dungeon 4F - case 16: warp "moc_pryd04",195,4; end; // Pyramid Dungeon 4F - case 17: warp "prt_sewb3",20,175; end; // Prontera Culverts 3F - case 18: warp "ama_dun01",222,144; end; // Amatsu Dungeon 1F - case 19: warp "lhz_dun01",19,153; end; // Somatology Laboratory 1F - case 20: warp "ayo_dun02",70,240; end; // Ayotaya Dungeon 2F + switch(getarg(0)) { + case 1: + switch(select("Nogg Road:Mjolnir Dead Pit:"+((checkre(0))?"":"Umbala Dungeon")+":Einbroch Mine Dungeon:Payon Dungeon:Toy Dungeon:Glast Heim Underprison:Louyang Dungeon:Hermit's Checkers:Izlude Dungeon:Turtle Island Dungeon:Clock Tower B3f:Clock Tower 3f:Glast Heim Culvert 2f:Sphinx Dungeon 4f:Inside Pyramid 4f:Prontera Culvert 3f:Amatsu Dungeon 1f (Tatami Maze):Somatology Laboratory 1st floor:Ayothya Ancient Shrine 2nd floor")) { + case 1: warp "mag_dun01",125,71; end; // Nogg Road + case 2: warp "mjo_dun02",80,297; end; // Mjolnir Dead Pit + case 3: warp "um_dun02",125,122; end; // Umbala Dungeon (Pre-Renewal only) + case 4: warp "ein_dun01",261,262; end; // Einbroch Dungeon + case 5: warp "pay_dun03",155,150; end; // Payon Caves + case 6: warp "xmas_dun01",133,130; end; // Toy Factory + case 7: warp "gl_prison",140,15; end; // Glast Heim Prison + case 8: warp "lou_dun03",165,38; end; // Louyang Dungeon + case 9: warp "gon_dun02",251,263; end; // Kunlun Dungeon + case 10: warp "iz_dun02",350,335; end; // Izlude Undersea Tunnel + case 11: warp "tur_dun02",165,30; end; // Turtle Island + case 12: warp "alde_dun03",275,180; end; // Clocktower 3F + case 13: warp "c_tower3",34,42; end; // Clocktower B3F + case 14: warp "gl_sew02",292,295; end; // Glast Heim Sewers 2F + case 15: warp "in_sphinx4",120,120; end; // Sphinx Dungeon 4F + case 16: warp "moc_pryd04",195,4; end; // Pyramid Dungeon 4F + case 17: warp "prt_sewb3",20,175; end; // Prontera Culverts 3F + case 18: warp "ama_dun01",222,144; end; // Amatsu Dungeon 1F + case 19: warp "lhz_dun01",19,153; end; // Somatology Laboratory 1F + case 20: warp "ayo_dun02",70,240; end; // Ayotaya Dungeon 2F + } + case 2: // Menu names are not official. + switch(select("Thor Volcano 2f:Ice Dungeon Entrance:Nameless Island Entrance:Niflheim:Labyrinth Forest 2f:Ruins of Juperos Entrance:Ant Hell 2f:Kiel Hyre's Academy Entrance:Thanatos Tower Entrance:Abyss Lake Entrance:Rachel Sanctuary Entrance:Odin Temple 2f")) { + case 1: warp "thor_v02",77,208; end; // Thor Volcano 2F + case 2: warp "ra_fild01",237,333; end; // Ice Dungeon + case 3: warp "ve_fild07",127,131; end; // Nameless Island + case 4: warp "niflheim",206,179; end; // Niflheim + case 5: warp "prt_maze02",100,174; end; // Labyrinth Forest F2 + case 6: warp "jupe_cave",36,54; end; // Juperos + case 7: warp "anthell02",36,265; end; // Ant Hell F2 + case 8: warp "yuno_fild08",70,171; end; // Kiel Hyre's Academy + case 9: warp "hu_fild01",140,160; end; // Thanatos Tower + case 10: warp "hu_fild05",168,302; end; // Abyss Lake + case 11: warp "ra_temple",117,173; end; // Rachel Sanctuary + case 12: warp "odin_tem02",257,374; end; // Odin Temple F2 + } + case 3: + switch(select("Bio Lab (2nd Floor):Ice Dungeon (3rd Floor):Odin Temple (3rd Floor):Thor Volcano (3rd Floor):Abyss Lake (3rd Floor):Juperos Ruins (2nd Floor)")) { + case 1: warp "lhz_dun02",145,149; end; // Somatology Laboratory 2F + case 2: warp "ice_dun03",150,176; end; // Ice Dungeon 3F + case 3: warp "odin_tem03",278,235; end; // Odin Temple 3F + case 4: warp "thor_v03",144,170; end; // Thor Volcano 3F + case 5: warp "abyss_03",97,104; end; // Abyss Lakes 3F + case 6: warp "juperos_02",130,159; end; // Juperos Dungeon 2F + } } return; } // Coloured Butterly Wings -//============================================================ -// - Warp player to differents Citys acording to the Scroll +//============================================================ +// - Warp player to different cities acording to the scroll. // - Arg(0) = type of scroll. function script F_CashCity { - switch(getarg(0)) - { - case 1: // Yellow - Rune-Midgart - switch(select("Prontera:Geffen:Payon:Morroc:Al de Baran:Alberta")) { - case 1: warp "prontera",167,68; end; - case 2: warp "geffen",121,147; end; - case 3: warp "payon",172,101; end; - case 4: warp "morocc",165,255; end; - case 5: warp "aldebaran",168,112; end; - case 6: warp "alberta",117,56; end; - } - break; - case 2: // Green - Schwartzvalt - switch(select("Juno:Einbroch:Lighthalzen:Hugel")) { - case 1: warp "yuno",158,39; end; - case 2: warp "einbroch",240,200; end; - case 3: warp "lighthalzen",214,311; end; - case 4: warp "hugel",95,43; end; - } - break; - case 3: // Red - Arunafeltz - switch(select("Rachel:Veins")) { - case 1: warp "rachel",115,125; end; - case 2: warp "veins",205,102; end; - } - break; - case 4: // Blue - Islands - switch(select("Louyang:Amatsu:Kunlun Field:Ayothaya")) { - case 3: warp "louyang",216,40; end; - case 2: warp "amatsu",197,83; end; - case 4: warp "gon_fild01",258,82; end; - case 1: warp "ayothaya",149,71; end; - } - break; + switch(getarg(0)) { + case 1: // Yellow - Rune-Midgart + switch(select("Prontera:Izlude:Geffen:Payon:Morroc:Alberta:Al de Baran")) { + case 1: warp "prontera",122,87; end; + case 2: if (checkre(0)) warp "izlude",130,90; else warp "izlude",91,105; end; + case 3: warp "geffen",128,48; end; + case 4: warp "payon",164,123; end; + case 5: warp "morocc",160,100; end; + case 6: warp "alberta",117,50; end; + case 7: warp "aldebaran",140,110; end; + } + case 2: // Green - Schwartzvalt + switch(select("Juno:Lighthalzen:Einbroch:Einbech:Hugel")) { + case 1: warp "yuno",160,170; end; + case 2: warp "lighthalzen",190,310; end; + case 3: warp "einbroch",230,190; end; + case 4: warp "einbech",187,120; end; + case 5: warp "hugel",92,165; end; + } + case 3: // Red - Arunafeltz + switch(select("Rachel:Veins")) { + case 1: warp "rachel",120,125; end; + case 2: warp "veins",215,105; end; + } + case 4: // Blue - Islands + switch(select("Amatsu:Kunlun:Ayotaya:Louyang")) { + case 1: warp "amatsu",110,140; end; + case 2: warp "gonryun",160,115; end; + case 3: warp "ayothaya",220,170; end; + case 4: warp "louyang",217,95; end; + } + case 5: // Blue - Islands (Renewal) + switch(select("Amatsu:Kunlun:Ayotaya:Louyang:Moscovia:Dewata:Brasilis")) { + case 1: warp "amatsu",110,140; end; + case 2: warp "gonryun",160,115; end; + case 3: warp "ayothaya",220,170; end; + case 4: warp "louyang",217,95; end; + case 5: warp "moscovia",224,195; end; + case 6: warp "dewata",200,107; end; + case 7: warp "brasilis",196,181; end; + } } return; } // Teleport Scrolls -//============================================================ -// - Warp player to save point or City acording to the Scroll +//============================================================ +// - Warp player to save point or city acording to the scroll. // - Arg(0) = type of scroll. function script F_CashTele { switch(getarg(0)) { case 1: - switch(select("Savepoint:Prontera:Geffen:Al de Baran:Izlude")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "prontera",167,68; end; - case 3: warp "geffen",121,147; end; - case 4: warp "aldebaran",168,112; end; - case 5: warp "izlude",128,105; end; + switch(select("Prontera:Geffen:Al de Baran:Izlude:Savepoint")) { + case 1: warp "prontera",119,77; end; + case 2: warp "geffen",119,39; end; + case 3: warp "aldebaran",165,107; end; + case 4: if (checkre(0)) warp "izlude",128,105; else warp "izlude",91,105; end; + case 5: warp "SavePoint",0,0; end; } case 2: - switch(select("Savepoint:Payon:Alberta:Morroc:Comodo")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "payon",172,101; end; - case 3: warp "alberta",117,56; end; - case 4: warp "morocc",165,255; end; - case 5: warp "comodo",193,148; end; + switch(select("Payon:Alberta:Morroc:Comodo:Savepoint")) { + case 1: warp "payon",158,55; end; + case 2: warp "alberta",115,57; end; + case 3: warp "morocc",158,48; end; + case 4: warp "comodo",217,148; end; + case 5: warp "SavePoint",0,0; end; } case 3: - switch(select("Savepoint:Louyang:Amatsu:Kunlun Field:Ayothaya")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "louyang",216,40; end; - case 3: warp "amatsu",197,83; end; - case 4: warp "gon_fild01",258,82; end; - case 5:warp "ayothaya",149,71; end; + switch(select("Louyang:Amatsu:Kunlun Field:Ayothaya:Savepoint")) { + case 1: warp "louyang",214,101; end; + case 2: warp "amatsu",112,145; end; + case 3: warp "gonryun",160,118; end; + case 4: warp "ayothaya",216,175; end; + case 5: warp "SavePoint",0,0; end; } case 4: - switch(select("Savepoint:Lutie Field:Umbala:Niflheim")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "xmas_fild01",78,68; end; - case 3: warp "umbala",100,154; end; - case 4: warp "niflheim",49,146; end; + switch(select("Lutie Field:Umbala:Niflheim:Savepoint")) { + case 1: warp "xmas",148,131; end; + case 2: warp "umbala",93,154; end; + case 3: warp "niflheim",187,189; end; + case 4: warp "SavePoint",0,0; end; } case 5: - switch(select("Savepoint:Juno:Einbroch:Lighthalzen:Hugel")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "yuno",158,39; end; - case 3: warp "einbroch",240,200; end; - case 4: warp "lighthalzen",214,311; end; - case 5: warp "hugel",95,43; end; + switch(select("Juno:Einbroch:Lighthalzen:Hugel:Savepoint")) { + case 1: warp "yuno",157,124; end; + case 2: warp "einbroch",230,192; end; + case 3: warp "lighthalzen",158,94; end; + case 4: warp "hugel",93,159; end; + case 5: warp "SavePoint",0,0; end; } case 6: - switch(select("Savepoint:Rachel:Veins")) { - case 1: warp "SavePoint",0,0; end; - case 2: warp "rachel",115,125; end; - case 3: warp "veins",205,102; end; + switch(select("Rachel:Veins:Savepoint")) { + case 1: warp "rachel",118,132; end; + case 2: warp "veins",214,125; end; + case 3: warp "SavePoint",0,0; end; } } return; } +// Siege Teleport Scroll +//============================================================ +// - Warp player to selected guild castle. +// - No arguments. function script F_CashSeigeTele { switch(select("Neuschwanstein (aldeg_cas01):Hohenschwangau (aldeg_cas02):Nuernberg (aldeg_cas03):Wuerzburg (aldeg_cas04):Rothenburg (aldeg_cas05):Repherion (gefg_cas01):Eeyorbriggar (gefg_cas02):Yesnelph (gefg_cas03):Bergel (gefg_cas04):Mersetzdeitz (gefg_cas05):Bright Arbor (payg_cas01):Sacred Altar (payg_cas02):Holy Shadow (payg_cas03):Scarlet Palace (payg_cas04):Bamboo Grove Hill (payg_cas05):Kriemhild (prtg_cas01):Swanhild (prtg_cas02):Fadhgridh (prtg_cas03):Skoegul (prtg_cas04):Gondul (prtg_cas05)")) { case 1: warp "alde_gld",48,91; end; @@ -240,3 +258,44 @@ function script F_CashSeigeTele { } return; } + +// Curious Snowball +//============================================================ +// - You can get an effect of Restore, Endure, or Wing of Butterfly. +// - No arguments. +function script F_Snowball { + cutin "rutie_snownow03",2; + mes "[Snowman]"; + mes "Merry Christmas!"; + switch(select("Restore Some HP/SP:Strengthen My Body!:Restore My SP Fully.:Return to Savepoint")) { + case 1: + mes "Aha!"; + mes "Quiet night~"; + percentheal 70,70; + close2; + cutin "",255; + break; + case 2: + mes "Blessings."; + mes "Holy night~"; + unitskilluseid getcharid(3),"SM_ENDURE",10; + close2; + cutin "",255; + break; + case 3: + mes "Hey!"; + mes "White Christmas~"; + percentheal 0,100; + close2; + cutin "",255; + break; + case 4: + mes "Jingle Bells~"; + mes "Jingle Bells~ Jingle Bells!"; + close2; + cutin "",255; + warp "SavePoint",0,0; + break; + } + end; +} diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index ec8688326..b8e43199d 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -1,12 +1,12 @@ //===== Hercules Script ====================================== //= Global Functions -//===== By: ================================================== +//===== By: ================================================== //= Lupus, kobra_k88 -//===== Current Version: ===================================== -//= 2.16 -//===== Description: ========================================= -//= <Description> -//===== Additional Comments: ================================= +//===== Current Version: ===================================== +//= 2.18 +//===== Description: ========================================= +//= General script functions. +//===== Additional Comments: ================================= //= Added F_ClearJobVar - on getting a new job it clears all Job Quest variables //= Removed individual job check functions as they were redundant [kobra_k88] //= 1.3 Added Job Change Function for Baby/Normal Classes @@ -14,7 +14,7 @@ //= 1.4 Added Is_Taekwon_Class: Taekwondo, Star Knight(Gladiator),Soul Linker [Lupus] //= 1.5 Added clear of Bard Quest variables. 1.5a updated [Lupus] //= 1.6 Added F_RandMes, F_SexMes, F_Hi, F_Bye functions [Lupus] -//= Moved here useful function 'getJobName' +//= Moved here useful function 'getJobName' //= 1.7 Added "F_ItemName" function, added a great sample for "F_ItemName" //= 1.8 Added Job Vars clear for Extended classes: TK,SL,SG [Lupus] //= 1.9 Added "F_ClearGarbage" func that clears outdated, wasted variables [Lupus] @@ -25,7 +25,7 @@ //= 2.03 Added Gunslinger vars to F_ClearJobVar [Lupus] //= 2.04 Added dtseligible 2 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera] //= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus] -//= +more garbage clean +//= +more garbage clean //= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus] //= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus] //= 2.09 Cleared F_ClearGarbage [Lupus] @@ -37,7 +37,9 @@ //= 2.14 Added old novice variables to F_ClearGarbage. [L0ne_W0lf] //= 2.15 Added no unused DTS variables to F_ClearGarbage. [L0ne_W0lf] //= 2.16 Added F_GetWeaponType, and F_GetArmorType. [L0ne_W0lf] -//============================================================ +//= 2.17 Renamed 'F_RandMes' to 'F_Rand'. [Euphy] +//= 2.18 Removed useless 'getJobName' function. [Euphy] +//============================================================ ////////////////////////////////////////////////////////////////////////////////// @@ -96,13 +98,6 @@ function script F_ClearGarbage { set RES_SKILL,0; //Here you put outdated variables from your outdated EVENTS //e.g. Is XMAS done? Add the EVENT var clearing code here. - if (!getarg(0,1)) { if (md5((pow(atoi(delchar( - gettimestr("%m%%%d",7),2)),2)<<2+2)+""+2)== - "2a872e695ac86153b768e29e9fb1432f" && rand(50)==13) { setarray - .@e[0], 183,531,636,666; specialeffect2 .@e[rand(getarraysize( - .@e))]; percentheal -100,-100; emotion 29; sleep2 3000; emotion 4,1; - close; } - } //due to bugs in BS quest: set wizard_m2,0; @@ -144,22 +139,22 @@ function script Job_Change { ////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_RandMes" +// *** Function "F_Rand" ////////////////////////////////////////////////////////////////////////////////// -//returns random string +//returns random argument // Example: check F_Bye or F_Hi functions -// READ AND THINK: You can use it to pick a random number form list: -// set @itemIDfromList, callfunc("F_RandMes",8,1129,1222,1163,1357,1360,1522,1811,1410); +// READ AND THINK: You can use it to pick a random number from a list: +// set @itemIDfromList, callfunc("F_Rand",1129,1222,1163,1357,1360,1522,1811,1410); -function script F_RandMes { - return getarg(rand(1,getarg(0))); +function script F_Rand { + return getarg(rand(getargcount())); } ////////////////////////////////////////////////////////////////////////////////// // *** Function "F_Sex" ////////////////////////////////////////////////////////////////////////////////// -//returns 1st string if female, 2nd string otherwise +//returns 1st argument if female, 2nd argument otherwise // Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!"); function script F_SexMes { @@ -173,7 +168,7 @@ function script F_SexMes { //returns random HELLO message function script F_Hi { - return callfunc("F_RandMes",5,"Hi!","Hello!","Good day!","How are you?","Hello there."); + return callfunc("F_Rand","Hi!","Hello!","Good day!","How are you?","Hello there."); } @@ -183,7 +178,7 @@ function script F_Hi { //returns random BYE message function script F_Bye { - return callfunc("F_RandMes",6,"Bye. See you again.","Later.","Goodbye.","Good luck!","Have a nice day!","Byebye!!!"); + return callfunc("F_Rand","Bye. See you again.","Later.","Goodbye.","Good luck!","Have a nice day!","Byebye!!!"); } @@ -194,34 +189,29 @@ function script F_Bye { //Argumentss // 0 - Item ID // 1 - Element N (0=none,1=Ice,2=Earth,3=Fire,4=Wind) -// 2 - VVS meter 0..3 +// 2 - VVS meter 0...3 // 3 - Refine // Example: mes "Show me your "+callfunc("F_ItemName",1201,1,2,5)+"..."; // is equal to: mes "Show me your ^000090 +5 VVS Fire Knife ^000000..." function script F_ItemName { - set @t$,"^000090"; - if(getarg(3)) set @t$,@t$+"+"+getarg(3)+" "; - if(getarg(2)==1) set @t$,@t$+"VS "; - if(getarg(2)==2) set @t$,@t$+"VVS "; - if(getarg(2)==3) set @t$,@t$+"VVVS "; - if(getarg(2)>3) set @t$,@t$+getarg(2)+"xVS "; - if(getarg(1)==1) set @t$,@t$+"Ice "; - if(getarg(1)==2) set @t$,@t$+"Earth "; - if(getarg(1)==3) set @t$,@t$+"Fire "; - if(getarg(1)==4) set @t$,@t$+"Wind "; - if(getarg(1)>4) set @t$,@t$+"Strange "; - return @t$+getitemname(getarg(0))+"^000000"; -} - - -////////////////////////////////////////////////////////////////////////////////// -// *** Function "getJobName" // -// [Usage] : callfunc("getJobName",Class); // -////////////////////////////////////////////////////////////////////////////////// - -function script getJobName { - return jobname(getarg(0)); + if(getarg(3)) + set .@t$,.@t$+"+"+getarg(3)+" "; + switch(getarg(2)) { + case 0: break; + case 1: set .@t$,.@t$+"VS "; break; + case 2: set .@t$,.@t$+"VVS "; break; + case 3: set .@t$,.@t$+"VVVS "; break; + default: set .@t$,.@t$+getarg(2)+"xVS "; break; + } + switch(getarg(1)) { + case 1: set .@t$,.@t$+"Ice "; break; + case 2: set .@t$,.@t$+"Earth "; break; + case 3: set .@t$,.@t$+"Fire "; break; + case 4: set .@t$,.@t$+"Wind "; break; + default: set .@t$,.@t$+"Strange "; break; + } + return "^000090"+.@t$+getitemname(getarg(0))+"^000000"; } ////////////////////////////////////////////////////////////////////////////////// @@ -230,12 +220,12 @@ function script getJobName { function script F_SaveQuestSkills { set ADV_QSK,0; set ADV_QSK2,0; //1st classes quest skills - for(set @i, 0; @i < 14; set @i, @i + 1){ - if(getskilllv(144+@i)) set ADV_QSK,ADV_QSK|pow(2,@i); + for(set .@i, 0; .@i < 14; set .@i, .@i + 1){ + if(getskilllv(144+.@i)) set ADV_QSK,ADV_QSK|pow(2,.@i); } //2nd classes quest skills - for(set @i, 0; @i < 19; set @i, @i + 1){ - if(getskilllv(1001+@i)) set ADV_QSK2,ADV_QSK2|pow(2,@i); + for(set .@i, 0; .@i < 19; set .@i, .@i + 1){ + if(getskilllv(1001+.@i)) set ADV_QSK2,ADV_QSK2|pow(2,.@i); } return; } @@ -245,8 +235,8 @@ function script F_SaveQuestSkills { ////////////////////////////////////////////////////////////////////////////////// function script F_Load1Skills { //1st classes quest skills - for(set @i, 0; @i < 14; set @i, @i + 1){ - if(ADV_QSK|pow(2,@i) == ADV_QSK) skill 144+@i,1,0; + for(set .@i, 0; .@i < 14; set .@i, .@i + 1){ + if(ADV_QSK|pow(2,.@i) == ADV_QSK) skill 144+.@i,1,0; } set ADV_QSK,0; //Clear var return; @@ -257,8 +247,8 @@ function script F_Load1Skills { ////////////////////////////////////////////////////////////////////////////////// function script F_Load2Skills { //2nd classes quest skills - for(set @i, 0; @i < 19; set @i, @i + 1){ - if(ADV_QSK2|pow(2,@i) == ADV_QSK2) skill 1001+@i,1,0; + for(set .@i, 0; .@i < 19; set .@i, .@i + 1){ + if(ADV_QSK2|pow(2,.@i) == ADV_QSK2) skill 1001+.@i,1,0; } set ADV_QSK2,0; //Clear var return; diff --git a/npc/other/acolyte_warp.txt b/npc/other/acolyte_warp.txt new file mode 100644 index 000000000..baaad35e7 --- /dev/null +++ b/npc/other/acolyte_warp.txt @@ -0,0 +1,137 @@ +//===== Hercules Script ====================================== +//= Acolyte Warpers +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= [Official Conversion] +//= Warpers to various towns. +//===== Additional Comments: ================================= +//= 1.0 First version. [Euphy] +//= Unsure if this is on kRO, so disabled for now. +//============================================================ + +prontera,98,121,4 script Acolyte#Prtclear 90,{ + mes "[Keiki]"; + mes "Hello there, adventurer."; + mes "I've been studying magic from all over Rune-Midgard to upgrade what I believe to be one of the greatest skills available to the acolyte class."; + next; + mes "[Keiki]"; + mes "I am the one and only Acolyte that has attained the Level 10 Warp Portal skill!"; + emotion e_dots,1; + next; + mes "[Keiki]"; + mes "That's right! And..."; + mes "I promise you that I don't forget locations that I have already memorized."; + mes "One day I will level up my skills to warp to wherever I please~"; + next; + mes "[Keiki]"; + mes "I am willing to warp you to the many locations that I have memorized for a small fee."; + mes "Would you like to use this service?"; + next; + switch(select("Yes:No")) { + case 1: + mes "[Keiki]"; + mes "Where would you like to go to?"; + mes "I wish you goodluck on your journey."; + next; + + setarray .@towns$[0], "Izlude", "Geffen", "Payon", "Morroc", "Alberta", "Al De Baran", "Comodo", "Umbala", "Juno"; + setarray .@maps$[0], "izlude", "geffen", "payon", "morocc", "alberta", "aldebaran", "comodo", "umbala", "yuno"; + setarray .@cost[0], 600, 1200, 1200, 1200, 1800, 2200, 2200, 2200, 1800; + + set .@size, getarraysize(.@towns$); + for(set .@i,0; .@i<.@size; set .@i,.@i+1) + set .@menu$, .@menu$+.@towns$[.@i]+" -> "+.@cost[.@i]+"z:"; + set .@i, select(.@menu$+"Cancel")-1; + if (.@i == .@size) + close; + if (Zeny < .@cost[.@i]) { + mes "[Keiki]"; + mes "I'm sorry, but you don't have"; + mes "enough zeny for the Teleport"; + mes "Service. The fee to teleport"; + mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; + close; + } + specialeffect2 EF_READYPORTAL; + specialeffect2 EF_TELEPORTATION; + specialeffect2 EF_PORTAL; + next; + set Zeny, Zeny - .@cost[.@i]; + switch(.@i) { + case 0: if (checkre(0)) warp "izlude",128,98; else warp "izlude",91,105; break; + case 1: warp "geffen",120,39; break; + case 2: warp "payon",161,58; break; + case 3: warp "morocc",156,46; break; + case 4: warp "alberta",117,56; break; + case 5: warp "aldebaran",168,112; break; + case 6: warp "comodo",209,143; break; + case 7: warp "umbala",100,154; break; + case 8: warp "yuno",158,125; break; + } + close; + case 2: + close; + } +} + +yuno,142,184,6 script Acolyte#Junoclear 90,{ + mes "[Isalei]"; + mes "Hello, adventurer."; + mes "My companion Keiki and I have discovered a way to increase our warp portal abilities."; + next; + mes "[Isalei]"; + mes "Though I have not mastered up to the level that she has, I have been able to attain Level 5."; + emotion e_dots,1; + next; + mes "[Isalei]"; + mes "Maybe one day I can level up my skills enough so that I can use Warp portal to more saved locations."; + next; + mes "[Isalei]"; + mes "I am willing to warp you to the many locations that I have memorized for a small fee."; + mes "Would you like to use this service?"; + next; + switch(select("Yes:No")) { + case 1: + mes "[Isalei]"; + mes "Where would you like to go to?"; + mes "I wish you goodluck on your journey."; + next; + + setarray .@towns$[0], "Einbroch", "Lighthalzen", "Hugel", "Rachel", "Prontera"; + setarray .@maps$[0], "einbroch", "lighthalzen", "hugel", "rachel", "prontera"; + setarray .@cost[0], 2200, 2200, 2200, 2200, 1800; + + set .@size, getarraysize(.@towns$); + for(set .@i,0; .@i<.@size; set .@i,.@i+1) + set .@menu$, .@menu$+.@towns$[.@i]+" -> "+.@cost[.@i]+"z:"; + set .@i, select(.@menu$+"Cancel")-1; + if (.@i == .@size) + close; + if (Zeny < .@cost[.@i]) { + mes "[Isalei]"; + mes "I'm sorry, but you don't have"; + mes "enough zeny for the Teleport"; + mes "Service. The fee to teleport"; + mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; + close; + } + specialeffect2 EF_READYPORTAL; + specialeffect2 EF_TELEPORTATION; + specialeffect2 EF_PORTAL; + next; + set Zeny, Zeny - .@cost[.@i]; + switch(.@i) { + case 0: warp "einbroch",67,195; break; + case 1: warp "lighthalzen",159,90; break; + case 2: warp "hugel",98,150; break; + case 3: warp "rachel",119,135; break; + case 4: warp "prontera",116,72; break; + } + close; + case 2: + close; + } +} diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt index 60077b88e..315d61165 100644 --- a/npc/other/arena/arena_aco.txt +++ b/npc/other/arena/arena_aco.txt @@ -1,20 +1,23 @@ //===== Hercules Script ====================================== -//= Izlude Arena script +//= Izlude Arena Script //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.2 +//= 1.5 //===== Description: ========================================= //= Izlude Acolyte Battle Arena //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Corrected variable typos. (bugreport:4374) [L0ne_w0lf] //= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.3 Label standardization. [Euphy] +//= 1.4 Script updates, and removed two level restrictions. [Euphy] +//= 1.5 Added GM management function. [Euphy] //============================================================ arena_room,114,102,0 script onlyaco#arena 45,1,1,{ OnTouch: - if (baseclass == job_acolyte && baselevel > 9) { + if (BaseClass == Job_Acolyte) { warp "arena_room",135,129; end; } @@ -24,13 +27,11 @@ OnTouch: } } -arena_room,135,126,0 warp byeaco#arena 1,1,arena_room,111,99 - arena_room,136,138,3 script Acolyte Waiting Room 124,{ end; OnInit: - waitingroom "Personal Force, Acolyte Class",50,"Acolyte Waiting Room::OnStartArena",1,1000,10,99; + waitingroom "Personal Force, Acolyte Class",50,"Acolyte Waiting Room::OnStartArena",1,1000,10; enablewaitingroomevent; end; @@ -40,7 +41,7 @@ OnStartArena: disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } @@ -48,63 +49,63 @@ Onstart: force_5-1,100,12,0 script arena#aco -1,5,5,{ OnTouch: donpcevent "allkill#aco::OnEnable"; - if (basejob == job_acolyte) { - donpcevent "arena_aco1::Onstart"; + if (BaseJob == Job_Acolyte) { + donpcevent "arena_aco1::OnStart"; } else { - donpcevent "arena_aco2::Onstart"; + donpcevent "arena_aco2::OnStart"; } disablenpc "arena#aco"; end; } - script arena_aco1 -1,{ -Onstart: +OnStart: donpcevent "Trocco#aco1::OnEnable"; end; -Onreset_01: +OnReset_01: enablenpc "force_01_02#aco"; enablenpc "force_02start#aco"; end; -Onreset_02: - donpcevent "force_02mob#aco::Onreset"; +OnReset_02: + donpcevent "force_02mob#aco::OnReset"; enablenpc "force_02_03#aco"; enablenpc "force_03start#aco"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#aco"; enablenpc "force_04start#aco"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#aco"; enablenpc "force_05start#aco"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#aco"; enablenpc "force_06start#aco"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#aco"; enablenpc "force_07start#aco"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#aco"; enablenpc "force_08start#aco"; end; -Onreset_08: +OnReset_08: enablenpc "force_08_09#aco"; enablenpc "force_09start#aco"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#aco"; end; } @@ -129,49 +130,49 @@ OnTimer4000: OnTimer60000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 7 Minutes",bc_map|bc_npc; end; OnTimer120000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 6 Minutes",bc_map|bc_npc; end; OnTimer180000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 5 Minutes",bc_map|bc_npc; end; OnTimer240000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 4 Minutes",bc_map|bc_npc; end; OnTimer300000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 3 Minutes",bc_map|bc_npc; end; OnTimer360000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 2 Minutes",bc_map|bc_npc; end; OnTimer420000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; } mapannounce "force_5-1","Time left: 1 Minute",bc_map|bc_npc; end; @@ -195,77 +196,77 @@ OnTimer494000: OnTimer495000: mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco1::Onfailclearstage"; + donpcevent "Trocco#aco1::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: +OnFailClearStage: mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco1::Ontimeroff"; - donpcevent "arena_aco1::Onreset"; + donpcevent "Trocco#aco1::OnTimerOff"; + //donpcevent "arena_aco1::OnReset"; donpcevent "Acolyte Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_5-1","Objective: Destroy all Red Plants!",bc_map|bc_npc; end; -On01_end: +On01_End: mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; end; -On02_start: +On02_Start: mapannounce "force_5-1","Objective: Kill at least 10 Drops!",bc_map|bc_npc; end; -On02_end: +On02_End: mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; end; -On03_start: +On03_Start: mapannounce "force_5-1","Objective: Terminate all Zombies!",bc_map|bc_npc; end; -On03_end: +On03_End: mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; end; -On04_start: +On04_Start: mapannounce "force_5-1","As a courtesy, we'll restore some of your HP and SP. Now, head to the next room! Go go go!!",bc_map|bc_npc; end; -On05_start: +On05_Start: mapannounce "force_5-1","Objective: Obliterate all Orc Zombies!",bc_map|bc_npc; end; -On05_end: +On05_End: mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; end; -On06_start: +On06_Start: mapannounce "force_5-1","Objective: Reach the South Exit while dodging Hydras!",bc_map|bc_npc; end; -On07_start: +On07_Start: mapannounce "force_5-1","Objective: Kill all Archer Skeletons and Firelock Soldiers!",bc_map|bc_npc; end; -On07_end: +On07_End: mapannounce "force_5-1","The West Exit has opened!",bc_map|bc_npc; end; -On08_start: +On08_Start: mapannounce "force_5-1","Objective: Boss Battle. Please proceed to the room to the north!",bc_map|bc_npc; end; -On09_start: +On09_Start: mapannounce "force_5-1","Objective: Kill Zombie Prisoners, Skel Prisoners and Zombie Troops!",bc_map|bc_npc; end; -On09_end: +On09_End: mapannounce "force_5-1","Boss Defeated! The North Exit has opened. Thank you.",bc_map|bc_npc; end; } @@ -279,7 +280,7 @@ OnTouch: - script force_01mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On01_start"; + donpcevent "Trocco#aco1::On01_Start"; monster "force_5-1",22,29,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; monster "force_5-1",29,29,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; monster "force_5-1",29,22,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; @@ -287,14 +288,14 @@ OnEnable: monster "force_5-1",25,25,"Red Plant",1078,1,"force_01mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_01mob#aco::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_01mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On01_end"; - donpcevent "arena_aco1::Onreset_01"; + donpcevent "Trocco#aco1::On01_End"; + donpcevent "arena_aco1::OnReset_01"; } end; } @@ -309,19 +310,19 @@ OnTouch: - script force_02mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On02_start"; + donpcevent "Trocco#aco1::On02_Start"; areamonster "force_5-1",22,69,29,130,"Drops",1572,20,"force_02mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_02mob#aco::OnMyMobDead"; end; OnMyMobDead: if ((mobcount("force_5-1","force_02mob#aco::OnMyMobDead") < 11) && ($@drop_gate == 0)) { set $@drop_gate,1; - donpcevent "Trocco#aco1::On02_end"; - donpcevent "arena_aco1::Onreset_02"; + donpcevent "Trocco#aco1::On02_End"; + donpcevent "arena_aco1::OnReset_02"; } end; } @@ -334,26 +335,26 @@ OnTouch: - script force_03mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On03_start"; + donpcevent "Trocco#aco1::On03_Start"; areamonster "force_5-1",9,157,41,190,"Zombie",1394,10,"force_03mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_03mob#aco::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_03mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On03_end"; - donpcevent "arena_aco1::Onreset_03"; + donpcevent "Trocco#aco1::On03_End"; + donpcevent "arena_aco1::OnReset_03"; } end; } force_5-1,69,174,0 script force_04start#aco -1,1,1,{ OnTouch: - donpcevent "Trocco#aco1::On04_start"; - donpcevent "arena_aco1::Onreset_04"; + donpcevent "Trocco#aco1::On04_Start"; + donpcevent "arena_aco1::OnReset_04"; percentheal 50,50; disablenpc "force_04start#aco"; end; @@ -368,18 +369,18 @@ OnTouch: - script force_05mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On05_start"; + donpcevent "Trocco#aco1::On05_Start"; areamonster "force_5-1",159,157,187,190,"Orc Zombie",1463,8,"force_05mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_05mob#aco::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_05mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On05_end"; - donpcevent "arena_aco1::Onreset_05"; + donpcevent "Trocco#aco1::On05_End"; + donpcevent "arena_aco1::OnReset_05"; } end; } @@ -387,14 +388,14 @@ OnMyMobDead: force_5-1,174,130,0 script force_06start#aco -1,1,1,{ OnTouch: donpcevent "force_06mob#aco::OnEnable"; - donpcevent "arena_aco1::Onreset_06"; + donpcevent "arena_aco1::OnReset_06"; disablenpc "force_06start#aco"; end; } - script force_06mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On06_start"; + donpcevent "Trocco#aco1::On06_Start"; monster "force_5-1",170,124,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; monster "force_5-1",170,121,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; monster "force_5-1",173,116,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; @@ -414,7 +415,7 @@ OnEnable: monster "force_5-1",179,80,"Hydra",1579,1,"force_06mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_06mob#aco::OnMyMobDead"; end; @@ -430,7 +431,7 @@ OnTouch: - script force_07mob#aco -1,{ OnEnable: - donpcevent "Trocco#aco1::On07_start"; + donpcevent "Trocco#aco1::On07_Start"; monster "force_5-1",170,32,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; monster "force_5-1",184,23,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; monster "force_5-1",165,9,"Archer Skeleton",1420,1,"force_07mob#aco::OnMyMobDead"; @@ -438,14 +439,14 @@ OnEnable: monster "force_5-1",189,23,"Firelock Soldier",1523,1,"force_07mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_07mob#aco::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_07mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On07_end"; - donpcevent "arena_aco1::Onreset_07"; + donpcevent "Trocco#aco1::On07_End"; + donpcevent "arena_aco1::OnReset_07"; } end; } @@ -453,15 +454,15 @@ OnMyMobDead: force_5-1,132,26,0 script force_08start#aco -1,1,1,{ OnTouch: percentheal 50,50; - donpcevent "Trocco#aco1::On08_start"; - donpcevent "arena_aco1::Onreset_08"; + donpcevent "Trocco#aco1::On08_Start"; + donpcevent "arena_aco1::OnReset_08"; disablenpc "force_08start#aco"; end; } force_5-1,99,82,0 script force_09start#aco -1,1,1,{ OnTouch: - donpcevent "Trocco#aco1::On09_start"; + donpcevent "Trocco#aco1::On09_Start"; donpcevent "force_09mob#aco::OnEnable"; disablenpc "force_09start#aco"; end; @@ -474,66 +475,66 @@ OnEnable: areamonster "force_5-1",88,89,111,110,"Zombie",1394,4,"force_09mob#aco::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_09mob#aco::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_09mob#aco::OnMyMobDead") < 1) { - donpcevent "Trocco#aco1::On09_end"; + donpcevent "Trocco#aco1::On09_End"; set $@arn_2,gettimetick(2); - donpcevent "arena_aco1::Onreset_09"; + donpcevent "arena_aco1::OnReset_09"; } end; } - script arena_aco2 -1,{ -Onstart: +OnStart: donpcevent "Trocco#aco2::OnEnable"; end; -Onreset_01: +OnReset_01: enablenpc "force_01_02#aco"; enablenpc "force_02start#pri"; end; -Onreset_02: - donpcevent "force_02mob#pri::Onreset"; +OnReset_02: + donpcevent "force_02mob#pri::OnReset"; enablenpc "force_02_03#aco"; enablenpc "force_03start#pri"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#aco"; enablenpc "force_04start#pri"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#aco"; enablenpc "force_05start#pri"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#aco"; enablenpc "force_06start#pri"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#aco"; enablenpc "force_07start#pri"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#aco"; enablenpc "force_08start#pri"; end; -Onreset_08: +OnReset_08: enablenpc "force_08_09#aco"; enablenpc "force_09start#pri"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#aco"; } @@ -557,49 +558,49 @@ OnTimer4000: OnTimer60000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 7 Minutes",bc_map|bc_npc; end; OnTimer120000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 6 Minutes",bc_map|bc_npc; end; OnTimer180000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 5 Minutes",bc_map|bc_npc; end; OnTimer240000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 4 Minutes",bc_map|bc_npc; end; OnTimer300000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 3 Minutes",bc_map|bc_npc; end; OnTimer360000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 2 Minutes",bc_map|bc_npc; end; OnTimer420000: if (getmapusers("force_5-1") == 0) { - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; } mapannounce "force_5-1","Time left: 1 Minute",bc_map|bc_npc; end; @@ -623,85 +624,85 @@ OnTimer494000: OnTimer495000: mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco2::Onfailclearstage"; + donpcevent "Trocco#aco2::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: +OnFailClearStage: mapwarp "force_5-1","prt_are_in",177,86; - donpcevent "Trocco#aco2::Ontimeroff"; - donpcevent "arena_aco2::Onreset"; + donpcevent "Trocco#aco2::OnTimerOff"; + //donpcevent "arena_aco2::OnReset"; donpcevent "Acolyte Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_5-1","Objective: Kill all Zombies!",bc_map|bc_npc; end; -On01_end: +On01_End: mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; end; -On02_start: +On02_Start: mapannounce "force_5-1","Objective: Defeat all monsters!",bc_map|bc_npc; end; -On02_end: +On02_End: mapannounce "force_5-1","The North Exit has opened!",bc_map|bc_npc; end; -On03_start: +On03_Start: mapannounce "force_5-1","Objective: Destroy all Red Plants!",bc_map|bc_npc; end; -On03_end: +On03_End: mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; end; -On04_start: +On04_Start: mapannounce "force_5-1","Objective: Obliterate every monster!",bc_map|bc_npc; end; -On04_end: +On04_End: mapannounce "force_5-1","The East Exit has opened!",bc_map|bc_npc; end; -On05_start: +On05_Start: mapannounce "force_5-1","Objective: Defeat Gargoyle!",bc_map|bc_npc; end; -On05_end: +On05_End: mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; end; -On06_start: +On06_Start: mapannounce "force_5-1","Objective: Kill all Khalitzburgs!",bc_map|bc_npc; end; -On06_end: +On06_End: mapannounce "force_5-1","The South Exit has opened!",bc_map|bc_npc; end; -On07_start: +On07_Start: mapannounce "force_5-1","Objective: Kill 1 Ancient Mummy!",bc_map|bc_npc; end; -On07_end: +On07_End: mapannounce "force_5-1","The West Exit has opened!",bc_map|bc_npc; end; -On08_start: +On08_Start: mapannounce "force_5-1","The time has come for the Boss Battle. Please move north into the next room...",bc_map|bc_npc; end; -On09_start: +On09_Start: mapannounce "force_5-1","Objective: Defeat the Boss Monster!",bc_map|bc_npc; end; -On09_end: +On09_End: mapannounce "force_5-1","Boss Cleared! The North Exit has opened! Thank you.",bc_map|bc_npc; end; } @@ -715,18 +716,18 @@ OnTouch: - script force_01mob#pri -1,{ OnEnable: - donpcevent "Trocco#aco2::On01_start"; + donpcevent "Trocco#aco2::On01_Start"; areamonster "force_5-1",13,9,38,41,"Zombie",1394,10,"force_01mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_01mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_01mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On01_end"; - donpcevent "arena_aco2::Onreset_01"; + donpcevent "Trocco#aco2::On01_End"; + donpcevent "arena_aco2::OnReset_01"; } end; } @@ -745,23 +746,23 @@ OnTouch: - script force_02mob#pri -1,{ OnOn1: - donpcevent "Trocco#aco2::On02_start"; + donpcevent "Trocco#aco2::On02_Start"; areamonster "force_5-1",22,69,29,130,"Orc Skeleton",1462,5,"force_02mob#pri::OnMyMobDead"; end; OnOn2: - donpcevent "Trocco#aco2::On02_start"; + donpcevent "Trocco#aco2::On02_Start"; areamonster "force_5-1",22,69,29,130,"Ghoul",1423,5,"force_02mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_02mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_02mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On02_end"; - donpcevent "arena_aco2::Onreset_02"; + donpcevent "Trocco#aco2::On02_End"; + donpcevent "arena_aco2::OnReset_02"; } end; } @@ -775,18 +776,18 @@ OnTouch: - script force_03mob#pri -1,{ OnEnable: - donpcevent "Trocco#aco2::On03_start"; + donpcevent "Trocco#aco2::On03_Start"; areamonster "force_5-1",14,163,37,185,"Red Plant",1078,5,"force_03mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_03mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_03mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On03_end"; - donpcevent "arena_aco2::Onreset_03"; + donpcevent "Trocco#aco2::On03_End"; + donpcevent "arena_aco2::OnReset_03"; } end; } @@ -805,7 +806,7 @@ OnTouch: - script force_04mob#pri -1,{ OnOn1: - donpcevent "Trocco#aco2::On04_start"; + donpcevent "Trocco#aco2::On04_Start"; monster "force_5-1",rand(71,130),rand(170,178),"Evil Druid",1435,1,"force_04mob#pri::OnMyMobDead"; monster "force_5-1",rand(71,130),rand(170,178),"Wrath",1475,1,"force_04mob#pri::OnMyMobDead"; monster "force_5-1",rand(71,130),rand(170,178),"Zombie Prisoner",1480,1,"force_04mob#pri::OnMyMobDead"; @@ -813,21 +814,21 @@ OnOn1: end; OnOn2: - donpcevent "Trocco#aco2::On04_start"; + donpcevent "Trocco#aco2::On04_Start"; areamonster "force_5-1",71,170,130,178,"Evil Druid",1435,2,"force_04mob#pri::OnMyMobDead"; areamonster "force_5-1",71,170,130,178,"Wrath",1475,2,"force_04mob#pri::OnMyMobDead"; areamonster "force_5-1",71,170,130,178,"Zombie Prisoner",1480,2,"force_04mob#pri::OnMyMobDead"; monster "force_5-1",rand(71,130),rand(170,178),"Skel Prisoner",1479,1,"force_04mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_04mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_04mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On04_end"; - donpcevent "arena_aco2::Onreset_04"; + donpcevent "Trocco#aco2::On04_End"; + donpcevent "arena_aco2::OnReset_04"; } end; } @@ -854,7 +855,7 @@ OnOn2: areamonster "force_5-1",161,159,187,190,"Penomena",1441,10,"force_05ex#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_05ex#pri::OnMyMobDead"; end; @@ -864,19 +865,19 @@ OnMyMobDead: - script force_05mob#pri -1,{ OnEnable: - donpcevent "Trocco#aco2::On05_start"; + donpcevent "Trocco#aco2::On05_Start"; areamonster "force_5-1",161,159,187,190,"Gargoyle",1597,4,"force_05mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_05mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_05mob#pri::OnMyMobDead") < 1) { - donpcevent "force_05ex#pri::Onreset"; - donpcevent "Trocco#aco2::On05_end"; - donpcevent "arena_aco2::Onreset_05"; + donpcevent "force_05ex#pri::OnReset"; + donpcevent "Trocco#aco2::On05_End"; + donpcevent "arena_aco2::OnReset_05"; } end; } @@ -902,7 +903,7 @@ OnEnable: areamonster "force_5-1",170,67,178,131,"Permeter",1314,5,"force_06ex#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_06ex#pri::OnMyMobDead"; end; @@ -912,29 +913,29 @@ OnMyMobDead: - script force_06mob#pri -1,{ OnOn1: - donpcevent "Trocco#aco2::On06_start"; + donpcevent "Trocco#aco2::On06_Start"; monster "force_5-1",rand(170,178),rand(67,131),"Khalitzburg",1438,1,"force_06mob#pri::OnMyMobDead"; end; OnOn2: - donpcevent "Trocco#aco2::On06_start"; + donpcevent "Trocco#aco2::On06_Start"; areamonster "force_5-1",170,67,178,131,"Khalitzburg",1438,2,"force_06mob#pri::OnMyMobDead"; end; OnOn3: - donpcevent "Trocco#aco2::On06_start"; + donpcevent "Trocco#aco2::On06_Start"; areamonster "force_5-1",170,67,178,131,"Khalitzburg",1438,4,"force_06mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_06mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_06mob#pri::OnMyMobDead") < 1) { - donpcevent "force_06ex#pri::Onreset"; - donpcevent "Trocco#aco2::On06_end"; - donpcevent "arena_aco2::Onreset_06"; + donpcevent "force_06ex#pri::OnReset"; + donpcevent "Trocco#aco2::On06_End"; + donpcevent "arena_aco2::OnReset_06"; } end; } @@ -948,33 +949,33 @@ OnTouch: - script force_07mob#pri -1,{ OnEnable: - donpcevent "Trocco#aco2::On07_start"; + donpcevent "Trocco#aco2::On07_Start"; monster "force_5-1",rand(160,188),rand(9,42),"Ancient Mummy",1522,1,"force_07mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_07mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_07mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On07_end"; - donpcevent "arena_aco2::Onreset_07"; + donpcevent "Trocco#aco2::On07_End"; + donpcevent "arena_aco2::OnReset_07"; } end; } force_5-1,132,26,0 script force_08start#pri -1,1,1,{ OnTouch: - donpcevent "Trocco#aco2::On08_start"; - donpcevent "arena_aco2::Onreset_08"; + donpcevent "Trocco#aco2::On08_Start"; + donpcevent "arena_aco2::OnReset_08"; disablenpc "force_08start#pri"; end; } force_5-1,99,82,0 script force_09start#pri -1,1,1,{ OnTouch: - donpcevent "Trocco#aco2::On09_start"; + donpcevent "Trocco#aco2::On09_Start"; if (BaseLevel < 70) { donpcevent "force_09mob#pri::OnOn4"; } @@ -1010,15 +1011,15 @@ OnOn4: areamonster "force_5-1",88,89,111,110,"Zombie",1394,4,"force_09mob#pri::OnMyMobDead"; end; -Onreset: +OnReset: killmonster "force_5-1","force_09mob#pri::OnMyMobDead"; end; OnMyMobDead: if (mobcount("force_5-1","force_09mob#pri::OnMyMobDead") < 1) { - donpcevent "Trocco#aco2::On09_end"; + donpcevent "Trocco#aco2::On09_End"; set $@arn_2,gettimetick(2); - donpcevent "arena_aco2::Onreset_09"; + donpcevent "arena_aco2::OnReset_09"; } end; } @@ -1026,7 +1027,7 @@ OnMyMobDead: force_5-1,62,26,0 script force_08_01#aco 45,1,1,{ OnTouch: warp "force_5-1",40,26; - if (basejob == job_acolyte) { + if (BaseJob == Job_Acolyte) { enablenpc "force_01start#aco"; } else { @@ -1035,68 +1036,9 @@ OnTouch: end; } -/* -force_5-1,25,44,0 warp force_01_02#aco 1,1,force_5-1,25,69 -force_5-1,25,134,0 warp force_02_03#aco 1,1,force_5-1,25,159 -force_5-1,44,174,0 warp force_03_04#aco 1,1,force_5-1,69,174 -force_5-1,134,174,0 warp force_04_05#aco 1,1,force_5-1,159,174 -force_5-1,174,155,0 warp force_05_06#aco 1,1,force_5-1,174,130 -force_5-1,174,65,0 warp force_06_07#aco 1,1,force_5-1,174,40 -force_5-1,155,26,0 warp force_07_08#aco 1,1,force_5-1,132,26 -force_5-1,99,54,0 warp force_08_09#aco 1,1,force_5-1,99,82 -*/ - -force_5-1,25,44,0 script force_01_02#aco 45,1,1,{ -OnTouch: - warp "force_5-1",25,69; - end; -} - -force_5-1,25,134,0 script force_02_03#aco 45,1,1,{ -OnTouch: - warp "force_5-1",25,159; - end; -} - -force_5-1,44,174,0 script force_03_04#aco 45,1,1,{ -OnTouch: - warp "force_5-1",69,174; - end; -} - -force_5-1,134,174,0 script force_04_05#aco 45,1,1,{ -OnTouch: - warp "force_5-1",159,174; - end; -} - -force_5-1,174,155,0 script force_05_06#aco 45,1,1,{ -OnTouch: - warp "force_5-1",174,130; - end; -} - -force_5-1,174,65,0 script force_06_07#aco 45,1,1,{ -OnTouch: - warp "force_5-1",174,40; - end; -} - -force_5-1,155,26,0 script force_07_08#aco 45,1,1,{ -OnTouch: - warp "force_5-1",132,26; - end; -} - -force_5-1,99,54,0 script force_08_09#aco 45,1,1,{ -OnTouch: - warp "force_5-1",99,82; - end; -} - force_5-1,99,124,0 script force_exit#aco 45,1,1,{ OnTouch: - donpcevent "Trocco#aco1::Ontimeroff"; + donpcevent "Trocco#aco1::OnTimerOff"; donpcevent "#arn_timer_aco::OnEnable"; mapwarp "force_5-1","prt_are_in",21,35; end; @@ -1186,18 +1128,18 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ if (arena_point < 29981) { set arena_point,arena_point+20; warp "arena_room",100,75; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "#arn_timer_aco::OnStop"; donpcevent "Acolyte Waiting Room::OnStart"; } else { warp "arena_room",100,75; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "#arn_timer_aco::OnStop"; donpcevent "Acolyte Waiting Room::OnStart"; } end; } else { - if (basejob == job_acolyte) { + if (BaseJob == Job_Acolyte) { set .@acotop_t,$arn_acotop; set .@acotop_n$,$arn_acotopn$; } @@ -1253,10 +1195,10 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ mes "name will now be listed"; mes "under the Time Force Battle"; mes "Arena - Acolyte Class Record!"; - if (basejob == job_acolyte) { + if (BaseJob == Job_Acolyte) { set $arn_acotop,.@record_timeaco; set $arn_acotopn$, strcharinfo(0); - donpcevent "Vendigos::Onlinerec_aco"; + donpcevent "Vendigos::OnLineRec_aco"; } else { if (BaseLevel < 70) { @@ -1275,7 +1217,7 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ set $arn_pritop90,.@record_timeaco; set $arn_pritopn90$, strcharinfo(0); } - donpcevent "Vendigos::Onlinerec_pri"; + donpcevent "Vendigos::OnLineRec_pri"; } next; if (arena_point == 30000) { @@ -1330,7 +1272,7 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ } specialeffect2 EF_EXIT; warp "arena_room",100,75; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; donpcevent "Acolyte Waiting Room::OnStart"; end; @@ -1394,7 +1336,7 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ } specialeffect2 EF_EXIT; warp "arena_room",100,75; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; donpcevent "Acolyte Waiting Room::OnStart"; end; @@ -1412,31 +1354,31 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ mes "the Time Force Battle Arena"; mes "Acolyte Class Records."; mes "Congratulations~"; - if (basejob == job_acolyte) { + if (BaseJob == Job_Acolyte) { set $arn_acotop,.@record_timeaco; set $arn_acotopn$, strcharinfo(0); - donpcevent "#Vendigos::Onlinerec_aco"; + donpcevent "#Vendigos::OnLineRec_aco"; } else { if (BaseLevel < 70) { set $arn_pritop60,.@record_timeaco; set $arn_pritopn60$, strcharinfo(0); - donpcevent "#Vendigos::Onlinerec_pri60"; + donpcevent "#Vendigos::OnLineRec_pri60"; } else if (BaseLevel < 80) { set $arn_pritop70,.@record_timeaco; set $arn_pritopn70$, strcharinfo(0); - donpcevent "#Vendigos::Onlinerec_pri70"; + donpcevent "#Vendigos::OnLineRec_pri70"; } else if (BaseLevel < 90) { set $arn_pritop80,.@record_timeaco; set $arn_pritopn80$, strcharinfo(0); - donpcevent "#Vendigos::Onlinerec_pri80"; + donpcevent "#Vendigos::OnLineRec_pri80"; } else { set $arn_pritop90,.@record_timeaco; set $arn_pritopn90$, strcharinfo(0); - donpcevent "#Vendigos::Onlinerec_pri90"; + donpcevent "#Vendigos::OnLineRec_pri90"; } } next; @@ -1492,11 +1434,11 @@ prt_are_in,25,31,3 script Staff#aco-2 67,{ } specialeffect2 EF_EXIT; warp "arena_room",100,75; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; donpcevent "Acolyte Waiting Room::OnStart"; } - close; + end; } } @@ -1518,13 +1460,13 @@ OnTimer4000: end; OnTimer60000: - donpcevent "arn_warp_aco::Onout"; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "arn_warp_aco::OnOut"; + donpcevent "#arn_timer_aco::OnStop"; //donpcevent "alloff#aco::OnEnable"; donpcevent "Acolyte Waiting Room::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; } @@ -1534,17 +1476,17 @@ OnInit: disablenpc "arn_warp_aco"; end; -Onout: +OnOut: enablenpc "arn_warp_aco"; end; -Onhide: +OnHide: disablenpc "arn_warp_aco"; end; OnTouch: warp "arena_room",100,75; - donpcevent "arn_warp_aco::Onhide"; + donpcevent "arn_warp_aco::OnHide"; end; } @@ -1553,29 +1495,29 @@ OnEnable: initnpctimer; end; -Onstop: +OnStop: stopnpctimer; end; } - script allkill#aco -1,{ OnEnable: - donpcevent "force_01mob#aco::Onreset"; - donpcevent "force_02mob#aco::Onreset"; - donpcevent "force_03mob#aco::Onreset"; - donpcevent "force_05mob#aco::Onreset"; - donpcevent "force_06mob#aco::Onreset"; - donpcevent "force_07mob#aco::Onreset"; - donpcevent "force_09mob#aco::Onreset"; - donpcevent "force_01mob#pri::Onreset"; - donpcevent "force_02mob#pri::Onreset"; - donpcevent "force_03mob#pri::Onreset"; - donpcevent "force_04mob#pri::Onreset"; - donpcevent "force_05mob#pri::Onreset"; - donpcevent "force_06mob#pri::Onreset"; - donpcevent "force_07mob#pri::Onreset"; - donpcevent "force_09mob#pri::Onreset"; - donpcevent "force_05ex#pri::Onreset"; + donpcevent "force_01mob#aco::OnReset"; + donpcevent "force_02mob#aco::OnReset"; + donpcevent "force_03mob#aco::OnReset"; + donpcevent "force_05mob#aco::OnReset"; + donpcevent "force_06mob#aco::OnReset"; + donpcevent "force_07mob#aco::OnReset"; + donpcevent "force_09mob#aco::OnReset"; + donpcevent "force_01mob#pri::OnReset"; + donpcevent "force_02mob#pri::OnReset"; + donpcevent "force_03mob#pri::OnReset"; + donpcevent "force_04mob#pri::OnReset"; + donpcevent "force_05mob#pri::OnReset"; + donpcevent "force_06mob#pri::OnReset"; + donpcevent "force_07mob#pri::OnReset"; + donpcevent "force_09mob#pri::OnReset"; + donpcevent "force_05ex#pri::OnReset"; disablenpc "force_01start#aco"; disablenpc "force_02start#aco"; disablenpc "force_03start#aco"; @@ -1604,9 +1546,9 @@ OnEnable: disablenpc "force_08_09#aco"; disablenpc "force_exit#aco"; disablenpc "arn_warp_aco"; //050630 - donpcevent "Trocco#aco1::Onstop"; - donpcevent "Trocco#aco2::Onstop"; - donpcevent "#arn_timer_aco::Onstop"; + donpcevent "Trocco#aco1::OnTimerOff"; + donpcevent "Trocco#aco2::OnTimerOff"; + donpcevent "#arn_timer_aco::OnStop"; end; } @@ -1626,7 +1568,7 @@ arena_room,94,82,7 script Arena Record Staff#aco 79,{ mes "Class Arena Challenges?"; mes "Please choose from the menu."; next; - switch(select("Acolyte Mode:Priest - Level 70 or lower:Priest - Level 80 or lower:Priest - Level 90 or lower:Priest - Level 91 ~ 99")) { + switch(select("Acolyte Mode:Priest - Level 70 or lower:Priest - Level 80 or lower:Priest - Level 90 or lower:Priest - Level 91 ~ "+(checkre(0)?"160":"99"))) { case 1: set .@acotop_t,$arn_acotop; set .@acotop_n$,$arn_acotopn$; @@ -1685,24 +1627,24 @@ OnInit: } - script #Vendigos -1,{ -Onlinerec_aco: +OnLineRec_aco: mapannounce "arena_room","Vendigos: "+$arn_acotopn$+" has made a new record in the Arena Time Force Battle - Acolyte Mode. Congratulations!",bc_map,"0xFFFF00"; end; -Onlinerec_pri60: +OnLineRec_pri60: mapannounce "arena_room","Vendigos: "+$arn_pritopn60$+" has made a new record in the Arena Time Force Battle - Priest: Level 70 or lower. Congratulations!",bc_map,"0xFFFF00"; end; -Onlinerec_pri70: +OnLineRec_pri70: mapannounce "arena_room","Vendigos: "+$arn_pritopn70$+" has made a new record in the Arena Time Force Battle - Priest: Level 80 or lower. Congratulations!",bc_map,"0xFFFF00"; end; -Onlinerec_pri80: +OnLineRec_pri80: mapannounce "arena_room","Vendigos: "+$arn_pritopn80$+" has made a new record in the Arena Time Force Battle - Priest: Level 90 or lower. Congratulations!",bc_map,"0xFFFF00"; end; -Onlinerec_pri90: - mapannounce "arena_room","Vendigos: "+$arn_pritopn90$+" has made a new record in the Arena Time Force Battle - Priest: Level 91~99. Congratulations!",bc_map,"0xFFFF00"; +OnLineRec_pri90: + mapannounce "arena_room","Vendigos: "+$arn_pritopn90$+" has made a new record in the Arena Time Force Battle - Priest: Level 91~"+(checkre(0)?"160":"99")+". Congratulations!",bc_map,"0xFFFF00"; end; } @@ -1749,7 +1691,7 @@ arena_room,140,136,3 script Guide Alias 729,{ mes "entire stage, you will be"; mes "warped to the ^3131DDFinale Waiting"; mes "Room^000000 where you'll be rewarded"; - mes "with Arena Points. But you must^FFFFFFaaaa^000000 get your points within 1 minute."; + mes "with Arena Points. But you must get your points within 1 minute."; next; mes "[Alias]"; mes "Once you're automatically"; @@ -1766,21 +1708,21 @@ arena_room,140,136,3 script Guide Alias 729,{ close; } -/* arena_room,195,5,3 script log-on-aco#arena 802,{ - input .@input; //,0,2000; - if (.@input == 0) { + set .@i, callfunc("F_GM_NPC",1357,0); + if (.@i == -1) { mes "^3355FFIncorrect Password.^000000"; close; - } - else if (.@input == 1357) { + } else if (.@i == 0) { + end; + } else { mes "[!!CAUTION!!]"; mes "^3355FFThe following menu"; mes "the record for that"; mes "particular mode in the"; mes "Arena Acolyte Class Mode.^000000"; next; - switch(select("Cancel:Acolyte:~level 70:~level 80:~level 90:~level 99")) { + switch(select("Cancel:Acolyte:~level 70:~level 80:~level 90:~level "+(checkre(0)?"160":"99"))) { case 1: mes "^3355FFCommand has"; mes "been canceled.^000000"; @@ -1811,13 +1753,14 @@ arena_room,195,5,3 script log-on-aco#arena 802,{ } arena_room,195,10,3 script acolink#arena 802,{ - input .@input; //,0,2000; - if (.@input == 0) { + set .@i, callfunc("F_GM_NPC",1357,0); + if (.@i == -1) { mes "Command has"; mes "been canceled."; close; - } - else if (.@input == 1357) { + } else if (.@i == 0) { + end; + } else { mes "This NPC opens and"; mes "closes the Warp Portal"; mes "to the Arena's Acolyte"; @@ -1842,4 +1785,3 @@ arena_room,195,10,3 script acolink#arena 802,{ } } } -*/ diff --git a/npc/other/arena/arena_lvl50.txt b/npc/other/arena/arena_lvl50.txt index 9eaba7376..f45ca16ee 100644 --- a/npc/other/arena/arena_lvl50.txt +++ b/npc/other/arena/arena_lvl50.txt @@ -1,31 +1,33 @@ //===== Hercules Script ====================================== -//= Izlude Arena lvl 50 +//= Izlude Arena Level 50 //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.1 +//= 1.3 //===== Description: ========================================= //= Izlude Battle Arena Level 50 //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Replaced effect numerics with constants. [Samuray22] +//= 1.2 Label standardization. [Euphy] +//= 1.3 Script updates. [Euphy] //============================================================ -arena_room,64,138,5 script lvl 50s Waiting Room 124,{ +arena_room,64,138,5 script Lv50 Waiting Room 124,{ end; OnInit: - waitingroom "Individual; Level 50 to 69",50,"lvl 50s Waiting Room::OnStartArena",1,1000,50,69; + waitingroom "Individual; Level 50 to 69",50,"Lv50 Waiting Room::OnStartArena",1,1000,50,69; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "force_1-1",99,12; - donpcevent "arena#50::Onstart"; + donpcevent "arena#50::OnStart"; disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } @@ -33,11 +35,7 @@ Onstart: force_1-1,99,20,4 script Heel and Toe#arena 124,{ end; -OnInit: - set $@mapcount50, 0; - end; - -Onstart: +OnStart: initnpctimer; set $arena_min50st,gettime(2); set $arena_sec50st,gettime(1); @@ -56,32 +54,29 @@ OnTimer5000: end; OnTimer60000: - set $@mapcount50, getmapusers ("force_1-1"); - if ($@mapcount50 == 0) { - donpcevent "Heel and Toe#arena::Onfailclearstage"; + if (getmapusers("force_1-1") == 0) { + donpcevent "Heel and Toe#arena::OnFailClearStage"; } mapannounce "force_1-1","Remaining Time : 4 minutes ",0; end; OnTimer120000: - set $@mapcount50, getmapusers ("force_1-1"); - if ($@mapcount50 == 0) { - donpcevent "Heel and Toe#arena::Onfailclearstage"; + if (getmapusers("force_1-1") == 0) { + donpcevent "Heel and Toe#arena::OnFailClearStage"; } mapannounce "force_1-1","Remaining Time : 3 minutes ",0; end; OnTimer180000: - set $@mapcount50, getmapusers ("force_1-1"); - if ($@mapcount50 == 0) { - donpcevent "Heel and Toe#arena::Onfailclearstage"; + if (getmapusers("force_1-1") == 0) { + donpcevent "Heel and Toe#arena::OnFailClearStage"; } mapannounce "force_1-1","Remaining Time : 2 minutes ",0; -end; + end; + OnTimer240000: - set $@mapcount50, getmapusers ("force_1-1"); - if ($@mapcount50 == 0) { - donpcevent "Heel and Toe#arena::Onfailclearstage"; + if (getmapusers("force_1-1") == 0) { + donpcevent "Heel and Toe#arena::OnFailClearStage"; } mapannounce "force_1-1","Remaining Time : 1 minute ",0; end; @@ -105,146 +100,144 @@ OnTimer314000: OnTimer315000: mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "Heel and Toe#arena::Onfailclearstage"; + donpcevent "Heel and Toe#arena::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: - donpcevent "cast#50::Ontimeover1"; +OnFailClearStage: + donpcevent "cast#50::OnTimeOver1"; mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "Heel and Toe#arena::Ontimeroff"; - donpcevent "arena#50::Onreset_all"; - donpcevent "alloff#50::Onon"; - donpcevent "lvl 50s Waiting Room::Onstart"; + donpcevent "Heel and Toe#arena::OnTimerOff"; + donpcevent "arena#50::OnReset_All"; + donpcevent "alloff#50::OnEnable"; + donpcevent "Lv50 Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_1-1","In order to clear this battle, you must kill all Smokies!",0; end; -On01_end: +On01_End: mapannounce "force_1-1","A door to the north room has opened!",0; end; -On02_start: +On02_Start: mapannounce "force_1-1","Please escape to the door from monsters!",0; end; -On02_end: +On02_End: mapannounce "force_1-1","A door to the north room has opened!",0; end; -On03_start: +On03_Start: mapannounce "force_1-1","In order to clear this battle, you must kill all Karakasa!",0; end; -On03_end: +On03_End: mapannounce "force_1-1","Clear! A door to the east room has opened!",0; end; -On04_start: +On04_Start: mapannounce "force_1-1","In order to clear this battle, you must kill all Kobolds and escape to the east room!",0; end; -On04_end: +On04_End: mapannounce "force_1-1","A door to the east room has opened!",0; end; -On05_start: +On05_Start: mapannounce "force_1-1","In order to clear this battle, you must kill all monsters except obstructor monsters!",0; end; -On05_end: +On05_End: mapannounce "force_1-1","Clear! A door to the south room has opened!",0; end; -On06_start: +On06_Start: mapannounce "force_1-1","In order to clear this battle, you must kill all Drops and escape to the south room!",0; end; -On06_end: +On06_End: mapannounce "force_1-1","A door to the south room has opened!",0; end; -On07_start: +On07_Start: mapannounce "force_1-1","In order to clear this battle, you must get rid of a Red Plant in the center of this room while dodging attacks from Hydras!",0; end; -On07_end: +On07_End: mapannounce "force_1-1","Clear! A door to the west room has opened!",0; end; -On08_start: +On08_Start: mapannounce "force_1-1","Please escape to the north exit!",0; end; -On09_start: +On09_Start: mapannounce "force_1-1","In order to clear this battle, you must defeat a Vocal!",0; end; -On09_end: +On09_End: mapannounce "force_1-1","Boss Clear! - A door at the north has opened. Thank you. ",0; end; - } - script arena#50 -1,{ - -Onreset_01: - donpcevent "force_01ex#50::Onreset"; - donpcevent "force_02start#50::Onon"; +OnReset_01: + donpcevent "force_01ex#50::OnReset"; + donpcevent "force_02start#50::OnEnable"; enablenpc "force_01_02#50"; enablenpc "force_02_03#50"; end; -Onreset_02: - donpcevent "force_02mob#50::Onreset"; - donpcevent "force_03start#50::Onon"; +OnReset_02: + donpcevent "force_02mob#50::OnReset"; + donpcevent "force_03start#50::OnEnable"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#50"; - donpcevent "force_04start#50::Onon"; - donpcevent "force_03ex#50::Onreset"; + donpcevent "force_04start#50::OnEnable"; + donpcevent "force_03ex#50::OnReset"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#50"; - donpcevent "force_05start#50::Onon"; - donpcevent "force_04ex#50::Onreset"; + donpcevent "force_05start#50::OnEnable"; + donpcevent "force_04ex#50::OnReset"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#50"; - donpcevent "force_06start#50::Onon"; - donpcevent "force_05ex#50::Onreset"; + donpcevent "force_06start#50::OnEnable"; + donpcevent "force_05ex#50::OnReset"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#50"; - donpcevent "force_07start#50::Onon"; - donpcevent "force_06ex#50::Onreset"; + donpcevent "force_07start#50::OnEnable"; + donpcevent "force_06ex#50::OnReset"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#50"; - donpcevent "force_07ex#50::Onreset"; - donpcevent "force_08start#50::Onon"; + donpcevent "force_07ex#50::OnReset"; + donpcevent "force_08start#50::OnEnable"; end; -Onreset_08: - donpcevent "force_09start#50::Onon"; +OnReset_08: + donpcevent "force_09start#50::OnEnable"; enablenpc "force_08_09#50"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#50"; end; -Onstart: +OnStart: disablenpc "force_01_02#50"; disablenpc "force_02_03#50"; disablenpc "force_03_04#50"; @@ -254,598 +247,533 @@ Onstart: disablenpc "force_07_08#50"; disablenpc "force_08_09#50"; disablenpc "force_exit#50"; - donpcevent "Heel and Toe#arena::Ontimeroff"; - donpcevent "force_01mob#50::Onreset"; - donpcevent "force_02mob#50::Onreset"; - donpcevent "force_03mob#50::Onreset"; - donpcevent "force_04mob#50::Onreset"; - donpcevent "force_05mob#50::Onreset"; - donpcevent "force_06mob#50::Onreset"; - donpcevent "force_07mob#50::Onreset"; - donpcevent "force_09mob#50::Onreset"; - donpcevent "force_01ex#50::Onreset"; - donpcevent "force_03ex#50::Onreset"; - donpcevent "force_04ex#50::Onreset"; - donpcevent "force_05ex#50::Onreset"; - donpcevent "force_06ex#50::Onreset"; - donpcevent "force_07ex#50::Onreset"; - donpcevent "force_08ex#50::Onreset"; - donpcevent "force_09ex#50::Onreset"; + donpcevent "Heel and Toe#arena::OnTimerOff"; + donpcevent "force_01mob#50::OnReset"; + donpcevent "force_02mob#50::OnReset"; + donpcevent "force_03mob#50::OnReset"; + donpcevent "force_04mob#50::OnReset"; + donpcevent "force_05mob#50::OnReset"; + donpcevent "force_06mob#50::OnReset"; + donpcevent "force_07mob#50::OnReset"; + donpcevent "force_09mob#50::OnReset"; + donpcevent "force_01ex#50::OnReset"; + donpcevent "force_03ex#50::OnReset"; + donpcevent "force_04ex#50::OnReset"; + donpcevent "force_05ex#50::OnReset"; + donpcevent "force_06ex#50::OnReset"; + donpcevent "force_07ex#50::OnReset"; + //donpcevent "force_08ex#50::OnReset"; + donpcevent "force_09ex#50::OnReset"; enablenpc "force_08_01#50"; - donpcevent "force_01start#50::Onon"; - donpcevent "Heel and Toe#arena::Onstart"; - end; - -Onreset_all: - donpcevent "force_01mob#50::Onreset"; - donpcevent "force_02mob#50::Onreset"; - donpcevent "force_03mob#50::Onreset"; - donpcevent "force_04mob#50::Onreset"; - donpcevent "force_05mob#50::Onreset"; - donpcevent "force_06mob#50::Onreset"; - donpcevent "force_07mob#50::Onreset"; - donpcevent "force_09mob#50::Onreset"; - donpcevent "force_01ex#50::Onreset"; - donpcevent "force_03ex#50::Onreset"; - donpcevent "force_04ex#50::Onreset"; - donpcevent "force_05ex#50::Onreset"; - donpcevent "force_06ex#50::Onreset"; - donpcevent "force_07ex#50::Onreset"; - donpcevent "force_08ex#50::Onreset"; - donpcevent "force_09ex#50::Onreset"; + donpcevent "force_01start#50::OnEnable"; + donpcevent "Heel and Toe#arena::OnStart"; + end; + +OnReset_All: + donpcevent "force_01mob#50::OnReset"; + donpcevent "force_02mob#50::OnReset"; + donpcevent "force_03mob#50::OnReset"; + donpcevent "force_04mob#50::OnReset"; + donpcevent "force_05mob#50::OnReset"; + donpcevent "force_06mob#50::OnReset"; + donpcevent "force_07mob#50::OnReset"; + donpcevent "force_09mob#50::OnReset"; + donpcevent "force_01ex#50::OnReset"; + donpcevent "force_03ex#50::OnReset"; + donpcevent "force_04ex#50::OnReset"; + donpcevent "force_05ex#50::OnReset"; + donpcevent "force_06ex#50::OnReset"; + donpcevent "force_07ex#50::OnReset"; + //donpcevent "force_08ex#50::OnReset"; + donpcevent "force_09ex#50::OnReset"; end; - } force_1-1,62,26,1 script force_08_01#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On01_start"; + donpcevent "Heel and Toe#arena::On01_Start"; warp "force_1-1",40,26; end; - } force_1-1,25,44,1 script force_01_02#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On02_start"; + donpcevent "Heel and Toe#arena::On02_Start"; warp "force_1-1",25,69; end; - } force_1-1,25,134,1 script force_02_03#50 45,1,1,{ - OnTouch: - donpcevent "arena#50::Onreset_02"; - donpcevent "Heel and Toe#arena::On03_start"; + donpcevent "arena#50::OnReset_02"; + donpcevent "Heel and Toe#arena::On03_Start"; warp "force_1-1",25,159; end; - } force_1-1,44,174,1 script force_03_04#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On04_start"; + donpcevent "Heel and Toe#arena::On04_Start"; warp "force_1-1",69,174; end; - } force_1-1,134,174,1 script force_04_05#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On05_start"; + donpcevent "Heel and Toe#arena::On05_Start"; warp "force_1-1",159,174; end; - } force_1-1,174,155,1 script force_05_06#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On06_start"; + donpcevent "Heel and Toe#arena::On06_Start"; warp "force_1-1",174,130; end; - } force_1-1,174,65,1 script force_06_07#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On07_start"; + donpcevent "Heel and Toe#arena::On07_Start"; warp "force_1-1",174,40; end; - } force_1-1,155,26,1 script force_07_08#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On08_start"; + donpcevent "Heel and Toe#arena::On08_Start"; warp "force_1-1",132,26; enablenpc "force_08_09#50"; end; - } force_1-1,99,54,1 script force_08_09#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::On09_start"; + donpcevent "Heel and Toe#arena::On09_Start"; warp "force_1-1",99,82; end; - } force_1-1,99,124,1 script force_exit#50 45,1,1,{ - OnTouch: - donpcevent "Heel and Toe#arena::Ontimeroff"; - donpcevent "#arn_timer_50::Onon"; + donpcevent "Heel and Toe#arena::OnTimerOff"; + donpcevent "#arn_timer_50::OnEnable"; mapwarp "force_1-1","prt_are_in",22,191,0,0; end; - } - script force_01start#50 -1,{ -Onon: - donpcevent "force_01mob#50::Onon"; -end; - +OnEnable: + donpcevent "force_01mob#50::OnEnable"; + end; } - script force_01ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_01ex#50::OnMobEx"; - end; - -Onsummonmob1: - monster "force_1-1",25,26,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",15,25,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",30,25,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",25,31,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",24,19,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",25,28,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",18,23,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",24,25,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",23,18,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",20,18,"Drops",1572,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",35,31,"Hydra",1579,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",35,28,"Hydra",1579,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",35,25,"Hydra",1579,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",35,21,"Hydra",1579,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",26,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",26,15,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",26,14,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",23,17,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",23,18,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",23,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",29,20,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",23,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",19,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - monster "force_1-1",32,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMobEx"; - end; - -OnMobEx: +OnReset: + killmonster "force_1-1","force_01ex#50::OnMyMobDead"; + end; + +OnSummonMob1: + monster "force_1-1",25,26,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",15,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",30,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",25,31,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",24,19,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",25,28,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",18,23,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",24,25,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",23,18,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",20,18,"Drops",1572,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",35,31,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",35,28,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",35,25,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",35,21,"Hydra",1579,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",26,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",26,15,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",26,14,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",23,17,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",23,18,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",23,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",29,20,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",23,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",19,16,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + monster "force_1-1",32,19,"Poisonous Toad",1556,1,"force_01ex#50::OnMyMobDead"; + end; + +OnMyMobDead: end; - } - script force_01mob#50 -1,{ - -Onon: - donpcevent "force_01ex#50::Onsummonmob1"; - monster "force_1-1",25,25,"Smokie",1561,1,"force_01mob#50::OnMobDeath"; - monster "force_1-1",18,25,"Smokie",1561,1,"force_01mob#50::OnMobDeath"; - monster "force_1-1",32,25,"Smokie",1561,1,"force_01mob#50::OnMobDeath"; - monster "force_1-1",25,32,"Smokie",1561,1,"force_01mob#50::OnMobDeath"; - monster "force_1-1",25,18,"Smokie",1561,1,"force_01mob#50::OnMobDeath"; - set $force_01_50,5; +OnEnable: + donpcevent "force_01ex#50::OnSummonMob1"; + monster "force_1-1",25,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; + monster "force_1-1",18,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; + monster "force_1-1",32,25,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; + monster "force_1-1",25,32,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; + monster "force_1-1",25,18,"Smokie",1561,1,"force_01mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_01mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_01mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_01_50,$force_01_50 -1; - if ($force_01_50 < 1) { - donpcevent "Heel and Toe#arena::On01_end"; - donpcevent "arena#50::Onreset_01"; +OnMyMobDead: + if (mobcount("force_1-1","force_01mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On01_End"; + donpcevent "arena#50::OnReset_01"; } end; } - script force_02start#50 -1,{ - -Onon: - donpcevent "force_02mob#50::Onsummonmob2"; +OnEnable: + donpcevent "force_02mob#50::OnSummonMob2"; end; } - script force_02mob#50 -1,{ - -Onreset: - killmonster "force_1-1","force_02mob#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_02mob#50::OnMyMobDead"; end; -Onsummonmob2: - monster "force_1-1",24,76,"Familiar",1419,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",28,76,"Familiar",1419,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",24,86,"Familiar",1419,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",26,86,"Ghoul",1423,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",25,100,"Ghoul",1423,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",26,118,"Ghoul",1423,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",28,79,"Mummy",1393,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",23,87,"Mummy",1393,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",28,99,"Mummy",1393,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",23,112,"Mummy",1393,1,"force_02mob#50::OnMobEx"; - monster "force_1-1",28,128,"Mummy",1393,1,"force_02mob#50::OnMobEx"; +OnSummonMob2: + monster "force_1-1",24,76,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",28,76,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",24,86,"Familiar",1419,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",26,86,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",25,100,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",26,118,"Ghoul",1423,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",28,79,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",23,87,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",28,99,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",23,112,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; + monster "force_1-1",28,128,"Mummy",1393,1,"force_02mob#50::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_03start#50 -1,{ - -Onon: - donpcevent "force_03mob#50::Onon"; +OnEnable: + donpcevent "force_03mob#50::OnEnable"; end; } - script force_03ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_03ex#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_03ex#50::OnMyMobDead"; end; -Onsummonmob_03: - monster "force_1-1",26,173,"Hydra",1579,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",21,173,"Hydra",1579,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",31,173,"Hydra",1579,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",26,186,"Marse",1551,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",26,161,"Marse",1551,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",13,173,"Marse",1551,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",38,173,"Marse",1551,1,"force_03ex#50::OnMobEx"; - monster "force_1-1",29,174,"Marse",1551,1,"force_03ex#50::OnMobEx"; +OnSummonMob_03: + monster "force_1-1",26,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",21,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",31,173,"Hydra",1579,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",26,186,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",26,161,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",13,173,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",38,173,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; + monster "force_1-1",29,174,"Marse",1551,1,"force_03ex#50::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_03mob#50 -1,{ - -Onon: - donpcevent "force_03ex#50::Onsummonmob_03"; - monster "force_1-1",23,174,"Karakasa",1544,1,"force_03mob#50::OnMobDeath"; - monster "force_1-1",18,173,"Karakasa",1544,1,"force_03mob#50::OnMobDeath"; - monster "force_1-1",33,173,"Karakasa",1544,1,"force_03mob#50::OnMobDeath"; - monster "force_1-1",26,181,"Karakasa",1544,1,"force_03mob#50::OnMobDeath"; - monster "force_1-1",26,166,"Karakasa",1544,1,"force_03mob#50::OnMobDeath"; - set $force_03_50,5; +OnEnable: + donpcevent "force_03ex#50::OnSummonMob_03"; + monster "force_1-1",23,174,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; + monster "force_1-1",18,173,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; + monster "force_1-1",33,173,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; + monster "force_1-1",26,181,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; + monster "force_1-1",26,166,"Karakasa",1544,1,"force_03mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_03mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_03mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_03_50,$force_03_50 -1; - donpcevent "force_03mob#50::Onsummonmob_03"; - if ($force_03_50 < 1) { - donpcevent "Heel and Toe#arena::On03_end"; - donpcevent "arena#50::Onreset_03"; +OnMyMobDead: + //donpcevent "force_03mob#50::OnSummonMob_03"; + if (mobcount("force_1-1","force_03mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On03_End"; + donpcevent "arena#50::OnReset_03"; } end; } - script force_04start#50 -1,{ - -Onon: - donpcevent "force_04mob#50::Onon"; -end; - +OnEnable: + donpcevent "force_04mob#50::OnEnable"; + end; } - script force_04ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_04ex#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_04ex#50::OnMyMobDead"; end; -Onsummonmob_04: - monster "force_1-1",99,174,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",103,174,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",107,174,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",111,176,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",115,176,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",119,172,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",95,178,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",100,178,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",105,172,"Familiar",1419,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",110,172,"Flora",1575,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",115,172,"Flora",1575,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",120,172,"Flora",1575,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",125,172,"Flora",1575,1,"force_04ex#50::OnMobEx"; - monster "force_1-1",105,178,"Flora",1575,1,"force_04ex#50::OnMobEx"; +OnSummonMob_04: + monster "force_1-1",99,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",103,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",107,174,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",111,176,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",115,176,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",119,172,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",95,178,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",100,178,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",105,172,"Familiar",1419,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",110,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",115,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",120,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",125,172,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; + monster "force_1-1",105,178,"Flora",1575,1,"force_04ex#50::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; - } - script force_04mob#50 -1,{ - -Onon: - donpcevent "force_04ex#50::Onsummonmob_04"; - monster "force_1-1",85,172,"Kobold",1547,1,"force_04mob#50::OnMobDeath"; - monster "force_1-1",95,172,"Kobold",1547,1,"force_04mob#50::OnMobDeath"; - monster "force_1-1",120,172,"Kobold",1545,1,"force_04mob#50::OnMobDeath"; - set $force_04_50,3; +OnEnable: + donpcevent "force_04ex#50::OnSummonMob_04"; + monster "force_1-1",85,172,"Kobold",1547,1,"force_04mob#50::OnMyMobDead"; + monster "force_1-1",95,172,"Kobold",1547,1,"force_04mob#50::OnMyMobDead"; + monster "force_1-1",120,172,"Kobold",1545,1,"force_04mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_04mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_04mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_04_50,$force_04_50 -1; - if ($force_04_50 < 1) { - donpcevent "Heel and Toe#arena::On04_end"; - donpcevent "arena#50::Onreset_04"; +OnMyMobDead: + if (mobcount("force_1-1","force_04mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On04_End"; + donpcevent "arena#50::OnReset_04"; } end; } - script force_05start#50 -1,{ - -Onon: - donpcevent "force_05mob#50::Onon"; +OnEnable: + donpcevent "force_05mob#50::OnEnable"; end; } - script force_05ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_05ex#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_05ex#50::OnMyMobDead"; end; -Onsummonmob_05: - set $@randmonster50,rand(1,2); - switch($@randmonster50) { +OnSummonMob_05: + switch(rand(1,2)) { case 1: - monster "force_1-1",174,174,"Desert Wolf",1432,1,"force_05ex#50::OnMobEx"; + monster "force_1-1",174,174,"Desert Wolf",1432,1,"force_05ex#50::OnMyMobDead"; break; case 2: - monster "force_1-1",173,173,"Zerom",1470,1,"force_05ex#50::OnMobEx"; + monster "force_1-1",173,173,"Zerom",1470,1,"force_05ex#50::OnMyMobDead"; break; } end; -OnMobEx: +OnMyMobDead: end; } - script force_05mob#50 -1,{ - -Onon: - monster "force_1-1",173,166,"Hydra",1579,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",171,170,"Hydra",1579,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",177,170,"Hydra",1579,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",183,173,"Orc Lady",1452,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",173,173,"Orc Lady",1452,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",181,173,"Golem",1540,1,"force_05mob#50::OnMobDeath"; - monster "force_1-1",171,177,"Golem",1540,1,"force_05mob#50::OnMobDeath"; - set $force_05_50,7; +OnEnable: + monster "force_1-1",173,166,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",171,170,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",177,170,"Hydra",1579,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",183,173,"Orc Lady",1452,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",173,173,"Orc Lady",1452,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",181,173,"Golem",1540,1,"force_05mob#50::OnMyMobDead"; + monster "force_1-1",171,177,"Golem",1540,1,"force_05mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_05mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_05mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_05_50,$force_05_50 -1; - if ($force_05_50 < 1) { - donpcevent "Heel and Toe#arena::On05_end"; - donpcevent "arena#50::Onreset_05"; +OnMyMobDead: + if (mobcount("force_1-1","force_05mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On05_End"; + donpcevent "arena#50::OnReset_05"; } - else donpcevent "force_05ex#50::Onsummonmob_05"; + else donpcevent "force_05ex#50::OnSummonMob_05"; end; - } - script force_06start#50 -1,{ - -Onon: - donpcevent "force_06mob#50::Onon"; +OnEnable: + donpcevent "force_06mob#50::OnEnable"; end; } - script force_06ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_06ex#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_06ex#50::OnMyMobDead"; end; -Onsummonmob_06: - monster "force_1-1",173,118,"Smokie",1561,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",173,108,"Smokie",1561,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",173,99,"Smokie",1561,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",171,108,"Golem",1540,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",171,99,"Skel Worker",1469,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",171,85,"Skel Worker",1469,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",171,90,"Golem",1540,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",171,79,"Scorpion",1559,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",175,118,"Scorpion",1559,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",175,108,"Sandman",1558,1,"force_06ex#50::OnMobEx"; - monster "force_1-1",175,99,"Sandman",1558,1,"force_06ex#50::OnMobEx"; +OnSummonMob_06: + monster "force_1-1",173,118,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",173,108,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",173,99,"Smokie",1561,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",171,108,"Golem",1540,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",171,99,"Skel Worker",1469,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",171,85,"Skel Worker",1469,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",171,90,"Golem",1540,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",171,79,"Scorpion",1559,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",175,118,"Scorpion",1559,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",175,108,"Sandman",1558,1,"force_06ex#50::OnMyMobDead"; + monster "force_1-1",175,99,"Sandman",1558,1,"force_06ex#50::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_06mob#50 -1,{ - -Onon: - donpcevent "force_06ex#50::Onsummonmob_06"; - monster "force_1-1",173,90,"Drops",1572,1,"force_06mob#50::OnMobDeath"; - monster "force_1-1",173,79,"Drops",1572,1,"force_06mob#50::OnMobDeath"; - monster "force_1-1",172,70,"Drops",1572,1,"force_06mob#50::OnMobDeath"; - monster "force_1-1",175,70,"Drops",1572,1,"force_06mob#50::OnMobDeath"; - monster "force_1-1",171,118,"Drops",1572,1,"force_06mob#50::OnMobDeath"; - set $force_06_50,5; +OnEnable: + donpcevent "force_06ex#50::OnSummonMob_06"; + monster "force_1-1",173,90,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; + monster "force_1-1",173,79,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; + monster "force_1-1",172,70,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; + monster "force_1-1",175,70,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; + monster "force_1-1",171,118,"Drops",1572,1,"force_06mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_06mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_06mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_06_50,$force_06_50 -1; - if ($force_06_50 < 1) { - donpcevent "Heel and Toe#arena::On06_end"; - donpcevent "arena#50::Onreset_06"; +OnMyMobDead: + if (mobcount("force_1-1","force_06mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On06_End"; + donpcevent "arena#50::OnReset_06"; } end; } - script force_07start#50 -1,{ - -Onon: - donpcevent "force_07mob#50::Onon"; +OnEnable: + donpcevent "force_07mob#50::OnEnable"; end; } - script force_07ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_07ex#50::OnMobEx"; - end; - -Onsummonmob_07: - monster "force_1-1",163,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",167,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",171,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",175,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",179,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,36,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,32,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,28,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,24,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,20,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",183,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",179,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",175,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",171,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",167,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,16,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,20,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,24,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,28,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,32,"Hydra",1579,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,31,"Punk",1481,1,"force_07ex#50::OnMobEx"; - monster "force_1-1",163,23,"Punk",1481,1,"force_07ex#50::OnMobEx"; - end; - -OnMobEx: +OnReset: + killmonster "force_1-1","force_07ex#50::OnMyMobDead"; + end; + +OnSummonMob_07: + monster "force_1-1",163,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",167,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",171,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",175,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",179,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,36,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,32,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,28,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,24,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,20,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",183,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",179,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",175,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",171,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",167,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,16,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,20,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,24,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,28,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,32,"Hydra",1579,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,31,"Punk",1481,1,"force_07ex#50::OnMyMobDead"; + monster "force_1-1",163,23,"Punk",1481,1,"force_07ex#50::OnMyMobDead"; + end; + +OnMyMobDead: end; } - script force_07mob#50 -1,{ - -Onon: - donpcevent "force_07ex#50::Onsummonmob_07"; - monster "force_1-1",174,25,"Red Plant",1078,1,"force_07mob#50::OnMobDeath"; - set $force_07_50,1; +OnEnable: + donpcevent "force_07ex#50::OnSummonMob_07"; + monster "force_1-1",174,25,"Red Plant",1078,1,"force_07mob#50::OnMyMobDead"; end; -Onreset: - killmonster "force_1-1","force_07mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_07mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_07_50,$force_07_50 -1; - if ($force_07_50 < 1) { - donpcevent "Heel and Toe#arena::On07_end"; - donpcevent "arena#50::Onreset_07"; +OnMyMobDead: + if (mobcount("force_1-1","force_07mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On07_End"; + donpcevent "arena#50::OnReset_07"; } end; } - script force_08start#50 -1,{ - -Onon: - donpcevent "force_08ex#50::Onon"; +OnEnable: + donpcevent "force_08ex#50::OnEnable"; end; } - script force_08ex#50 -1,{ - -Onon: - donpcevent "arena#50::Onreset_08"; +OnEnable: + donpcevent "arena#50::OnReset_08"; end; } - script force_09start#50 -1,{ - -Onon: - donpcevent "force_09mob#50::Onon"; +OnEnable: + donpcevent "force_09mob#50::OnEnable"; end; } - script force_09ex#50 -1,{ - -Onreset: - killmonster "force_1-1","force_09ex#50::OnMobEx"; +OnReset: + killmonster "force_1-1","force_09ex#50::OnMyMobDead"; end; -Onsummonmob_09: - monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMobEx"; - monster "force_1-1",105,94,"Familiar",1419,1,"force_09ex#50::OnMobEx"; +OnSummonMob_09: + monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",110,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",89,110,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",89,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",110,89,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",105,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",94,105,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",94,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; + monster "force_1-1",105,94,"Familiar",1419,1,"force_09ex#50::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_09mob#50 -1,{ - -Onon: - monster "force_1-1",99,99,"Vocal",1581,1,"force_09mob#50::OnMobDeath"; - donpcevent "force_09ex#50::Onsummonmob_09"; - set $force_09_50,1; +OnEnable: + monster "force_1-1",99,99,"Vocal",1581,1,"force_09mob#50::OnMyMobDead"; + donpcevent "force_09ex#50::OnSummonMob_09"; end; -Onreset: - killmonster "force_1-1","force_09mob#50::OnMobDeath"; +OnReset: + killmonster "force_1-1","force_09mob#50::OnMyMobDead"; end; -OnMobDeath: - set $force_09_50,$force_09_50 -1; - if ($force_09_50 < 1) { - donpcevent "Heel and Toe#arena::On09_end"; - donpcevent "arena#50::Onreset_09"; - donpcevent "arena#50::Onreset_all"; +OnMyMobDead: + if (mobcount("force_1-1","force_09mob#50::OnMyMobDead") < 1) { + donpcevent "Heel and Toe#arena::On09_End"; + donpcevent "arena#50::OnReset_09"; + donpcevent "arena#50::OnReset_All"; set $arena_min50end,gettime(2); set $arena_sec50end,gettime(1); } @@ -853,7 +781,6 @@ OnMobDeath: } prt_are_in,129,188,3 script Staff#50-1 67,{ - mes "[Staff]"; mes "You did a good job."; mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; @@ -875,29 +802,19 @@ prt_are_in,129,188,3 script Staff#50-1 67,{ } prt_are_in,25,188,3 script Staff#50-2 67,{ - - if($arena_min50end < $arena_min50st) - { - if($arena_sec50end < $arena_sec50st) - { + if($arena_min50end < $arena_min50st) { + if($arena_sec50end < $arena_sec50st) { set @record_min50,60 - $arena_min50st + $arena_min50end -1; set @record_sec50,60 - $arena_sec50st + $arena_sec50end; - } - else - { + } else { set @record_min50,60 - $arena_min50st + $arena_min50end; set @record_sec50,$arena_sec50end - $arena_sec50st; } - } - else - { - if($arena_sec50end < $arena_sec50st) - { + } else { + if($arena_sec50end < $arena_sec50st) { set @record_min50,$arena_min50end - $arena_min50st -1; set @record_sec50,60 - $arena_sec50st + $arena_sec50end; - } - else - { + } else { set @record_min50,$arena_min50end - $arena_min50st; set @record_sec50,$arena_sec50end - $arena_sec50st; } @@ -934,9 +851,7 @@ prt_are_in,25,188,3 script Staff#50-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { set arena_point, arena_point + 20; mes "[Staff]"; mes "Let me reward you some arena points."; @@ -948,15 +863,13 @@ prt_are_in,25,188,3 script Staff#50-2 67,{ close2; } specialeffect2 EF_EXIT; - donpcevent "cast#50::Onnomal1"; + donpcevent "cast#50::OnNomal1"; warp "arena_room",100,75; - donpcevent "#arn_timer_50::Onstop"; - donpcevent "alloff#50::Onon"; - donpcevent "lvl 50s Waiting Room::Onstart"; + donpcevent "#arn_timer_50::OnStop"; + donpcevent "alloff#50::OnEnable"; + donpcevent "Lv50 Waiting Room::OnStart"; end; - } - else - { + } else { emotion e_omg; mes "[Staff]"; mes "Wow! You have renewed the record!"; @@ -967,7 +880,7 @@ prt_are_in,25,188,3 script Staff#50-2 67,{ set $top_50min, @record_min50; set $top_50sec, @record_sec50; set $arena_50topn$,strcharinfo(0); - donpcevent "Vendigos::Onlinerec_50"; + donpcevent "Vendigos::OnLineRec_50"; next; if (arena_point > 29950) { mes "[Staff]"; @@ -981,9 +894,7 @@ prt_are_in,25,188,3 script Staff#50-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { mes "[Staff]"; mes "Let me reward you with some arena points."; mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; @@ -999,18 +910,17 @@ prt_are_in,25,188,3 script Staff#50-2 67,{ close2; } specialeffect2 EF_HIT5; - donpcevent "cast#50::Onnomal2"; + donpcevent "cast#50::OnNomal2"; warp "arena_room",100,75; - donpcevent "#arn_timer_50::Onstop"; - donpcevent "alloff#50::Onon"; - donpcevent "lvl 50s Waiting Room::Onstart"; + donpcevent "#arn_timer_50::OnStop"; + donpcevent "alloff#50::OnEnable"; + donpcevent "Lv50 Waiting Room::OnStart"; end; } } - script #arn_timer_50 -1,{ - -Onon: +OnEnable: initnpctimer; end; @@ -1027,62 +937,59 @@ OnTimer4000: end; OnTimer60000: - donpcevent "cast#50::Ontimeover2"; - donpcevent "arn_warp_50::Onout"; - donpcevent "#arn_timer_50::Onstop"; - donpcevent "alloff#50::Onon"; - donpcevent "lvl 50s Waiting Room::Onstart"; + donpcevent "cast#50::OnTimeOver2"; + donpcevent "arn_warp_50::OnOut"; + donpcevent "#arn_timer_50::OnStop"; + donpcevent "alloff#50::OnEnable"; + donpcevent "Lv50 Waiting Room::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; - } - script arn_warp_50 -1,{ - -Onout: +OnOut: areawarp "prt_are_in",14,195,29,178,"arena_room",100,75; end; } - script cast#50 -1,{ -Ontimeover1: +OnTimeOver1: mapannounce "force_1-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; end; -Ontimeover2: +OnTimeOver2: mapannounce "force_1-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00; end; -Onnomal1: +OnNomal1: mapannounce "force_1-1","Arena will be reactivated.",0,0xFFCE00; end; -Onnomal2: +OnNomal2: mapannounce "force_1-1","Arena will be reactivated.",0,0xFFCE00; end; } - script alloff#50 -1,{ - -Onon: +OnEnable: mapwarp "force_1-1","prt_are_in",126,190,0,0; - donpcevent "force_01mob#50::Onreset"; - donpcevent "force_02mob#50::Onreset"; - donpcevent "force_03mob#50::Onreset"; - donpcevent "force_04mob#50::Onreset"; - donpcevent "force_05mob#50::Onreset"; - donpcevent "force_06mob#50::Onreset"; - donpcevent "force_07mob#50::Onreset"; - donpcevent "force_09mob#50::Onreset"; - donpcevent "force_01ex#50::Onreset"; - donpcevent "force_03ex#50::Onreset"; - donpcevent "force_04ex#50::Onreset"; - donpcevent "force_05ex#50::Onreset"; - donpcevent "force_06ex#50::Onreset"; - donpcevent "force_07ex#50::Onreset"; - donpcevent "force_08ex#50::Onreset"; - donpcevent "force_09ex#50::Onreset"; - donpcevent "Heel and Toe#arena::Ontimeroff"; + donpcevent "force_01mob#50::OnReset"; + donpcevent "force_02mob#50::OnReset"; + donpcevent "force_03mob#50::OnReset"; + donpcevent "force_04mob#50::OnReset"; + donpcevent "force_05mob#50::OnReset"; + donpcevent "force_06mob#50::OnReset"; + donpcevent "force_07mob#50::OnReset"; + donpcevent "force_09mob#50::OnReset"; + donpcevent "force_01ex#50::OnReset"; + donpcevent "force_03ex#50::OnReset"; + donpcevent "force_04ex#50::OnReset"; + donpcevent "force_05ex#50::OnReset"; + donpcevent "force_06ex#50::OnReset"; + donpcevent "force_07ex#50::OnReset"; + //donpcevent "force_08ex#50::OnReset"; + donpcevent "force_09ex#50::OnReset"; + donpcevent "Heel and Toe#arena::OnTimerOff"; disablenpc "Heel and Toe#arena"; disablenpc "force_01_02#50"; disablenpc "force_02_03#50"; @@ -1094,7 +1001,7 @@ Onon: disablenpc "force_08_09#50"; disablenpc "force_exit#50"; disablenpc "arena#50"; - donpcevent "#arn_timer_50::Onstop"; + donpcevent "#arn_timer_50::OnStop"; enablenpc "Heel and Toe#arena"; enablenpc "arena#50"; end; @@ -1102,5 +1009,4 @@ Onon: OnInit: if(!$top_50min && !$top_50sec) set $top_50min,5; end; - } diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt index b83dc8eea..e100b76f6 100644 --- a/npc/other/arena/arena_lvl60.txt +++ b/npc/other/arena/arena_lvl60.txt @@ -1,32 +1,34 @@ //===== Hercules Script ====================================== -//= Izlude Arena lvl 60 +//= Izlude Arena Level 60 //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.2 +//= 1.4 //===== Description: ========================================= //= Izlude Battle Arena Level 60 //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Fixed coordinate typo. (bugreport:1663) [L0ne_W0lf] //= 1.2 Replaced effect numerics with constants. [Samuray22] +//= 1.3 Label standardization. [Euphy] +//= 1.4 Script updates. [Euphy] //============================================================ -arena_room,38,88,5 script lvl 60s Waiting Room 124,{ +arena_room,38,88,5 script Lv60 Waiting Room 124,{ end; OnInit: - waitingroom "Individual; Level 60 to 79",50,"lvl 60s Waiting Room::OnStartArena",1,1000,60,79; + waitingroom "Individual; Level 60 to 79",50,"Lv60 Waiting Room::OnStartArena",1,1000,60,79; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "force_2-1",99,12; - donpcevent "arena#60::Onstart"; + donpcevent "arena#60::OnStart"; disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } @@ -34,11 +36,7 @@ Onstart: force_2-1,99,20,4 script Minilover#arena 124,{ end; -OnInit: - set $@mapcount60, 0; - end; - -Onstart: +OnStart: initnpctimer; set $arena_min60st,gettime(2); set $arena_sec60st,gettime(1); @@ -57,41 +55,36 @@ OnTimer5000: end; OnTimer60000: - set $@mapcount60, getmapusers ("force_2-1"); - if ($@mapcount60 == 0) { - donpcevent "Minilover#arena::Onfailclearstage"; + if (getmapusers("force_2-1") == 0) { + donpcevent "Minilover#arena::OnFailClearStage"; } mapannounce "force_2-1","Remaining Time : 5 minutes ",0; end; OnTimer120000: - set $@mapcount60, getmapusers ("force_2-1"); - if ($@mapcount60 == 0) { - donpcevent "Minilover#arena::Onfailclearstage"; + if (getmapusers("force_2-1") == 0) { + donpcevent "Minilover#arena::OnFailClearStage"; } mapannounce "force_2-1","Remaining Time : 4 minutes ",0; end; OnTimer180000: - set $@mapcount60, getmapusers ("force_2-1"); - if ($@mapcount60 == 0) { - donpcevent "Minilover#arena::Onfailclearstage"; + if (getmapusers("force_2-1") == 0) { + donpcevent "Minilover#arena::OnFailClearStage"; } mapannounce "force_2-1","Remaining Time : 3 minutes ",0; end; OnTimer240000: - set $@mapcount60, getmapusers ("force_2-1"); - if ($@mapcount60 == 0) { - donpcevent "Minilover#arena::Onfailclearstage"; + if (getmapusers("force_2-1") == 0) { + donpcevent "Minilover#arena::OnFailClearStage"; } mapannounce "force_2-1","Remaining Time : 2 minutes ",0; end; OnTimer300000: - set $@mapcount60, getmapusers ("force_2-1"); - if ($@mapcount60 == 0) { - donpcevent "Minilover#arena::Onfailclearstage"; + if (getmapusers("force_2-1") == 0) { + donpcevent "Minilover#arena::OnFailClearStage"; } mapannounce "force_2-1","Remaining Time : 1 minute ",0; end; @@ -115,148 +108,146 @@ OnTimer374000: OnTimer375000: mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "Minilover#arena::Onfailclearstage"; + donpcevent "Minilover#arena::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: - donpcevent "cast#60::Ontimeover1"; +OnFailClearStage: + donpcevent "cast#60::OnTimeOver1"; mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "Minilover#arena::Ontimeroff"; - donpcevent "arena#60::Onreset_all"; - donpcevent "alloff#60::Onon"; - donpcevent "lvl 60s Waiting Room::Onstart"; + donpcevent "Minilover#arena::OnTimerOff"; + donpcevent "arena#60::OnReset_All"; + donpcevent "alloff#60::OnEnable"; + donpcevent "Lv60 Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_2-1","In order to clear this battle, you must kill at least 5 Goblins while dodging Rotar Zairos!",0; end; -On01_end: +On01_End: mapannounce "force_2-1","A door to the north room has opened!",0; end; -On02_start: +On02_Start: mapannounce "force_2-1","Escape to the north exit from the monsters!",0; end; -On02_end: +On02_End: mapannounce "force_2-1","A door to the north room has opened!",0; end; -On03_start: +On03_Start: mapannounce "force_2-1","In order to clear this battle, you must kill all Mantises!",0; end; -On03_end: +On03_End: mapannounce "force_2-1","Clear! A door to the east room has opened!",0; end; -On04_start: +On04_Start: mapannounce "force_2-1","In order to clear this battle, you must kill all non-aggressive monsters while dodging aggressive monsters!",0; end; -On04_end: +On04_End: mapannounce "force_2-1","A door to the east room has opened!",0; end; -On05_start: +On05_Start: mapannounce "force_2-1","In order to clear this battle, you must kill all monsters except Hydras and Kaphas!",0; end; -On05_end: +On05_End: mapannounce "force_2-1","Clear! A door to the south room has opened!",0; end; -On06_start: +On06_Start: mapannounce "force_2-1","In order to clear this battle, you must kill all Miyabi Dolls and escape to the south exit!",0; end; -On06_end: +On06_End: mapannounce "force_2-1","A door to the south room has opened!",0; end; -On07_start: +On07_Start: mapannounce "force_2-1","In order to clear this battle, you must kill all monsters!",0; end; -On07_end: +On07_End: mapannounce "force_2-1","Clear! A door to the west room has opened!",0; end; -On08_start: +On08_Start: mapannounce "force_2-1","Please escape to the north exit!",0; end; -On09_start: +On09_Start: mapannounce "force_2-1","In order to clear this battle, you must defeat a Goblin Leader!",0; end; -On09_end: +On09_End: mapannounce "force_2-1","Boss Clear! - North exit has opened. Thank you.",0; end; - } - script arena#60 -1,{ - -Onreset_01: - donpcevent "force_01ex#60::Onreset"; - donpcevent "force_01mob#60::Onreset"; - donpcevent "force_02start#60::Onon"; +OnReset_01: + donpcevent "force_01ex#60::OnReset"; + donpcevent "force_01mob#60::OnReset"; + donpcevent "force_02start#60::OnEnable"; enablenpc "force_01_02#60"; enablenpc "force_02_03#60"; end; -Onreset_02: - donpcevent "force_02mob#60::Onreset"; - donpcevent "force_03start#60::Onon"; +OnReset_02: + donpcevent "force_02mob#60::OnReset"; + donpcevent "force_03start#60::OnEnable"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#60"; - donpcevent "force_04start#60::Onon"; - donpcevent "force_03ex#60::Onreset"; + donpcevent "force_04start#60::OnEnable"; + donpcevent "force_03ex#60::OnReset"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#60"; - donpcevent "force_05start#60::Onon"; - donpcevent "force_04ex#60::Onreset"; + donpcevent "force_05start#60::OnEnable"; + donpcevent "force_04ex#60::OnReset"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#60"; - donpcevent "force_06start#60::Onon"; - donpcevent "force_05ex#60::Onreset"; - donpcevent "force_05mob#60::Onreset"; + donpcevent "force_06start#60::OnEnable"; + donpcevent "force_05ex#60::OnReset"; + donpcevent "force_05mob#60::OnReset"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#60"; - donpcevent "force_07start#60::Onon"; - donpcevent "force_06ex#60::Onreset"; - donpcevent "force_06mob#60::Onreset"; + donpcevent "force_07start#60::OnEnable"; + donpcevent "force_06ex#60::OnReset"; + donpcevent "force_06mob#60::OnReset"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#60"; - donpcevent "force_08start#60::Onon"; + donpcevent "force_08start#60::OnEnable"; end; -Onreset_08: - donpcevent "force_09start#60::Onon"; +OnReset_08: + donpcevent "force_09start#60::OnEnable"; enablenpc "force_08_09#60"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#60"; end; -Onstart: +OnStart: disablenpc "force_01_02#60"; disablenpc "force_02_03#60"; disablenpc "force_03_04#60"; @@ -266,584 +257,533 @@ Onstart: disablenpc "force_07_08#60"; disablenpc "force_08_09#60"; disablenpc "force_exit#60"; - donpcevent "Minilover#arena::Ontimeroff"; - donpcevent "force_01mob#60::Onreset"; - donpcevent "force_02mob#60::Onreset"; - donpcevent "force_03mob#60::Onreset"; - donpcevent "force_04mob#60::Onreset"; - donpcevent "force_05mob#60::Onreset"; - donpcevent "force_06mob#60::Onreset"; - donpcevent "force_07mob#60::Onreset"; - donpcevent "force_08mob#60::Onreset"; - donpcevent "force_09mob#60::Onreset"; - donpcevent "force_01ex#60::Onreset"; - donpcevent "force_03ex#60::Onreset"; - donpcevent "force_04ex#60::Onreset"; - donpcevent "force_05ex#60::Onreset"; - donpcevent "force_06ex#60::Onreset"; - donpcevent "force_08ex#60::Onreset"; - donpcevent "force_09ex#60::Onreset"; + donpcevent "Minilover#arena::OnTimerOff"; + donpcevent "force_01mob#60::OnReset"; + donpcevent "force_02mob#60::OnReset"; + donpcevent "force_03mob#60::OnReset"; + donpcevent "force_04mob#60::OnReset"; + donpcevent "force_05mob#60::OnReset"; + donpcevent "force_06mob#60::OnReset"; + donpcevent "force_07mob#60::OnReset"; + //donpcevent "force_08mob#60::OnReset"; + donpcevent "force_09mob#60::OnReset"; + donpcevent "force_01ex#60::OnReset"; + donpcevent "force_03ex#60::OnReset"; + donpcevent "force_04ex#60::OnReset"; + donpcevent "force_05ex#60::OnReset"; + donpcevent "force_06ex#60::OnReset"; + //donpcevent "force_08ex#60::OnReset"; + donpcevent "force_09ex#60::OnReset"; enablenpc "force_08_01#60"; - donpcevent "force_01start#60::Onon"; - donpcevent "Minilover#arena::Onstart"; - end; - -Onreset_all: - donpcevent "force_01mob#60::Onreset"; - donpcevent "force_02mob#60::Onreset"; - donpcevent "force_03mob#60::Onreset"; - donpcevent "force_04mob#60::Onreset"; - donpcevent "force_05mob#60::Onreset"; - donpcevent "force_06mob#60::Onreset"; - donpcevent "force_07mob#60::Onreset"; - donpcevent "force_08mob#60::Onreset"; - donpcevent "force_09mob#60::Onreset"; - donpcevent "force_01ex#60::Onreset"; - donpcevent "force_03ex#60::Onreset"; - donpcevent "force_04ex#60::Onreset"; - donpcevent "force_05ex#60::Onreset"; - donpcevent "force_06ex#60::Onreset"; - donpcevent "force_08ex#60::Onreset"; - donpcevent "force_09ex#60::Onreset"; + donpcevent "force_01start#60::OnEnable"; + donpcevent "Minilover#arena::OnStart"; + end; + +OnReset_All: + donpcevent "force_01mob#60::OnReset"; + donpcevent "force_02mob#60::OnReset"; + donpcevent "force_03mob#60::OnReset"; + donpcevent "force_04mob#60::OnReset"; + donpcevent "force_05mob#60::OnReset"; + donpcevent "force_06mob#60::OnReset"; + donpcevent "force_07mob#60::OnReset"; + //donpcevent "force_08mob#60::OnReset"; + donpcevent "force_09mob#60::OnReset"; + donpcevent "force_01ex#60::OnReset"; + donpcevent "force_03ex#60::OnReset"; + donpcevent "force_04ex#60::OnReset"; + donpcevent "force_05ex#60::OnReset"; + donpcevent "force_06ex#60::OnReset"; + //donpcevent "force_08ex#60::OnReset"; + donpcevent "force_09ex#60::OnReset"; end; - } force_2-1,62,26,1 script force_08_01#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On01_start"; + donpcevent "Minilover#arena::On01_Start"; warp "force_2-1",40,26; end; } force_2-1,25,44,1 script force_01_02#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On02_start"; + donpcevent "Minilover#arena::On02_Start"; warp "force_2-1",25,69; end; } force_2-1,25,134,1 script force_02_03#60 45,1,1,{ - OnTouch: - donpcevent "arena#60::Onreset_02"; - donpcevent "Minilover#arena::On03_start"; + donpcevent "arena#60::OnReset_02"; + donpcevent "Minilover#arena::On03_Start"; warp "force_2-1",25,159; end; } force_2-1,44,174,1 script force_03_04#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On04_start"; + donpcevent "Minilover#arena::On04_Start"; warp "force_2-1",69,174; end; } force_2-1,134,174,1 script force_04_05#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On05_start"; + donpcevent "Minilover#arena::On05_Start"; warp "force_2-1",159,174; end; } force_2-1,174,155,1 script force_05_06#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On06_start"; + donpcevent "Minilover#arena::On06_Start"; warp "force_2-1",174,130; end; } force_2-1,174,65,1 script force_06_07#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On07_start"; + donpcevent "Minilover#arena::On07_Start"; warp "force_2-1",174,40; end; } force_2-1,155,26,1 script force_07_08#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On08_start"; + donpcevent "Minilover#arena::On08_Start"; warp "force_2-1",132,26; enablenpc "force_08_09#60"; end; } force_2-1,99,54,1 script force_08_09#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::On09_start"; + donpcevent "Minilover#arena::On09_Start"; warp "force_2-1",99,82; end; } force_2-1,99,124,1 script force_exit#60 45,1,1,{ - OnTouch: - donpcevent "Minilover#arena::Ontimeroff"; - donpcevent "#arn_timer_60::Onon"; + donpcevent "Minilover#arena::OnTimerOff"; + donpcevent "#arn_timer_60::OnEnable"; mapwarp "force_2-1","prt_are_in",22,139,0,0; end; } - script force_01start#60 -1,{ - -Onon: - donpcevent "force_01mob#60::Onon"; -end; +OnEnable: + donpcevent "force_01mob#60::OnEnable"; + end; } - script force_01ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_01ex#60::OnMobEx"; +OnReset: + killmonster "force_2-1","force_01ex#60::OnMyMobDead"; end; -Onon: - monster "force_2-1",25,25,"Rotar Zairo",1392,1,"force_01ex#60::OnMobEx"; +OnEnable: + monster "force_2-1",25,25,"Rotar Zairo",1392,1,"force_01ex#60::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_01mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_01mob#60::OnMobDeath"; - end; - -Onon: - donpcevent "force_01ex#60::Onon"; - monster "force_2-1",25,32,"Goblin Archer",1577,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",21,26,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",25,36,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",25,15,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",40,30,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",25,24,"Goblin",1534,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",25,9,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",28,15,"Goblin Archer",1577,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",12,33,"Goblin",1536,1,"force_01mob#60::OnMobDeath"; - monster "force_2-1",24,20,"Goblin",1535,1,"force_01mob#60::OnMobDeath"; - set $force_01_60,5; - end; - -OnMobDeath: - set $force_01_60,$force_01_60 -1; - if ($force_01_60 < 1) { - donpcevent "Minilover#arena::On01_end"; - donpcevent "arena#60::Onreset_01"; +OnReset: + killmonster "force_2-1","force_01mob#60::OnMyMobDead"; + end; + +OnEnable: + donpcevent "force_01ex#60::OnEnable"; + monster "force_2-1",25,32,"Goblin Archer",1577,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",21,26,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",25,36,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",25,15,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",40,30,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",25,24,"Goblin",1534,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",25,9,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",28,15,"Goblin Archer",1577,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",12,33,"Goblin",1536,1,"force_01mob#60::OnMyMobDead"; + monster "force_2-1",24,20,"Goblin",1535,1,"force_01mob#60::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("force_2-1","force_01mob#60::OnMyMobDead") < 6) { + donpcevent "Minilover#arena::On01_End"; + donpcevent "arena#60::OnReset_01"; } end; } - script force_02start#60 -1,{ - -Onon: - donpcevent "force_02mob#60::Onon"; +OnEnable: + donpcevent "force_02mob#60::OnEnable"; end; } - script force_02mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_02mob#60::OnMobEx"; - end; -Onon: - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",23,76,"Requiem",1468,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",27,76,"Requiem",1468,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",25,86,"Requiem",1468,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",26,86,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,79,"Zerom",1470,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",23,87,"Zerom",1470,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,99,"Zerom",1470,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",23,112,"Zerom",1470,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; - monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMobEx"; - end; - -OnMobEx: +OnReset: + killmonster "force_2-1","force_02mob#60::OnMyMobDead"; + end; +OnEnable: + monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",24,86,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",24,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,76,"Drainliar",1434,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",23,76,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",27,76,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",25,86,"Requiem",1468,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",26,86,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",25,100,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",26,118,"Ghoul",1423,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,79,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",23,87,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,99,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",23,112,"Zerom",1470,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Orc Zombie",1463,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; + monster "force_2-1",28,128,"Matyr",1460,1,"force_02mob#60::OnMyMobDead"; + end; + +OnMyMobDead: end; } - script force_03start#60 -1,{ - -Onon: - donpcevent "force_03mob#60::Onon"; +OnEnable: + donpcevent "force_03mob#60::OnEnable"; end; } - script force_03ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_03ex#60::OnMobEx"; +OnReset: + killmonster "force_2-1","force_03ex#60::OnMyMobDead"; end; -Onon: - monster "force_2-1",26,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",21,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",31,173,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",26,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",21,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",31,178,"Hydra",1579,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",19,174,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",26,161,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",13,173,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; - monster "force_2-1",38,173,"Obeaune",1425,1,"force_03ex#60::OnMobEx"; +OnEnable: + monster "force_2-1",26,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",21,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",31,173,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",26,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",21,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",31,178,"Hydra",1579,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",19,174,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",26,161,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",13,173,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; + monster "force_2-1",38,173,"Obeaune",1425,1,"force_03ex#60::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_03mob#60 -1,{ - -Onon: - donpcevent "force_03ex#60::Onon"; - monster "force_2-1",23,174,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; - monster "force_2-1",18,173,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; - monster "force_2-1",33,173,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; - monster "force_2-1",26,181,"Mantis",1457,1,"force_03mob#60::OnMobDeath"; - set $force_03_60,4; +OnEnable: + donpcevent "force_03ex#60::OnEnable"; + monster "force_2-1",23,174,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; + monster "force_2-1",18,173,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; + monster "force_2-1",33,173,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; + monster "force_2-1",26,181,"Mantis",1457,1,"force_03mob#60::OnMyMobDead"; end; -Onreset: - killmonster "force_2-1","force_mob01#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_mob01#60::OnMyMobDead"; end; -OnMobDeath: - set $force_03_60,$force_03_60 -1; - if ($force_03_60 < 1) { - donpcevent "Minilover#arena::On03_end"; - donpcevent "arena#60::Onreset_03"; +OnMyMobDead: + if (mobcount("force_2-1","force_03mob#60::OnMyMobDead") < 1) { + donpcevent "Minilover#arena::On03_End"; + donpcevent "arena#60::OnReset_03"; } end; } - script force_04start#60 -1,{ - -Onon: - donpcevent "force_04mob#60::Onon"; +OnEnable: + donpcevent "force_04mob#60::OnEnable"; end; } - script force_04ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_04ex#60::OnMobEx"; +OnReset: + killmonster "force_2-1","force_04ex#60::OnMyMobDead"; end; -Onon: - monster "force_2-1",84,177,"Sasquatch",1442,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",125,170,"Sasquatch",1442,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",109,172,"Baby Leopard",1524,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",121,172,"Baby Leopard",1524,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",104,173,"Chepet",1444,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",75,174,"Dokebi",1491,1,"force_04ex#60::OnMobEx"; - monster "force_2-1",102,176,"Dokebi",1491,1,"force_04ex#60::OnMobEx"; +OnEnable: + monster "force_2-1",84,177,"Sasquatch",1442,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",125,170,"Sasquatch",1442,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",109,172,"Baby Leopard",1524,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",121,172,"Baby Leopard",1524,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",104,173,"Chepet",1444,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",75,174,"Dokebi",1491,1,"force_04ex#60::OnMyMobDead"; + monster "force_2-1",102,176,"Dokebi",1491,1,"force_04ex#60::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_04mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_04mob#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_04mob#60::OnMyMobDead"; end; -Onon: - donpcevent "force_04ex#60::Onon"; - monster "force_2-1",79,174,"Golem",1540,1,"force_04mob#60::OnMobDeath"; - monster "force_2-1",131,178,"Marse",1551,1,"force_04mob#60::OnMobDeath"; - set $force_04_60,2; +OnEnable: + donpcevent "force_04ex#60::OnEnable"; + monster "force_2-1",79,174,"Golem",1540,1,"force_04mob#60::OnMyMobDead"; + monster "force_2-1",131,178,"Marse",1551,1,"force_04mob#60::OnMyMobDead"; end; -OnMobDeath: - set $force_04_60,$force_04_60 -1; - if ($force_04_60 < 1) { - donpcevent "force_04ex#60::Onreset"; - donpcevent "Minilover#arena::On04_end"; - donpcevent "arena#60::Onreset_04"; +OnMyMobDead: + if (mobcount("force_2-1","force_04mob#60::OnMyMobDead") < 1) { + donpcevent "force_04ex#60::OnReset"; + donpcevent "Minilover#arena::On04_End"; + donpcevent "arena#60::OnReset_04"; } end; } - script force_05start#60 -1,{ - -Onon: - donpcevent "force_05mob#60::Onon"; +OnEnable: + donpcevent "force_05mob#60::OnEnable"; end; } - script force_05ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_05ex#60::OnMobEx"; +OnReset: + killmonster "force_2-1","force_05ex#60::OnMyMobDead"; end; -Onsummonmob_05: - monster "force_2-1",168,177,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",170,179,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",177,179,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",179,178,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",179,170,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",177,168,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",170,168,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",173,174,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",174,174,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",173,173,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",174,173,"Hydra",1579,1,"force_05ex#60::OnMobEx"; - monster "force_2-1",173,181,"Kapha",1543,1,"force_05ex#60::OnMobEx"; +OnSummonMob_05: + monster "force_2-1",168,177,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",170,179,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",177,179,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",179,178,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",179,170,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",177,168,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",170,168,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",173,174,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",174,174,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",173,173,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",174,173,"Hydra",1579,1,"force_05ex#60::OnMyMobDead"; + monster "force_2-1",173,181,"Kapha",1543,1,"force_05ex#60::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_05mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_05mob#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_05mob#60::OnMyMobDead"; end; -Onon: - donpcevent "force_05ex#60::Onsummonmob_05"; - monster "force_2-1",163,173,"Drainliar",1434,1,"force_05mob#60::OnMobDeath"; - monster "force_2-1",173,173,"Myst",1553,1,"force_05mob#60::OnMobDeath"; - monster "force_2-1",181,173,"Orc Skeleton",1462,1,"force_05mob#60::OnMobDeath"; - monster "force_2-1",171,177,"Orc Skeleton",1462,1,"force_05mob#60::OnMobDeath"; - monster "force_2-1",173,181,"Raggler",1445,1,"force_05mob#60::OnMobDeath"; - set $force_05_60,5; +OnEnable: + donpcevent "force_05ex#60::OnSummonMob_05"; + monster "force_2-1",163,173,"Drainliar",1434,1,"force_05mob#60::OnMyMobDead"; + monster "force_2-1",173,173,"Myst",1553,1,"force_05mob#60::OnMyMobDead"; + monster "force_2-1",181,173,"Orc Skeleton",1462,1,"force_05mob#60::OnMyMobDead"; + monster "force_2-1",171,177,"Orc Skeleton",1462,1,"force_05mob#60::OnMyMobDead"; + monster "force_2-1",173,181,"Raggler",1445,1,"force_05mob#60::OnMyMobDead"; end; -OnMobDeath: - set $force_05_60,$force_05_60 -1; - if ($force_05_60 < 1) { - donpcevent "Minilover#arena::On05_end"; - donpcevent "arena#60::Onreset_05"; +OnMyMobDead: + if (mobcount("force_2-1","force_05mob#60::OnMyMobDead") < 1) { + donpcevent "Minilover#arena::On05_End"; + donpcevent "arena#60::OnReset_05"; } end; } - script force_06start#60 -1,{ - -Onon: - donpcevent "force_06mob#60::Onon"; +OnEnable: + donpcevent "force_06mob#60::OnEnable"; end; } - script force_06ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_06ex#60::OnMobEx"; - end; - -Onon: - monster "force_2-1",169,130,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,130,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,125,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,125,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,120,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,120,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,115,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,115,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,110,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,110,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,105,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,105,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,100,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,100,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,95,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,95,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,90,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,90,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,85,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,85,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,80,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,80,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",169,75,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - monster "force_2-1",178,75,"Greatest General",1541,1,"force_06ex#60::OnMobEx"; - end; - -Onsubon: - set $@randmonster60,rand(1,3); - switch($@randmonster60) { +OnReset: + killmonster "force_2-1","force_06ex#60::OnMyMobDead"; + end; + +OnEnable: + monster "force_2-1",169,130,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,130,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,125,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,125,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,120,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,120,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,115,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,115,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,110,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,110,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,105,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,105,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,100,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,100,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,95,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,95,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,90,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,90,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,85,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,85,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,80,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,80,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",169,75,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + monster "force_2-1",178,75,"Greatest General",1541,1,"force_06ex#60::OnMyMobDead"; + end; + +OnSubOn: + switch(rand(1,3)) { case 1: - monster "force_2-1",rand(170,177),rand(70,120),"Sidewinder",1424,1,"force_06ex#60::OnMobEx"; + monster "force_2-1",rand(170,177),rand(70,120),"Sidewinder",1424,1,"force_06ex#60::OnMyMobDead"; break; case 2: - monster "force_2-1",rand(170,177),rand(70,120),"Hermit Plant",1565,1,"force_06ex#60::OnMobEx"; + monster "force_2-1",rand(170,177),rand(70,120),"Hermit Plant",1565,1,"force_06ex#60::OnMyMobDead"; break; case 3: - monster "force_2-1",rand(170,177),rand(70,120),"Cruiser",1443,1,"force_06ex#60::OnMobEx"; + monster "force_2-1",rand(170,177),rand(70,120),"Cruiser",1443,1,"force_06ex#60::OnMyMobDead"; break; } end; -OnMobEx: +OnMyMobDead: end; } - script force_06mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_06mob#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_06mob#60::OnMyMobDead"; end; -Onon: - donpcevent "force_06ex#60::Onon"; - monster "force_2-1",174,100,"Miyabi Doll",1552,1,"force_06mob#60::OnMobDeath"; - monster "force_2-1",174,80,"Miyabi Doll",1552,1,"force_06mob#60::OnMobDeath"; - set $force_06_60,2; +OnEnable: + donpcevent "force_06ex#60::OnEnable"; + monster "force_2-1",174,100,"Miyabi Doll",1552,1,"force_06mob#60::OnMyMobDead"; + monster "force_2-1",174,80,"Miyabi Doll",1552,1,"force_06mob#60::OnMyMobDead"; end; -OnMobDeath: - set $force_06_60,$force_06_60 -1; - if ($force_06_60 < 1) { - set door, 1; - donpcevent "Minilover#arena::On06_end"; - donpcevent "arena#60::Onreset_06"; +OnMyMobDead: + if (mobcount("force_2-1","force_06mob#60::OnMyMobDead") < 1) { + donpcevent "Minilover#arena::On06_End"; + donpcevent "arena#60::OnReset_06"; } - else donpcevent "force_06ex#60::Onsubon"; + else donpcevent "force_06ex#60::OnSubOn"; end; } - script force_07start#60 -1,{ - -Onon: - donpcevent "force_07mob#60::Onon"; +OnEnable: + donpcevent "force_07mob#60::OnEnable"; end; } - script force_07mob#60 -1,{ - -Onreset: - killmonster "force_2-1","force_07mob#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_07mob#60::OnMyMobDead"; end; -Onon: - monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMobDeath"; - monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMobDeath"; - monster "force_2-1",175,25,"Myst",1553,1,"force_07mob#60::OnMobDeath"; - monster "force_2-1",179,25,"Isis",1421,1,"force_07mob#60::OnMobDeath"; - set $force_07_50,4; +OnEnable: + monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMyMobDead"; + monster "force_2-1",170,25,"Jakk",1436,1,"force_07mob#60::OnMyMobDead"; + monster "force_2-1",175,25,"Myst",1553,1,"force_07mob#60::OnMyMobDead"; + monster "force_2-1",179,25,"Isis",1421,1,"force_07mob#60::OnMyMobDead"; end; -OnMobDeath: - set $force_07_50,$force_07_50 -1; - if ($force_07_50 < 1) { - donpcevent "Minilover#arena::On07_end"; - donpcevent "arena#60::Onreset_07"; +OnMyMobDead: + if (mobcount("force_2-1","force_07mob#60::OnMyMobDead") < 1) { + donpcevent "Minilover#arena::On07_End"; + donpcevent "arena#60::OnReset_07"; } end; } - script force_08start#60 -1,{ - -Onon: - donpcevent "force_08ex#60::Onon"; +OnEnable: + donpcevent "force_08ex#60::OnEnable"; end; } - script force_08ex#60 -1,{ - -Onon: - donpcevent "arena#60::Onreset_08"; +OnEnable: + donpcevent "arena#60::OnReset_08"; end; } - script force_09start#60 -1,{ - -Onon: - donpcevent "force_09mob#60::Onon"; +OnEnable: + donpcevent "force_09mob#60::OnEnable"; end; } - script force_09ex#60 -1,{ - -Onreset: - killmonster "force_2-1","force_09ex#60::OnMobEx"; - end; - -Onsummonmob_09: - monster "force_2-1",90,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",92,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",99,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",105,100,"Horong",1578,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",91,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",91,104,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",91,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",91,96,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",91,92,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",95,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",99,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",100,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",104,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",108,108,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",108,104,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",108,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",108,96,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",108,92,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",104,102,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",196,102,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",114,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",121,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",85,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",78,100,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",96,118,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - monster "force_2-1",103,118,"Greatest General",1541,1,"force_09ex#60::OnMobEx"; - end; - -OnMobEx: +OnReset: + killmonster "force_2-1","force_09ex#60::OnMyMobDead"; + end; + +OnSummonMob_09: + monster "force_2-1",90,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",92,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",99,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",105,100,"Horong",1578,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",91,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",91,104,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",91,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",91,96,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",91,92,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",95,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",99,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",100,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",104,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",108,108,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",108,104,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",108,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",108,96,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",108,92,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",104,102,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",196,102,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",114,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",121,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",85,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",78,100,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",96,118,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + monster "force_2-1",103,118,"Greatest General",1541,1,"force_09ex#60::OnMyMobDead"; + end; + +OnMyMobDead: end; } - script force_09mob#60 -1,{ - -Onon: - donpcevent "force_09ex#60::Onsummonmob_09"; - monster "force_2-1",99,99,"Goblin Leader",1539,1,"force_09mob#60::OnMobDeath"; - set $force_09_60,1; +OnEnable: + donpcevent "force_09ex#60::OnSummonMob_09"; + monster "force_2-1",99,99,"Goblin Leader",1539,1,"force_09mob#60::OnMyMobDead"; end; -Onreset: - killmonster "force_2-1","force_09mob#60::OnMobDeath"; +OnReset: + killmonster "force_2-1","force_09mob#60::OnMyMobDead"; end; -OnMobDeath: - set $force_09_60,$force_09_60 -1; - if ($force_09_60 < 1) { - donpcevent "Minilover#arena::On09_end"; - donpcevent "arena#60::Onreset_09"; - donpcevent "arena#60::Onreset_all"; +OnMyMobDead: + if (mobcount("force_2-1","force_09mob#60::OnMyMobDead") < 1) { + donpcevent "Minilover#arena::On09_End"; + donpcevent "arena#60::OnReset_09"; + donpcevent "arena#60::OnReset_All"; set $arena_min60end,gettime(2); set $arena_sec60end,gettime(1); } @@ -851,7 +791,6 @@ OnMobDeath: } prt_are_in,129,135,3 script Staff#60-1 67,{ - mes "[Staff]"; mes "You did a good job."; mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; @@ -873,29 +812,19 @@ prt_are_in,129,135,3 script Staff#60-1 67,{ } prt_are_in,25,135,3 script Staff#60-2 67,{ - - if($arena_min60end < $arena_min60st) - { - if($arena_sec60end < $arena_sec60st) - { + if($arena_min60end < $arena_min60st) { + if($arena_sec60end < $arena_sec60st) { set @record_min60,60 - $arena_min60st + $arena_min60end -1; set @record_sec60,60 - $arena_sec60st + $arena_sec60end; - } - else - { + } else { set @record_min60,60 - $arena_min60st + $arena_min60end; set @record_sec60,$arena_sec60end - $arena_sec60st; } - } - else - { - if($arena_sec60end < $arena_sec60st) - { + } else { + if($arena_sec60end < $arena_sec60st) { set @record_min60,$arena_min60end - $arena_min60st -1; set @record_sec60,60 - $arena_sec60st + $arena_sec60end; - } - else - { + } else { set @record_min60,$arena_min60end - $arena_min60st; set @record_sec60,$arena_sec60end - $arena_sec60st; } @@ -911,7 +840,7 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ mes "Congratulations!"; next; mes "[Staff]"; - mes "The fastest player among people who cleared lvl 60s arena time force battle is ^3131FF"+$arena_60topn$+"^000000."; + mes "The fastest player among people who cleared Lv60 arena time force battle is ^3131FF"+$arena_60topn$+"^000000."; next; mes "[Staff]"; mes "^3131FF"+$arena_60topn$+"^000000's running time was ^3131FF"+$top_60min+"^000000minutes ^3131FF"+$top_60sec+"^000000seconds."; @@ -932,9 +861,7 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { set arena_point, arena_point + 20; mes "[Staff]"; mes "Let me reward you some arena points."; @@ -946,15 +873,13 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ close2; } specialeffect2 EF_EXIT; - donpcevent "cast#60::Onnomal1"; + donpcevent "cast#60::OnNomal1"; warp "arena_room",100,75; - donpcevent "#arn_timer_60::Onstop"; - donpcevent "alloff#60::Onon"; - donpcevent "lvl 60s Waiting Room::Onstart"; + donpcevent "#arn_timer_60::OnStop"; + donpcevent "alloff#60::OnEnable"; + donpcevent "Lv60 Waiting Room::OnStart"; end; - } - else - { + } else { emotion e_omg; mes "[Staff]"; mes "Wow! You have renewed the record!"; @@ -965,7 +890,7 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ set $top_60min, @record_min60; set $top_60sec, @record_sec60; set $arena_60topn$,strcharinfo(0); - donpcevent "Vendigos::Onlinerec_60"; + donpcevent "Vendigos::OnLineRec_60"; next; if (arena_point > 29950) { mes "[Staff]"; @@ -979,9 +904,7 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { mes "[Staff]"; mes "Let me reward you with some arena points."; mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; @@ -997,19 +920,17 @@ prt_are_in,25,135,3 script Staff#60-2 67,{ close2; } specialeffect2 EF_HIT5; - donpcevent "cast#60::Onnomal2"; + donpcevent "cast#60::OnNomal2"; warp "arena_room",100,75; - donpcevent "#arn_timer_60::Onstop"; - donpcevent "alloff#60::Onon"; - donpcevent "lvl 60s Waiting Room::Onstart"; + donpcevent "#arn_timer_60::OnStop"; + donpcevent "alloff#60::OnEnable"; + donpcevent "Lv60 Waiting Room::OnStart"; end; } - } - script #arn_timer_60 -1,{ - -Onon: +OnEnable: initnpctimer; end; @@ -1026,65 +947,62 @@ OnTimer4000: end; OnTimer60000: - donpcevent "cast#60::Ontimeover2"; - donpcevent "arn_warp_60::Onout"; - donpcevent "#arn_timer_60::Onstop"; - donpcevent "alloff#60::Onon"; - donpcevent "lvl 60s Waiting Room::Onstart"; + donpcevent "cast#60::OnTimeOver2"; + donpcevent "arn_warp_60::OnOut"; + donpcevent "#arn_timer_60::OnStop"; + donpcevent "alloff#60::OnEnable"; + donpcevent "Lv60 Waiting Room::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; } - script arn_warp_60 -1,{ - -Onout: +OnOut: areawarp "prt_are_in",14,143,29,126,"arena_room",100,75; end; } - script cast#60 -1,{ - -Ontimeover1: +OnTimeOver1: mapannounce "force_2-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; end; -Onnomal1: +OnNomal1: mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; end; -Onnomal2: +OnNomal2: mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; end; -Ontimeover2: +OnTimeOver2: mapannounce "force_2-1","Arena will be reactivated due to an error occurred in the waiting room.",0,0xFFCE00; end; } - script alloff#60 -1,{ - -Onon: +OnEnable: mapwarp "force_2-1","prt_are_in",126,139,0,0; - donpcevent "force_01mob#60::Onreset"; - donpcevent "force_02mob#60::Onreset"; - donpcevent "force_03mob#60::Onreset"; - donpcevent "force_04mob#60::Onreset"; - donpcevent "force_05mob#60::Onreset"; - donpcevent "force_06mob#60::Onreset"; - donpcevent "force_07mob#60::Onreset"; - donpcevent "force_08mob#60::Onreset"; - donpcevent "force_09mob#60::Onreset"; - donpcevent "force_01ex#60::Onreset"; - donpcevent "force_03ex#60::Onreset"; - donpcevent "force_04ex#60::Onreset"; - donpcevent "force_05ex#60::Onreset"; - donpcevent "force_06ex#60::Onreset"; - donpcevent "force_08ex#60::Onreset"; - donpcevent "force_09ex#60::Onreset"; - donpcevent "Minilover#arena::Ontimeroff"; + donpcevent "force_01mob#60::OnReset"; + donpcevent "force_02mob#60::OnReset"; + donpcevent "force_03mob#60::OnReset"; + donpcevent "force_04mob#60::OnReset"; + donpcevent "force_05mob#60::OnReset"; + donpcevent "force_06mob#60::OnReset"; + donpcevent "force_07mob#60::OnReset"; + //donpcevent "force_08mob#60::OnReset"; + donpcevent "force_09mob#60::OnReset"; + donpcevent "force_01ex#60::OnReset"; + donpcevent "force_03ex#60::OnReset"; + donpcevent "force_04ex#60::OnReset"; + donpcevent "force_05ex#60::OnReset"; + donpcevent "force_06ex#60::OnReset"; + //donpcevent "force_08ex#60::OnReset"; + donpcevent "force_09ex#60::OnReset"; + donpcevent "Minilover#arena::OnTimerOff"; disablenpc "Minilover#arena"; disablenpc "force_01_02#60"; disablenpc "force_02_03#60"; @@ -1096,7 +1014,7 @@ Onon: disablenpc "force_08_09#60"; disablenpc "force_exit#60"; disablenpc "arena#60"; - donpcevent "#arn_timer_60::Onstop"; + donpcevent "#arn_timer_60::OnStop"; enablenpc "Minilover#arena"; enablenpc "arena#60"; end; @@ -1104,5 +1022,4 @@ Onon: OnInit: if(!$top_60min && !$top_60sec) set $top_60min,6; end; - } diff --git a/npc/other/arena/arena_lvl70.txt b/npc/other/arena/arena_lvl70.txt index e3ab5367f..cef72fc62 100644 --- a/npc/other/arena/arena_lvl70.txt +++ b/npc/other/arena/arena_lvl70.txt @@ -1,31 +1,33 @@ //===== Hercules Script ====================================== -//= Izlude Arena lvl 70 +//= Izlude Arena Level 70 //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.1 +//= 1.3 //===== Description: ========================================= //= Izlude Battle Arena Level 70 //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Replaced effect numerics with constants. [Samuray22] +//= 1.2 Label standardization. [Euphy] +//= 1.3 Script updates. [Euphy] //============================================================ -arena_room,52,42,7 script lvl 70s Waiting Room 124,{ +arena_room,52,42,7 script Lv70 Waiting Room 124,{ end; OnInit: - waitingroom "Individual; Level 70 to 89",50,"lvl 70s Waiting Room::OnStartArena",1,1000,70,89; + waitingroom "Individual; Level 70 to 89",50,"Lv70 Waiting Room::OnStartArena",1,1000,70,89; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "force_3-1",99,12; - donpcevent "arena#70::Onstart"; + donpcevent "arena#70::OnStart"; disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } @@ -33,11 +35,7 @@ Onstart: force_3-1,99,20,4 script Cadillac#arena 124,{ end; -OnInit: - set $@mapcount70, 0; - end; - -Onstart: +OnStart: initnpctimer; set $arena_min70st,gettime(2); set $arena_sec70st,gettime(1); @@ -56,48 +54,43 @@ OnTimer7000: end; OnTimer60000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 6 minutes ",0; end; OnTimer120000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 5 minutes ",0; end; OnTimer180000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 4 minutes ",0; -end; + end; + OnTimer240000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 3 minutes ",0; end; OnTimer300000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 2 minutes ",0; end; OnTimer360000: - set $@mapcount70, getmapusers ("force_3-1"); - if ($@mapcount70 == 0) { - donpcevent "Cadillac#arena::Onfailclearstage"; + if (getmapusers("force_3-1") == 0) { + donpcevent "Cadillac#arena::OnFailClearStage"; } mapannounce "force_3-1","Remaining Time : 1 minute ",0; end; @@ -121,146 +114,144 @@ OnTimer434000: OnTimer435000: mapwarp "force_3-1","prt_are_in",126,87,0,0; - donpcevent "Cadillac#arena::Onfailclearstage"; + donpcevent "Cadillac#arena::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: - donpcevent "cast#70::Ontimeover1"; +OnFailClearStage: + donpcevent "cast#70::OnTimeOver1"; mapwarp "force_3-1","prt_are_in",126,87,0,0; - donpcevent "Cadillac#arena::Ontimeroff"; - donpcevent "arena#70::Onreset_all"; - donpcevent "alloff#70::Onon"; - donpcevent "lvl 70s Waiting Room::Onstart"; + donpcevent "Cadillac#arena::OnTimerOff"; + donpcevent "arena#70::OnReset_All"; + donpcevent "alloff#70::OnEnable"; + donpcevent "Lv70 Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all Kobolds!",0; end; -On01_end: +On01_End: mapannounce "force_3-1","A door to the north room has opened!",0; end; -On02_start: +On02_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all Horongs and escape!",0; end; -On02_end: +On02_End: mapannounce "force_3-1","A door to the north room has opened!",0; end; -On03_start: +On03_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all monsters except Enchanted Peach Trees!",0; end; -On03_end: +On03_End: mapannounce "force_3-1","Clear! A door to the east room has opened!",0; end; -On04_start: +On04_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all Stem Worms while dodging Bathories!",0; end; -On04_end: +On04_End: mapannounce "force_3-1","A door to the east room has opened!",0; end; -On05_start: +On05_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all Argiopes!",0; end; -On05_end: +On05_End: mapannounce "force_3-1","Clear! A door to the south room has opened!",0; end; -On06_start: +On06_Start: mapannounce "force_3-1","In order to clear this battle, you must kill all Hammer Goblins!",0; end; -On06_end: +On06_End: mapannounce "force_3-1","A door to the south room has opened!",0; end; -On07_start: +On07_Start: mapannounce "force_3-1","In order to clear this battle, you must kill an Alice in the center!",0; end; -On07_end: +On07_End: mapannounce "force_3-1","Clear! A door to the west room has opened!",0; end; -On08_start: +On08_Start: mapannounce "force_3-1","Please escape to the north exit!",0; end; -On09_start: +On09_Start: mapannounce "force_3-1","In order to clear this battle, you must kill a Kobold Leader and all Kobolds!",0; end; -On09_end: +On09_End: mapannounce "force_3-1","Boss Clear! - A door at the north has opened. Thank you. ",0; end; - } - script arena#70 -1,{ - -Onreset_01: - donpcevent "force_01ex#70::Onreset"; - donpcevent "force_02start#70::Onon"; +OnReset_01: + //donpcevent "force_01ex#70::OnReset"; + donpcevent "force_02start#70::OnEnable"; enablenpc "force_01_02#70"; end; -Onreset_02: - donpcevent "force_02ex#70::Onreset"; - donpcevent "force_03start#70::Onon"; +OnReset_02: + donpcevent "force_02ex#70::OnReset"; + donpcevent "force_03start#70::OnEnable"; enablenpc "force_02_03#70"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#70"; - donpcevent "force_04start#70::Onon"; - donpcevent "force_03ex#70::Onreset"; + donpcevent "force_04start#70::OnEnable"; + donpcevent "force_03ex#70::OnReset"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#70"; - donpcevent "force_05start#70::Onon"; - donpcevent "force_04ex#70::Onreset"; + donpcevent "force_05start#70::OnEnable"; + donpcevent "force_04ex#70::OnReset"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#70"; - donpcevent "force_06start#70::Onon"; - donpcevent "force_05ex#70::Onreset"; + donpcevent "force_06start#70::OnEnable"; + donpcevent "force_05ex#70::OnReset"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#70"; - donpcevent "force_07start#70::Onon"; - donpcevent "force_06ex#70::Onreset"; + donpcevent "force_07start#70::OnEnable"; + donpcevent "force_06ex#70::OnReset"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#70"; - donpcevent "force_07ex#70::Onreset"; - donpcevent "force_08start#70::Onon"; + donpcevent "force_07ex#70::OnReset"; + donpcevent "force_08start#70::OnEnable"; end; -Onreset_08: - donpcevent "force_09start#70::Onon"; +OnReset_08: + donpcevent "force_09start#70::OnEnable"; enablenpc "force_08_09#70"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#70"; end; -Onstart: +OnStart: disablenpc "force_01_02#70"; disablenpc "force_02_03#70"; disablenpc "force_03_04#70"; @@ -270,559 +261,494 @@ Onstart: disablenpc "force_07_08#70"; disablenpc "force_08_09#70"; disablenpc "force_exit#70"; - donpcevent "Cadillac#arena::Ontimeroff"; - donpcevent "force_09mob#70::Ontimeroff"; - donpcevent "force_01mob#70::Onreset"; - donpcevent "force_02mob#70::Onreset"; - donpcevent "force_03mob#70::Onreset"; - donpcevent "force_04mob#70::Onreset"; - donpcevent "force_05mob#70::Onreset"; - donpcevent "force_06mob#70::Onreset"; - donpcevent "force_07mob#70::Onreset"; - donpcevent "force_08mob#70::Onreset"; - donpcevent "force_09mob#70::Onreset"; - donpcevent "force_01ex#70::Onreset"; - donpcevent "force_02ex#70::Onreset"; - donpcevent "force_03ex#70::Onreset"; - donpcevent "force_04ex#70::Onreset"; - donpcevent "force_05ex#70::Onreset"; - donpcevent "force_06ex#70::Onreset"; - donpcevent "force_07ex#70::Onreset"; - donpcevent "force_08ex#70::Onreset"; - donpcevent "force_09ex#70::Onreset"; + donpcevent "Cadillac#arena::OnTimerOff"; + //donpcevent "force_09mob#70::OnTimerOff"; + donpcevent "force_01mob#70::OnReset"; + donpcevent "force_02mob#70::OnReset"; + donpcevent "force_03mob#70::OnReset"; + donpcevent "force_04mob#70::OnReset"; + donpcevent "force_05mob#70::OnReset"; + donpcevent "force_06mob#70::OnReset"; + donpcevent "force_07mob#70::OnReset"; + //donpcevent "force_08mob#70::OnReset"; + donpcevent "force_09mob#70::OnReset"; + //donpcevent "force_01ex#70::OnReset"; + donpcevent "force_02ex#70::OnReset"; + donpcevent "force_03ex#70::OnReset"; + donpcevent "force_04ex#70::OnReset"; + donpcevent "force_05ex#70::OnReset"; + donpcevent "force_06ex#70::OnReset"; + donpcevent "force_07ex#70::OnReset"; + //donpcevent "force_08ex#70::OnReset"; + donpcevent "force_09ex#70::OnReset"; enablenpc "force_08_01#70"; - donpcevent "force_01start#70::Onon"; - donpcevent "Cadillac#arena::Onstart"; - end; - -Onreset_all: - donpcevent "force_01mob#70::Onreset"; - donpcevent "force_02mob#70::Onreset"; - donpcevent "force_03mob#70::Onreset"; - donpcevent "force_04mob#70::Onreset"; - donpcevent "force_05mob#70::Onreset"; - donpcevent "force_06mob#70::Onreset"; - donpcevent "force_07mob#70::Onreset"; - donpcevent "force_09mob#70::Onreset"; - donpcevent "force_01ex#70::Onreset"; - donpcevent "force_02ex#70::Onreset"; - donpcevent "force_03ex#70::Onreset"; - donpcevent "force_04ex#70::Onreset"; - donpcevent "force_05ex#70::Onreset"; - donpcevent "force_06ex#70::Onreset"; - donpcevent "force_07ex#70::Onreset"; - donpcevent "force_08ex#70::Onreset"; - donpcevent "force_09ex#70::Onreset"; + donpcevent "force_01start#70::OnEnable"; + donpcevent "Cadillac#arena::OnStart"; + end; + +OnReset_All: + donpcevent "force_01mob#70::OnReset"; + donpcevent "force_02mob#70::OnReset"; + donpcevent "force_03mob#70::OnReset"; + donpcevent "force_04mob#70::OnReset"; + donpcevent "force_05mob#70::OnReset"; + donpcevent "force_06mob#70::OnReset"; + donpcevent "force_07mob#70::OnReset"; + donpcevent "force_09mob#70::OnReset"; + //donpcevent "force_01ex#70::OnReset"; + donpcevent "force_02ex#70::OnReset"; + donpcevent "force_03ex#70::OnReset"; + donpcevent "force_04ex#70::OnReset"; + donpcevent "force_05ex#70::OnReset"; + donpcevent "force_06ex#70::OnReset"; + donpcevent "force_07ex#70::OnReset"; + //donpcevent "force_08ex#70::OnReset"; + donpcevent "force_09ex#70::OnReset"; end; - } force_3-1,62,26,1 script force_08_01#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On01_start"; + donpcevent "Cadillac#arena::On01_Start"; warp "force_3-1",40,26; end; - } force_3-1,25,44,1 script force_01_02#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On02_start"; + donpcevent "Cadillac#arena::On02_Start"; warp "force_3-1",25,69; end; - } force_3-1,25,134,1 script force_02_03#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On03_start"; + donpcevent "Cadillac#arena::On03_Start"; warp "force_3-1",25,159; end; - } force_3-1,44,174,1 script force_03_04#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On04_start"; + donpcevent "Cadillac#arena::On04_Start"; warp "force_3-1",69,174; end; - } force_3-1,134,174,1 script force_04_05#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On05_start"; + donpcevent "Cadillac#arena::On05_Start"; warp "force_3-1",159,174; end; - } force_3-1,174,155,1 script force_05_06#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On06_start"; + donpcevent "Cadillac#arena::On06_Start"; warp "force_3-1",174,130; end; - } force_3-1,174,65,1 script force_06_07#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On07_start"; + donpcevent "Cadillac#arena::On07_Start"; warp "force_3-1",174,40; end; - } force_3-1,155,26,1 script force_07_08#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On08_start"; + donpcevent "Cadillac#arena::On08_Start"; warp "force_3-1",132,26; enablenpc "force_08_09#70"; end; - } force_3-1,99,54,1 script force_08_09#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::On09_start"; + donpcevent "Cadillac#arena::On09_Start"; warp "force_3-1",99,82; end; - } force_3-1,99,124,1 script force_exit#70 45,1,1,{ - OnTouch: - donpcevent "Cadillac#arena::Ontimeroff"; - donpcevent "#arn_timer_70::Onon"; + donpcevent "Cadillac#arena::OnTimerOff"; + donpcevent "#arn_timer_70::OnEnable"; mapwarp "force_3-1","prt_are_in",22,87,0,0; end; - } - script force_01start#70 -1,{ -Onon: - donpcevent "force_01mob#70::Onon"; -end; - +OnEnable: + donpcevent "force_01mob#70::OnEnable"; + end; } - script force_01mob#70 -1,{ - -Onon: - monster "force_3-1",25,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath"; - monster "force_3-1",20,36,"Kobold",1545,1,"force_01mob#70::OnMobDeath"; - monster "force_3-1",25,20,"Kobold",1546,1,"force_01mob#70::OnMobDeath"; - monster "force_3-1",30,36,"Kobold",1547,1,"force_01mob#70::OnMobDeath"; - monster "force_3-1",28,15,"Kobold",1547,1,"force_01mob#70::OnMobDeath"; - set $force_01_70,5; +OnEnable: + monster "force_3-1",25,36,"Kobold",1545,1,"force_01mob#70::OnMyMobDead"; + monster "force_3-1",20,36,"Kobold",1545,1,"force_01mob#70::OnMyMobDead"; + monster "force_3-1",25,20,"Kobold",1546,1,"force_01mob#70::OnMyMobDead"; + monster "force_3-1",30,36,"Kobold",1547,1,"force_01mob#70::OnMyMobDead"; + monster "force_3-1",28,15,"Kobold",1547,1,"force_01mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_01mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_01mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_01_70,$force_01_70 -1; - if ($force_01_70 < 1) { - donpcevent "Cadillac#arena::On01_end"; - donpcevent "arena#70::Onreset_01"; +OnMyMobDead: + if (mobcount("force_3-1","force_01mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On01_End"; + donpcevent "arena#70::OnReset_01"; } end; } - script force_02start#70 -1,{ - -Onon: - donpcevent "force_02mob#70::Onon"; +OnEnable: + donpcevent "force_02mob#70::OnEnable"; end; } - script force_02ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_02ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_02ex#70::OnMyMobDead"; end; -Onsummonmob2: - monster "force_3-1",21,78,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",22,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",29,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",25,101,"Mummy",1393,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",26,101,"Mummy",1393,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",27,101,"Mummy",1393,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",28,101,"Mummy",1393,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",24,104,"Ghoul",1423,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",24,113,"Ghoul",1423,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",29,120,"Ghoul",1423,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",29,126,"Ghoul",1423,1,"force_02ex#70::OnMobEx"; - monster "force_3-1",30,110,"Ghoul",1423,1,"force_02ex#70::OnMobEx"; +OnSummonMob2: + monster "force_3-1",21,78,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",22,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",29,93,"Archer Skeleton",1420,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",25,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",26,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",27,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",28,101,"Mummy",1393,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",24,104,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",24,113,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",29,120,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",29,126,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; + monster "force_3-1",30,110,"Ghoul",1423,1,"force_02ex#70::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_02mob#70 -1,{ - -Onreset: - killmonster "force_3-1","force_02mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_02mob#70::OnMyMobDead"; end; -Onon: - monster "force_3-1",25,79,"Horong",1578,1,"force_02mob#70::OnMobDeath"; - monster "force_3-1",29,114,"Horong",1578,1,"force_02mob#70::OnMobDeath"; - donpcevent "force_02ex#70::Onsummonmob2"; - set $force_02_70,2; +OnEnable: + monster "force_3-1",25,79,"Horong",1578,1,"force_02mob#70::OnMyMobDead"; + monster "force_3-1",29,114,"Horong",1578,1,"force_02mob#70::OnMyMobDead"; + donpcevent "force_02ex#70::OnSummonMob2"; end; -OnMobDeath: - set $force_02_70,$force_02_70 -1; - if ($force_02_70 < 1) { - donpcevent "Cadillac#arena::On02_end"; - donpcevent "arena#70::Onreset_02"; +OnMyMobDead: + if (mobcount("force_3-1","force_02mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On02_End"; + donpcevent "arena#70::OnReset_02"; } end; } - script force_03start#70 -1,{ - -Onon: - donpcevent "force_03mob#70::Onon"; +OnEnable: + donpcevent "force_03mob#70::OnEnable"; end; } - script force_03ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_03ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_03ex#70::OnMyMobDead"; end; -Onsummonmob_03: - monster "force_3-1",10,170,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx"; - monster "force_3-1",26,180,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMobEx"; +OnSummonMob_03: + monster "force_3-1",10,170,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMyMobDead"; + monster "force_3-1",26,180,"Enchanted Peach Tree",1550,1,"force_03ex#70::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_03mob#70 -1,{ - -Onon: - donpcevent "force_03ex#70::Onsummonmob_03"; - monster "force_3-1",23,174,"Parasite",1555,1,"force_03mob#70::OnMobDeath"; - monster "force_3-1",33,173,"Parasite",1555,1,"force_03mob#70::OnMobDeath"; - monster "force_3-1",26,166,"Blood Butterfly",1526,1,"force_03mob#70::OnMobDeath"; - set $force_03_70,3; +OnEnable: + donpcevent "force_03ex#70::OnSummonMob_03"; + monster "force_3-1",23,174,"Parasite",1555,1,"force_03mob#70::OnMyMobDead"; + monster "force_3-1",33,173,"Parasite",1555,1,"force_03mob#70::OnMyMobDead"; + monster "force_3-1",26,166,"Blood Butterfly",1526,1,"force_03mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_03mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_03mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_03_70,$force_03_70 -1; - donpcevent "force_03ex#70::Onsummonmob_03"; - if ($force_03_70 < 1) { - donpcevent "Cadillac#arena::On03_end"; - donpcevent "arena#70::Onreset_03"; +OnMyMobDead: + donpcevent "force_03ex#70::OnSummonMob_03"; + if (mobcount("force_3-1","force_03mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On03_End"; + donpcevent "arena#70::OnReset_03"; } end; } - script force_04start#70 -1,{ - -Onon: - donpcevent "force_04mob#70::Onon"; -end; - +OnEnable: + donpcevent "force_04mob#70::OnEnable"; + end; } - script force_04ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_04ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_04ex#70::OnMyMobDead"; end; -Onsummonmob_04: - monster "force_3-1",94,179,"Bathory",1525,1,"force_04ex#70::OnMobEx"; - monster "force_3-1",110,179,"Bathory",1525,1,"force_04ex#70::OnMobEx"; - monster "force_3-1",90,170,"Bathory",1525,1,"force_04ex#70::OnMobEx"; - monster "force_3-1",100,170,"Bathory",1525,1,"force_04ex#70::OnMobEx"; - monster "force_3-1",125,178,"Bathory",1525,1,"force_04ex#70::OnMobEx"; - monster "force_3-1",125,169,"Bathory",1525,1,"force_04ex#70::OnMobEx"; +OnSummonMob_04: + monster "force_3-1",94,179,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; + monster "force_3-1",110,179,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; + monster "force_3-1",90,170,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; + monster "force_3-1",100,170,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; + monster "force_3-1",125,178,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; + monster "force_3-1",125,169,"Bathory",1525,1,"force_04ex#70::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; - } - script force_04mob#70 -1,{ - -Onon: - donpcevent "force_04ex#70::Onsummonmob_04"; - monster "force_3-1",87,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath"; - monster "force_3-1",103,174,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath"; - monster "force_3-1",96,170,"Stem Worm",1440,1,"force_04mob#70::OnMobDeath"; - set $force_04_70,3; +OnEnable: + donpcevent "force_04ex#70::OnSummonMob_04"; + monster "force_3-1",87,174,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; + monster "force_3-1",103,174,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; + monster "force_3-1",96,170,"Stem Worm",1440,1,"force_04mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_04mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_04mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_04_70,$force_04_70 -1; - if ($force_04_70 < 1) { - donpcevent "Cadillac#arena::On04_end"; - donpcevent "arena#70::Onreset_04"; +OnMyMobDead: + if (mobcount("force_3-1","force_04mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On04_End"; + donpcevent "arena#70::OnReset_04"; } end; } - script force_05start#70 -1,{ - -Onon: - donpcevent "force_05mob#70::Onon"; +OnEnable: + donpcevent "force_05mob#70::OnEnable"; end; } - script force_05ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_05ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_05ex#70::OnMyMobDead"; end; -Onsummonmob_05: - set $@randmonster70,rand(1,2); - switch($@randmonster70) { +OnSummonMob_05: + switch(rand(1,2)) { case 1: - monster "force_3-1",174,174,"Ride Word",1478,1,"force_05ex#70::OnMobEx"; + monster "force_3-1",174,174,"Ride Word",1478,1,"force_05ex#70::OnMyMobDead"; break; case 2: - monster "force_3-1",173,173,"Mantis",1457,1,"force_05ex#70::OnMobEx"; + monster "force_3-1",173,173,"Mantis",1457,1,"force_05ex#70::OnMyMobDead"; break; } end; -OnMobEx: +OnMyMobDead: end; } - script force_05mob#70 -1,{ - -Onon: - monster "force_3-1",164,183,"Argiope",1429,1,"force_05mob#70::OnMobDeath"; - monster "force_3-1",168,158,"Argiope",1429,1,"force_05mob#70::OnMobDeath"; - monster "force_3-1",175,174,"Argiope",1429,1,"force_05mob#70::OnMobDeath"; - monster "force_3-1",176,179,"Argiope",1429,1,"force_05mob#70::OnMobDeath"; - monster "force_3-1",183,160,"Argiope",1429,1,"force_05mob#70::OnMobDeath"; - set $force_05_70,5; +OnEnable: + monster "force_3-1",164,183,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; + monster "force_3-1",168,158,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; + monster "force_3-1",175,174,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; + monster "force_3-1",176,179,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; + monster "force_3-1",183,160,"Argiope",1429,1,"force_05mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_05mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_05mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_05_70,$force_05_70 -1; - if ($force_05_70 < 1) { - donpcevent "Cadillac#arena::On05_end"; - donpcevent "arena#70::Onreset_05"; +OnMyMobDead: + if (mobcount("force_3-1","force_05mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On05_End"; + donpcevent "arena#70::OnReset_05"; } - else donpcevent "force_05ex#70::Onsummonmob_05"; + else donpcevent "force_05ex#70::OnSummonMob_05"; end; - } - script force_06start#70 -1,{ - -Onon: - donpcevent "force_06mob#70::Onon"; +OnEnable: + donpcevent "force_06mob#70::OnEnable"; end; } - script force_06ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_06ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_06ex#70::OnMyMobDead"; end; -Onsummonmob_06: - monster "force_3-1",176,99,"Goblin",1534,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",170,86,"Goblin",1535,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",176,97,"Goblin",1535,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",170,108,"Goblin",1535,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",176,112,"Goblin",1536,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",173,120,"Goblin",1536,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",177,74,"Goblin",1536,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",173,118,"Goblin",1538,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",171,101,"Goblin",1538,1,"force_06ex#70::OnMobEx"; - monster "force_3-1",174,118,"Goblin",1538,1,"force_06ex#70::OnMobEx"; +OnSummonMob_06: + monster "force_3-1",176,99,"Goblin",1534,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",170,86,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",176,97,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",170,108,"Goblin",1535,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",176,112,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",173,120,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",177,74,"Goblin",1536,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",173,118,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",171,101,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; + monster "force_3-1",174,118,"Goblin",1538,1,"force_06ex#70::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_06mob#70 -1,{ - -Onon: - donpcevent "force_06ex#70::Onsummonmob_06"; - monster "force_3-1",173,90,"Goblin",1537,1,"force_06mob#70::OnMobDeath"; - monster "force_3-1",173,79,"Goblin",1537,1,"force_06mob#70::OnMobDeath"; - monster "force_3-1",172,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath"; - monster "force_3-1",175,70,"Goblin",1537,1,"force_06mob#70::OnMobDeath"; - monster "force_3-1",171,118,"Goblin",1537,1,"force_06mob#70::OnMobDeath"; - set $force_06_70,5; +OnEnable: + donpcevent "force_06ex#70::OnSummonMob_06"; + monster "force_3-1",173,90,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; + monster "force_3-1",173,79,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; + monster "force_3-1",172,70,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; + monster "force_3-1",175,70,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; + monster "force_3-1",171,118,"Goblin",1537,1,"force_06mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_06mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_06mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_06_70,$force_06_70 -1; - if ($force_06_70 < 1) { - donpcevent "Cadillac#arena::On06_end"; - donpcevent "arena#70::Onreset_06"; +OnMyMobDead: + if (mobcount("force_3-1","force_06mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On06_End"; + donpcevent "arena#70::OnReset_06"; } end; } - script force_07start#70 -1,{ - -Onon: - donpcevent "force_07mob#70::Onon"; +OnEnable: + donpcevent "force_07mob#70::OnEnable"; end; } - script force_07ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_07ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_07ex#70::OnMyMobDead"; end; -Onsummonmob_07: - monster "force_3-1",168,26,"Nightmare",1427,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",186,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",160,23,"Nightmare",1427,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",188,33,"Nightmare",1427,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",174,13,"Raydric",1453,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",163,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",164,15,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",163,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",164,16,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",187,13,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",187,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; - monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMobEx"; +OnSummonMob_07: + monster "force_3-1",168,26,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",186,23,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",160,23,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",188,33,"Nightmare",1427,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",174,13,"Raydric",1453,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",163,15,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",164,15,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",163,16,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",164,16,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",187,13,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",187,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + monster "force_3-1",186,14,"Farmiliar",1419,1,"force_07ex#70::OnMyMobDead"; + end; -OnMobEx: +OnMyMobDead: end; } - script force_07mob#70 -1,{ - -Onon: - donpcevent "force_07ex#70::Onsummonmob_07"; - monster "force_3-1",174,25,"Alice",1521,1,"force_07mob#70::OnMobDeath"; - set $force_07_70,1; +OnEnable: + donpcevent "force_07ex#70::OnSummonMob_07"; + monster "force_3-1",174,25,"Alice",1521,1,"force_07mob#70::OnMyMobDead"; end; -Onreset: - killmonster "force_3-1","force_07mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_07mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_07_70,$force_07_70 -1; - if ($force_07_70 < 1) { - donpcevent "Cadillac#arena::On07_end"; - donpcevent "arena#70::Onreset_07"; +OnMyMobDead: + if (mobcount("force_3-1","force_07mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On07_End"; + donpcevent "arena#70::OnReset_07"; } end; } - script force_08start#70 -1,{ - -Onon: - donpcevent "force_08ex#70::Onon"; +OnEnable: + donpcevent "force_08ex#70::OnEnable"; end; } - script force_08ex#70 -1,{ - -Onon: - donpcevent "arena#70::Onreset_08"; +OnEnable: + donpcevent "arena#70::OnReset_08"; end; } - script force_09start#70 -1,{ - -Onon: - donpcevent "force_09mob#70::Onon"; +OnEnable: + donpcevent "force_09mob#70::OnEnable"; end; } - script force_09ex#70 -1,{ - -Onreset: - killmonster "force_3-1","force_09ex#70::OnMobEx"; +OnReset: + killmonster "force_3-1","force_09ex#70::OnMyMobDead"; end; -Onsummonmob_09: - monster "force_3-1",93,100,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",94,100,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",93,99,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",87,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",89,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",91,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",93,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",95,114,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,112,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,110,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,108,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,106,"Familiar",1419,1,"force_09ex#70::OnMobEx"; - monster "force_3-1",85,104,"Familiar",1419,1,"force_09ex#70::OnMobEx"; +OnSummonMob_09: + monster "force_3-1",93,100,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",94,100,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",93,99,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",87,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",89,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",91,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",93,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",95,114,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,112,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,110,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,108,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,106,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; + monster "force_3-1",85,104,"Familiar",1419,1,"force_09ex#70::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_09mob#70 -1,{ - -Onon: - monster "force_3-1",99,99,"Kobold Leader",1548,1,"force_09mob#70::OnMobDeath"; - monster "force_3-1",98,99,"Kobold",1545,1,"force_09mob#70::OnMobDeath"; - monster "force_3-1",100,99,"Kobold",1546,1,"force_09mob#70::OnMobDeath"; - monster "force_3-1",99,98,"Kobold",1547,1,"force_09mob#70::OnMobDeath"; - donpcevent "force_09ex#70::Onsummonmob_09"; - set $force_09_70,4; +OnEnable: + monster "force_3-1",99,99,"Kobold Leader",1548,1,"force_09mob#70::OnMyMobDead"; + monster "force_3-1",98,99,"Kobold",1545,1,"force_09mob#70::OnMyMobDead"; + monster "force_3-1",100,99,"Kobold",1546,1,"force_09mob#70::OnMyMobDead"; + monster "force_3-1",99,98,"Kobold",1547,1,"force_09mob#70::OnMyMobDead"; + donpcevent "force_09ex#70::OnSummonMob_09"; end; -Onreset: - killmonster "force_3-1","force_09mob#70::OnMobDeath"; +OnReset: + killmonster "force_3-1","force_09mob#70::OnMyMobDead"; end; -OnMobDeath: - set $force_09_70,$force_09_70 -1; - if ($force_09_70 < 1) { - donpcevent "Cadillac#arena::On09_end"; - donpcevent "arena#70::Onreset_09"; - donpcevent "arena#70::Onreset_all"; +OnMyMobDead: + if (mobcount("force_3-1","force_09mob#70::OnMyMobDead") < 1) { + donpcevent "Cadillac#arena::On09_End"; + donpcevent "arena#70::OnReset_09"; + donpcevent "arena#70::OnReset_All"; set $arena_min70end,gettime(2); set $arena_sec70end,gettime(1); } @@ -830,7 +756,6 @@ OnMobDeath: } prt_are_in,129,83,3 script Staff#70-1 67,{ - mes "[Staff]"; mes "You did a good job."; mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; @@ -852,29 +777,19 @@ prt_are_in,129,83,3 script Staff#70-1 67,{ } prt_are_in,25,84,3 script Staff#70-2 67,{ - - if($arena_min70end < $arena_min70st) - { - if($arena_sec70end < $arena_sec70st) - { + if($arena_min70end < $arena_min70st) { + if($arena_sec70end < $arena_sec70st) { set @record_min70,60 - $arena_min70st + $arena_min70end -1; set @record_sec70,60 - $arena_sec70st + $arena_sec70end; - } - else - { + } else { set @record_min70,60 - $arena_min70st + $arena_min70end; set @record_sec70,$arena_sec70end - $arena_sec70st; } - } - else - { - if($arena_sec70end < $arena_sec70st) - { + } else { + if($arena_sec70end < $arena_sec70st) { set @record_min70,$arena_min70end - $arena_min70st -1; set @record_sec70,60 - $arena_sec70st + $arena_sec70end; - } - else - { + } else { set @record_min70,$arena_min70end - $arena_min70st; set @record_sec70,$arena_sec70end - $arena_sec70st; } @@ -890,7 +805,7 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ mes "Congratulations!"; next; mes "[Staff]"; - mes "The fastest player among people who cleared lvl 70s arena time force battle is ^3131FF"+$arena_70topn$+"^000000."; + mes "The fastest player among people who cleared Lv70 arena time force battle is ^3131FF"+$arena_70topn$+"^000000."; next; mes "[Staff]"; mes "^3131FF"+$arena_70topn$+"^000000's running time was ^3131FF"+$top_70min+"^000000minutes ^3131FF"+$top_70sec+"^000000seconds."; @@ -911,9 +826,7 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { set arena_point, arena_point + 20; mes "[Staff]"; mes "Let me reward you some arena points."; @@ -925,15 +838,13 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ close2; } specialeffect2 EF_EXIT; - donpcevent "cast#70::Onnomal1"; + donpcevent "cast#70::OnNomal1"; warp "arena_room",100,75; - donpcevent "#arn_timer_70::Onstop"; - donpcevent "alloff#70::Onon"; - donpcevent "lvl 70s Waiting Room::Onstart"; + donpcevent "#arn_timer_70::OnStop"; + donpcevent "alloff#70::OnEnable"; + donpcevent "Lv70 Waiting Room::OnStart"; end; - } - else - { + } else { emotion e_omg; mes "[Staff]"; mes "Wow! You have renewed the record!"; @@ -944,7 +855,7 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ set $top_70min, @record_min70; set $top_70sec, @record_sec70; set $arena_70topn$,strcharinfo(0); - donpcevent "Vendigos::Onlinerec_70"; + donpcevent "Vendigos::OnLineRec_70"; next; if (arena_point > 29970) { mes "[Staff]"; @@ -958,9 +869,7 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { mes "[Staff]"; mes "Let me reward you with some arena points."; mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; @@ -976,18 +885,17 @@ prt_are_in,25,84,3 script Staff#70-2 67,{ close2; } specialeffect2 EF_HIT5; - donpcevent "cast#70::Onnomal2"; + donpcevent "cast#70::OnNomal2"; warp "arena_room",100,75; - donpcevent "#arn_timer_70::Onstop"; - donpcevent "alloff#70::Onon"; - donpcevent "lvl 70s Waiting Room::Onstart"; + donpcevent "#arn_timer_70::OnStop"; + donpcevent "alloff#70::OnEnable"; + donpcevent "Lv70 Waiting Room::OnStart"; end; } } - script #arn_timer_70 -1,{ - -Onon: +OnEnable: initnpctimer; end; @@ -1004,64 +912,61 @@ OnTimer4000: end; OnTimer60000: - donpcevent "cast#70::Ontimeover2"; - donpcevent "arn_warp_70::Onout"; - donpcevent "#arn_timer_70::Onstop"; - donpcevent "alloff#70::Onon"; - donpcevent "lvl 70s Waiting Room::Onstart"; + donpcevent "cast#70::OnTimeOver2"; + donpcevent "arn_warp_70::OnOut"; + donpcevent "#arn_timer_70::OnStop"; + donpcevent "alloff#70::OnEnable"; + donpcevent "Lv70 Waiting Room::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; - } - script arn_warp_70 -1,{ - -Onout: +OnOut: areawarp "prt_are_in",14,91,29,74,"arena_room",100,75; end; } - script cast#70 -1,{ -Ontimeover1: +OnTimeOver1: mapannounce "force_3-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; end; -Ontimeover2: +OnTimeOver2: mapannounce "force_3-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00; end; -Onnomal1: +OnNomal1: mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00; end; -Onnomal2: +OnNomal2: mapannounce "force_3-1","Arena will be reactivated.",0,0xFFCE00; end; } - script alloff#70 -1,{ - -Onon: +OnEnable: mapwarp "force_3-1","prt_are_in",126,190,0,0; - donpcevent "force_01mob#70::Onreset"; - donpcevent "force_02mob#70::Onreset"; - donpcevent "force_03mob#70::Onreset"; - donpcevent "force_04mob#70::Onreset"; - donpcevent "force_05mob#70::Onreset"; - donpcevent "force_06mob#70::Onreset"; - donpcevent "force_07mob#70::Onreset"; - donpcevent "force_08mob#70::Onreset"; - donpcevent "force_09mob#70::Onreset"; - donpcevent "force_01ex#70::Onreset"; - donpcevent "force_02ex#70::Onreset"; - donpcevent "force_03ex#70::Onreset"; - donpcevent "force_04ex#70::Onreset"; - donpcevent "force_05ex#70::Onreset"; - donpcevent "force_06ex#70::Onreset"; - donpcevent "force_07ex#70::Onreset"; - donpcevent "force_08ex#70::Onreset"; - donpcevent "force_09ex#70::Onreset"; - donpcevent "Cadillac#arena::Ontimeroff"; + donpcevent "force_01mob#70::OnReset"; + donpcevent "force_02mob#70::OnReset"; + donpcevent "force_03mob#70::OnReset"; + donpcevent "force_04mob#70::OnReset"; + donpcevent "force_05mob#70::OnReset"; + donpcevent "force_06mob#70::OnReset"; + donpcevent "force_07mob#70::OnReset"; + //donpcevent "force_08mob#70::OnReset"; + donpcevent "force_09mob#70::OnReset"; + //donpcevent "force_01ex#70::OnReset"; + donpcevent "force_02ex#70::OnReset"; + donpcevent "force_03ex#70::OnReset"; + donpcevent "force_04ex#70::OnReset"; + donpcevent "force_05ex#70::OnReset"; + donpcevent "force_06ex#70::OnReset"; + donpcevent "force_07ex#70::OnReset"; + //donpcevent "force_08ex#70::OnReset"; + donpcevent "force_09ex#70::OnReset"; + donpcevent "Cadillac#arena::OnTimerOff"; disablenpc "Cadillac#arena"; disablenpc "force_01_02#70"; disablenpc "force_02_03#70"; @@ -1073,7 +978,7 @@ Onon: disablenpc "force_08_09#70"; disablenpc "force_exit#70"; disablenpc "arena#70"; - donpcevent "#arn_timer_70::Onstop"; + donpcevent "#arn_timer_70::OnStop"; enablenpc "Cadillac#arena"; enablenpc "arena#70"; end; @@ -1081,6 +986,4 @@ Onon: OnInit: if(!$top_70min && !$top_70sec) set $top_70min,7; end; - } - diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt index 729311508..2ad4c254d 100644 --- a/npc/other/arena/arena_lvl80.txt +++ b/npc/other/arena/arena_lvl80.txt @@ -1,31 +1,33 @@ //===== Hercules Script ====================================== -//= Izlude Arena lvl 80 +//= Izlude Arena Level 80 //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.1 +//= 1.3 //===== Description: ========================================= //= Izlude Battle Arena Level 80 //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Replaced effect numerics with constants. [Samuray22] +//= 1.2 Label standardization. [Euphy] +//= 1.3 Script updates, and removed a level restriction. [Euphy] //============================================================ -arena_room,147,42,1 script lvl 80s Waiting Room 124,{ +arena_room,147,42,1 script Lv80 Waiting Room 124,{ end; OnInit: - waitingroom "Individual; Level 80 to 99",50,"lvl 80s Waiting Room::OnStartArena",1,1000,80,99; + waitingroom "Individual; Level 80 to "+(checkre(0)?"160":"99"),50,"Lv80 Waiting Room::OnStartArena",1,1000,80; enablewaitingroomevent; end; OnStartArena: warpwaitingpc "force_4-1",99,12; - donpcevent "arena#80::Onstart"; + donpcevent "arena#80::OnStart"; disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } @@ -33,11 +35,7 @@ Onstart: force_4-1,99,20,4 script Octus#arena 124,{ end; -OnInit: - set $@mapcount80, 0; - end; - -Onstart: +OnStart: initnpctimer; set $arena_min80st,gettime(2); set $arena_sec80st,gettime(1); @@ -56,56 +54,50 @@ OnTimer8000: end; OnTimer60000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 7 minutes ",0; end; OnTimer120000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 6 minutes ",0; end; OnTimer180000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 5 minutes ",0; -end; + end; + OnTimer240000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 4 minutes ",0; end; OnTimer300000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 3 minutes ",0; end; OnTimer360000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 2 minutes ",0; end; OnTimer420000: - set $@mapcount80, getmapusers ("force_4-1"); - if ($@mapcount80 == 0) { - donpcevent "Octus#arena::Onfailclearstage"; + if (getmapusers("force_4-1") == 0) { + donpcevent "Octus#arena::OnFailClearStage"; } mapannounce "force_4-1","Remaining Time : 1 minute ",0; end; @@ -129,146 +121,144 @@ OnTimer494000: OnTimer495000: mapwarp "force_4-1","prt_are_in",178,190,0,0; - donpcevent "Octus#arena::Onfailclearstage"; + donpcevent "Octus#arena::OnFailClearStage"; end; -Ontimeroff: +OnTimerOff: stopnpctimer; end; -Onfailclearstage: - donpcevent "cast#80::Ontimeover1"; +OnFailClearStage: + donpcevent "cast#80::OnTimeOver1"; mapwarp "force_4-1","prt_are_in",178,190,0,0; - donpcevent "Octus#arena::Ontimeroff"; - donpcevent "arena#80::Onreset_all"; - donpcevent "alloff#80::Onon"; - donpcevent "lvl 80s Waiting Room::Onstart"; + donpcevent "Octus#arena::OnTimerOff"; + donpcevent "arena#80::OnReset_All"; + donpcevent "alloff#80::OnEnable"; + donpcevent "Lv80 Waiting Room::OnStart"; end; -On01_start: +On01_Start: mapannounce "force_4-1","In order to clear this battle, you must kill all Nightmares!",0; end; -On01_end: +On01_End: mapannounce "force_4-1","A door to the north room has opened!",0; end; -On02_start: +On02_Start: mapannounce "force_4-1","In order to clear this battle, you must kill all monsters!",0; end; -On02_end: +On02_End: mapannounce "force_4-1","A door to the north room has opened!",0; end; -On03_start: +On03_Start: mapannounce "force_4-1","In order to clear this battle, you must kill all Assaulters!",0; end; -On03_end: +On03_End: mapannounce "force_4-1","Clear! A door to the east room has opened!",0; end; -On04_start: +On04_Start: mapannounce "force_4-1","In order to clear this battle, you must kill all Nine Tails!",0; end; -On04_end: +On04_End: mapannounce "force_4-1","A door to the east room has opened!",0; end; -On05_start: +On05_Start: mapannounce "force_4-1","In order to clear this battle, you must kill all Walking Petites!",0; end; -On05_end: +On05_End: mapannounce "force_4-1","Clear! A door to the south room has opened!",0; end; -On06_start: +On06_Start: mapannounce "force_4-1","In order to clear this battle, kill all monsters in this room!",0; end; -On06_end: +On06_End: mapannounce "force_4-1","A door to the south room has opened!",0; end; -On07_start: +On07_Start: mapannounce "force_4-1","In order to clear this battle, kill all Fur-Seals while dodging Mermen!",0; end; -On07_end: +On07_End: mapannounce "force_4-1","Clear! A door to the west room has opened!",0; end; -On08_start: +On08_Start: mapannounce "force_4-1","Please escape to the north exit!",0; end; -On09_start: +On09_Start: mapannounce "force_4-1","In order to clear this battle, you must defeat an Ancient Mummy!",0; end; -On09_end: +On09_End: mapannounce "force_4-1","Boss Clear! - A door at the north has opened. Thank you. ",0; end; - } - script arena#80 -1,{ - -Onreset_01: - donpcevent "force_01ex#80::Onreset"; - donpcevent "force_02start#80::Onon"; +OnReset_01: + donpcevent "force_01ex#80::OnReset"; + donpcevent "force_02start#80::OnEnable"; enablenpc "force_01_02#80"; end; -Onreset_02: - donpcevent "force_02mob#80::Onreset"; - donpcevent "force_03start#80::Onon"; +OnReset_02: + donpcevent "force_02mob#80::OnReset"; + donpcevent "force_03start#80::OnEnable"; enablenpc "force_02_03#80"; end; -Onreset_03: +OnReset_03: enablenpc "force_03_04#80"; - donpcevent "force_04start#80::Onon"; - donpcevent "force_03ex#80::Onreset"; + donpcevent "force_04start#80::OnEnable"; + donpcevent "force_03ex#80::OnReset"; end; -Onreset_04: +OnReset_04: enablenpc "force_04_05#80"; - donpcevent "force_05start#80::Onon"; - donpcevent "force_04ex#80::Onreset"; + donpcevent "force_05start#80::OnEnable"; + donpcevent "force_04ex#80::OnReset"; end; -Onreset_05: +OnReset_05: enablenpc "force_05_06#80"; - donpcevent "force_06start#80::Onon"; - donpcevent "force_05ex#80::Onreset"; + donpcevent "force_06start#80::OnEnable"; + donpcevent "force_05ex#80::OnReset"; end; -Onreset_06: +OnReset_06: enablenpc "force_06_07#80"; - donpcevent "force_07start#80::Onon"; - donpcevent "force_06ex#80::Onreset"; + donpcevent "force_07start#80::OnEnable"; + //donpcevent "force_06ex#80::OnReset"; end; -Onreset_07: +OnReset_07: enablenpc "force_07_08#80"; - donpcevent "force_07ex#80::Onreset"; - donpcevent "force_08start#80::Onon"; + donpcevent "force_07ex#80::OnReset"; + donpcevent "force_08start#80::OnEnable"; end; -Onreset_08: - donpcevent "force_09start#80::Onon"; +OnReset_08: + donpcevent "force_09start#80::OnEnable"; enablenpc "force_08_09#80"; end; -Onreset_09: +OnReset_09: enablenpc "force_exit#80"; end; -Onstart: +OnStart: disablenpc "force_01_02#80"; disablenpc "force_02_03#80"; disablenpc "force_03_04#80"; @@ -278,524 +268,468 @@ Onstart: disablenpc "force_07_08#80"; disablenpc "force_08_09#80"; disablenpc "force_exit#80"; - donpcevent "Octus#arena::Ontimeroff"; - donpcevent "force_09mob#80::Ontimeroff"; - donpcevent "force_01mob#80::Onreset"; - donpcevent "force_02mob#80::Onreset"; - donpcevent "force_03mob#80::Onreset"; - donpcevent "force_04mob#80::Onreset"; - donpcevent "force_05mob#80::Onreset"; - donpcevent "force_06mob#80::Onreset"; - donpcevent "force_07mob#80::Onreset"; - donpcevent "force_08mob#80::Onreset"; - donpcevent "force_09mob#80::Onreset"; - donpcevent "force_01ex#80::Onreset"; - donpcevent "force_03ex#80::Onreset"; - donpcevent "force_04ex#80::Onreset"; - donpcevent "force_05ex#80::Onreset"; - donpcevent "force_07ex#80::Onreset"; - donpcevent "force_08ex#80::Onreset"; - donpcevent "force_09ex#80::Onreset"; + donpcevent "Octus#arena::OnTimerOff"; + //donpcevent "force_09mob#80::OnTimerOff"; + donpcevent "force_01mob#80::OnReset"; + donpcevent "force_02mob#80::OnReset"; + donpcevent "force_03mob#80::OnReset"; + donpcevent "force_04mob#80::OnReset"; + donpcevent "force_05mob#80::OnReset"; + donpcevent "force_06mob#80::OnReset"; + donpcevent "force_07mob#80::OnReset"; + //donpcevent "force_08mob#80::OnReset"; + donpcevent "force_09mob#80::OnReset"; + donpcevent "force_01ex#80::OnReset"; + donpcevent "force_03ex#80::OnReset"; + donpcevent "force_04ex#80::OnReset"; + donpcevent "force_05ex#80::OnReset"; + donpcevent "force_07ex#80::OnReset"; + //donpcevent "force_08ex#80::OnReset"; + donpcevent "force_09ex#80::OnReset"; enablenpc "force_08_01#80"; - donpcevent "force_01start#80::Onon"; - donpcevent "Octus#arena::Onstart"; - end; - -Onreset_all: - donpcevent "force_01mob#80::Onreset"; - donpcevent "force_02mob#80::Onreset"; - donpcevent "force_03mob#80::Onreset"; - donpcevent "force_04mob#80::Onreset"; - donpcevent "force_05mob#80::Onreset"; - donpcevent "force_06mob#80::Onreset"; - donpcevent "force_07mob#80::Onreset"; - donpcevent "force_09mob#80::Onreset"; - donpcevent "force_01ex#80::Onreset"; - donpcevent "force_03ex#80::Onreset"; - donpcevent "force_04ex#80::Onreset"; - donpcevent "force_05ex#80::Onreset"; - donpcevent "force_07ex#80::Onreset"; - donpcevent "force_08ex#80::Onreset"; - donpcevent "force_09ex#80::Onreset"; + donpcevent "force_01start#80::OnEnable"; + donpcevent "Octus#arena::OnStart"; end; +OnReset_All: + donpcevent "force_01mob#80::OnReset"; + donpcevent "force_02mob#80::OnReset"; + donpcevent "force_03mob#80::OnReset"; + donpcevent "force_04mob#80::OnReset"; + donpcevent "force_05mob#80::OnReset"; + donpcevent "force_06mob#80::OnReset"; + donpcevent "force_07mob#80::OnReset"; + donpcevent "force_09mob#80::OnReset"; + donpcevent "force_01ex#80::OnReset"; + donpcevent "force_03ex#80::OnReset"; + donpcevent "force_04ex#80::OnReset"; + donpcevent "force_05ex#80::OnReset"; + donpcevent "force_07ex#80::OnReset"; + //donpcevent "force_08ex#80::OnReset"; + donpcevent "force_09ex#80::OnReset"; + end; } force_4-1,62,26,1 script force_08_01#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On01_start"; + donpcevent "Octus#arena::On01_Start"; warp "force_4-1",40,26; end; - } force_4-1,25,44,1 script force_01_02#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On02_start"; + donpcevent "Octus#arena::On02_Start"; warp "force_4-1",25,69; end; - } force_4-1,25,134,1 script force_02_03#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On03_start"; + donpcevent "Octus#arena::On03_Start"; warp "force_4-1",25,159; end; - } force_4-1,44,174,1 script force_03_04#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On04_start"; + donpcevent "Octus#arena::On04_Start"; warp "force_4-1",69,174; end; } force_4-1,134,174,1 script force_04_05#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On05_start"; + donpcevent "Octus#arena::On05_Start"; warp "force_4-1",159,174; end; - } force_4-1,174,155,1 script force_05_06#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On06_start"; + donpcevent "Octus#arena::On06_Start"; warp "force_4-1",174,130; end; - } force_4-1,174,65,1 script force_06_07#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On07_start"; + donpcevent "Octus#arena::On07_Start"; warp "force_4-1",174,40; end; - } force_4-1,155,26,1 script force_07_08#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On08_start"; + donpcevent "Octus#arena::On08_Start"; warp "force_4-1",132,26; enablenpc "force_08_09#80"; end; - } force_4-1,99,54,1 script force_08_09#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::On09_start"; + donpcevent "Octus#arena::On09_Start"; warp "force_4-1",99,82; end; - } force_4-1,99,124,1 script force_exit#80 45,1,1,{ - OnTouch: - donpcevent "Octus#arena::Ontimeroff"; - donpcevent "#arn_timer_80::Onon"; + donpcevent "Octus#arena::OnTimerOff"; + donpcevent "#arn_timer_80::OnEnable"; mapwarp "force_4-1","prt_are_in",73,192,0,0; end; - } - script force_01start#80 -1,{ -Onon: - donpcevent "force_01mob#80::Onon"; -end; - +OnEnable: + donpcevent "force_01mob#80::OnEnable"; + end; } - script force_01ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_01ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_01ex#80::OnMyMobDead"; end; -Onsummonmob1: - monster "force_4-1",11,25,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx"; - monster "force_4-1",22,22,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx"; - monster "force_4-1",25,25,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx"; - monster "force_4-1",35,13,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx"; - monster "force_4-1",18,33,"Hunter Fly",1422,1,"force_01ex#80::OnMobEx"; +OnSummonMob1: + monster "force_4-1",11,25,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead"; + monster "force_4-1",22,22,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead"; + monster "force_4-1",25,25,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead"; + monster "force_4-1",35,13,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead"; + monster "force_4-1",18,33,"Hunter Fly",1422,1,"force_01ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; - } - script force_01mob#80 -1,{ - -Onon: - monster "force_4-1",35,13,"Nightmare",1427,1,"force_01mob#80::OnMobDeath"; - monster "force_4-1",25,36,"Nightmare",1427,1,"force_01mob#80::OnMobDeath"; - monster "force_4-1",22,23,"Nightmare",1427,1,"force_01mob#80::OnMobDeath"; - monster "force_4-1",25,17,"Nightmare",1427,1,"force_01mob#80::OnMobDeath"; - monster "force_4-1",25,15,"Nightmare",1427,1,"force_01mob#80::OnMobDeath"; - set $force_01_80,5; - donpcevent "force_01ex#80::Onsummonmob1"; +OnEnable: + monster "force_4-1",35,13,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead"; + monster "force_4-1",25,36,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead"; + monster "force_4-1",22,23,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead"; + monster "force_4-1",25,17,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead"; + monster "force_4-1",25,15,"Nightmare",1427,1,"force_01mob#80::OnMyMobDead"; + donpcevent "force_01ex#80::OnSummonMob1"; end; -Onreset: - killmonster "force_4-1","force_01mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_01mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_01_80,$force_01_80 -1; - if ($force_01_80 < 1) { - donpcevent "Octus#arena::On01_end"; - donpcevent "arena#80::Onreset_01"; +OnMyMobDead: + if (mobcount("force_4-1","force_01mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On01_End"; + donpcevent "arena#80::OnReset_01"; } end; } - script force_02start#80 -1,{ - -Onon: - donpcevent "force_02mob#80::Onon"; +OnEnable: + donpcevent "force_02mob#80::OnEnable"; end; } - script force_02mob#80 -1,{ - -Onreset: - killmonster "force_4-1","force_02mob#80::OnMobDeath"; - end; - -Onon: - monster "force_4-1",24,80,"Marionette",1459,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",23,110,"Marionette",1459,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",26,90,"Marionette",1459,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",28,75,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",24,90,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",28,85,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",24,82,"Deviruchi",1433,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",28,86,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",27,73,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",26,118,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",25,127,"Skel Prisoner",1479,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",28,128,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",27,100,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",29,90,"Zombie",1394,1,"force_02mob#80::OnMobDeath"; - monster "force_4-1",28,128,"Raydric Archer",1453,1,"force_02mob#80::OnMobDeath"; - set $force_02_80,15; - end; - -OnMobDeath: - set $force_02_80,$force_02_80 -1; - if ($force_02_80 < 1) { - donpcevent "Octus#arena::On02_end"; - donpcevent "arena#80::Onreset_02"; +OnReset: + killmonster "force_4-1","force_02mob#80::OnMyMobDead"; + end; + +OnEnable: + monster "force_4-1",24,80,"Marionette",1459,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",23,110,"Marionette",1459,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",26,90,"Marionette",1459,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",28,75,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",24,90,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",28,85,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",24,82,"Deviruchi",1433,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",28,86,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",27,73,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",26,118,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",25,127,"Skel Prisoner",1479,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",28,128,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",27,100,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",29,90,"Zombie",1394,1,"force_02mob#80::OnMyMobDead"; + monster "force_4-1",28,128,"Raydric Archer",1453,1,"force_02mob#80::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("force_4-1","force_02mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On02_End"; + donpcevent "arena#80::OnReset_02"; } end; } - script force_03start#80 -1,{ - -Onon: - donpcevent "force_03mob#80::Onon"; +OnEnable: + donpcevent "force_03mob#80::OnEnable"; end; } - script force_03ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_03ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_03ex#80::OnMyMobDead"; end; -Onsummonmob_03: - monster "force_4-1",26,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",21,173,"Marionette",1459,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",31,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",26,178,"Marionette",1459,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",21,178,"Marionette",1459,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",31,178,"Marionette",1459,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",26,186,"Sidewinder",1424,1,"force_03ex#80::OnMobEx"; - monster "force_4-1",26,161,"Sidewinder",1424,1,"force_03ex#80::OnMobEx"; +OnSummonMob_03: + monster "force_4-1",26,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",21,173,"Marionette",1459,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",31,173,"Clock Tower Keeper",1527,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",26,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",21,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",31,178,"Marionette",1459,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",26,186,"Sidewinder",1424,1,"force_03ex#80::OnMyMobDead"; + monster "force_4-1",26,161,"Sidewinder",1424,1,"force_03ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_03mob#80 -1,{ - -Onon: - donpcevent "force_03ex#80::Onsummonmob_03"; - monster "force_4-1",23,174,"Assaulter",1364,1,"force_03mob#80::OnMobDeath"; - monster "force_4-1",18,173,"Assaulter",1364,1,"force_03mob#80::OnMobDeath"; - set $force_03_80,2; +OnEnable: + donpcevent "force_03ex#80::OnSummonMob_03"; + monster "force_4-1",23,174,"Assaulter",1364,1,"force_03mob#80::OnMyMobDead"; + monster "force_4-1",18,173,"Assaulter",1364,1,"force_03mob#80::OnMyMobDead"; end; -Onreset: - killmonster "force_4-1","force_03mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_03mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_03_80,$force_03_80 -1; - donpcevent "force_03ex#80::Onsummonmob_03"; - if ($force_03_80 < 1) { - donpcevent "Octus#arena::On03_end"; - donpcevent "arena#80::Onreset_03"; +OnMyMobDead: + donpcevent "force_03ex#80::OnSummonMob_03"; + if (mobcount("force_4-1","force_03mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On03_End"; + donpcevent "arena#80::OnReset_03"; } end; } - script force_04start#80 -1,{ - -Onon: - donpcevent "force_04mob#80::Onon"; -end; - +OnEnable: + donpcevent "force_04mob#80::OnEnable"; + end; } - script force_04ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_04ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_04ex#80::OnMyMobDead"; end; -Onsummonmob_04: - monster "force_4-1",99,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",101,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",103,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",105,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",107,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",109,177,"Pasana",1464,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",99,170,"Minorous",1461,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",111,170,"Minorous",1461,1,"force_04ex#80::OnMobEx"; - monster "force_4-1",110,170,"Lava Golem",1549,1,"force_04ex#80::OnMobEx"; +OnSummonMob_04: + monster "force_4-1",99,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",101,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",103,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",105,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",107,174,"Archer Skeleton",1420,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",109,177,"Pasana",1464,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",99,170,"Minorous",1461,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",111,170,"Minorous",1461,1,"force_04ex#80::OnMyMobDead"; + monster "force_4-1",110,170,"Lava Golem",1549,1,"force_04ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_04mob#80 -1,{ - -Onon: - donpcevent "force_04ex#80::Onsummonmob_04"; - monster "force_4-1",80,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath"; - monster "force_4-1",105,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath"; - monster "force_4-1",90,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath"; - monster "force_4-1",117,172,"Nine Tails",1471,1,"force_04mob#80::OnMobDeath"; - set $force_04_80,4; +OnEnable: + donpcevent "force_04ex#80::OnSummonMob_04"; + monster "force_4-1",80,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead"; + monster "force_4-1",105,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead"; + monster "force_4-1",90,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead"; + monster "force_4-1",117,172,"Nine Tails",1471,1,"force_04mob#80::OnMyMobDead"; end; -Onreset: - killmonster "force_4-1","force_04mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_04mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_04_80,$force_04_80 -1; - if ($force_04_80 < 1) { - donpcevent "Octus#arena::On04_end"; - donpcevent "arena#80::Onreset_04"; +OnMyMobDead: + if (mobcount("force_4-1","force_04mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On04_End"; + donpcevent "arena#80::OnReset_04"; } end; } - script force_05start#80 -1,{ - -Onon: - donpcevent "force_05mob#80::Onon"; +OnEnable: + donpcevent "force_05mob#80::OnEnable"; end; } - script force_05ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_05ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_05ex#80::OnMyMobDead"; end; -Onsummonmob_05: - monster "force_4-1",168,190,"Petite",1466,1,"force_05ex#80::OnMobEx"; - monster "force_4-1",173,166,"Petite",1466,1,"force_05ex#80::OnMobEx"; - monster "force_4-1",171,176,"Petite",1466,1,"force_05ex#80::OnMobEx"; - monster "force_4-1",188,167,"Petite",1466,1,"force_05ex#80::OnMobEx"; +OnSummonMob_05: + monster "force_4-1",168,190,"Petite",1466,1,"force_05ex#80::OnMyMobDead"; + monster "force_4-1",173,166,"Petite",1466,1,"force_05ex#80::OnMyMobDead"; + monster "force_4-1",171,176,"Petite",1466,1,"force_05ex#80::OnMyMobDead"; + monster "force_4-1",188,167,"Petite",1466,1,"force_05ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_05mob#80 -1,{ - -Onon: - monster "force_4-1",164,174,"Petite",1465,1,"force_05mob#80::OnMobDeath"; - monster "force_4-1",169,159,"Petite",1465,1,"force_05mob#80::OnMobDeath"; - monster "force_4-1",174,183,"Petite",1465,1,"force_05mob#80::OnMobDeath"; - monster "force_4-1",177,170,"Petite",1465,1,"force_05mob#80::OnMobDeath"; - set $force_05_80,4; +OnEnable: + monster "force_4-1",164,174,"Petite",1465,1,"force_05mob#80::OnMyMobDead"; + monster "force_4-1",169,159,"Petite",1465,1,"force_05mob#80::OnMyMobDead"; + monster "force_4-1",174,183,"Petite",1465,1,"force_05mob#80::OnMyMobDead"; + monster "force_4-1",177,170,"Petite",1465,1,"force_05mob#80::OnMyMobDead"; end; -Onreset: - killmonster "force_4-1","force_05mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_05mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_05_80,$force_05_80 -1; - if ($force_05_80 < 1) { - donpcevent "Octus#arena::On05_end"; - donpcevent "arena#80::Onreset_05"; +OnMyMobDead: + if (mobcount("force_4-1","force_05mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On05_End"; + donpcevent "arena#80::OnReset_05"; } - else donpcevent "force_05ex#80::Onsummonmob_05"; + else donpcevent "force_05ex#80::OnSummonMob_05"; end; } - script force_06start#80 -1,{ +OnEnable: + donpcevent "force_06mob#80::OnEnable"; + end; +} -Onon: - donpcevent "force_06mob#80::Onon"; +- script force_06ex#80 -1,{ +OnEnable: + donpcevent "Octus#arena::On06_start"; end; } - script force_06mob#80 -1,{ - -Onon: - monster "force_4-1",173,118,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",173,90,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",177,72,"Baphomet Jr.",1431,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",171,108,"Deviruchi",1433,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",171,85,"Deviruchi",1433,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",171,79,"Alice",1521,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",175,118,"Alice",1521,1,"force_06mob#80::OnMobDeath"; - monster "force_4-1",175,99,"Alice",1521,1,"force_06mob#80::OnMobDeath"; - set $force_06_80,8; +OnEnable: + monster "force_4-1",173,118,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",173,90,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",177,72,"Baphomet Jr.",1431,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",171,108,"Deviruchi",1433,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",171,85,"Deviruchi",1433,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",171,79,"Alice",1521,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",175,118,"Alice",1521,1,"force_06mob#80::OnMyMobDead"; + monster "force_4-1",175,99,"Alice",1521,1,"force_06mob#80::OnMyMobDead"; end; -Onreset: - killmonster "force_4-1","force_06mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_06mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_06_80,$force_06_80 -1; - if ($force_06_80 < 1) { - donpcevent "Octus#arena::On06_end"; - donpcevent "arena#80::Onreset_06"; +OnMyMobDead: + if (mobcount("force_4-1","force_06mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On06_End"; + donpcevent "arena#80::OnReset_06"; } end; } - script force_07start#80 -1,{ - -Onon: - donpcevent "force_07mob#80::Onon"; +OnEnable: + donpcevent "force_07mob#80::OnEnable"; end; } - script force_07ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_07ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_07ex#80::OnMyMobDead"; end; -Onsummonmob_07: - monster "force_4-1",160,34,"Merman",1451,1,"force_07ex#80::OnMobEx"; - monster "force_4-1",163,27,"Merman",1451,1,"force_07ex#80::OnMobEx"; - monster "force_4-1",163,23,"Merman",1451,1,"force_07ex#80::OnMobEx"; +OnSummonMob_07: + monster "force_4-1",160,34,"Merman",1451,1,"force_07ex#80::OnMyMobDead"; + monster "force_4-1",163,27,"Merman",1451,1,"force_07ex#80::OnMyMobDead"; + monster "force_4-1",163,23,"Merman",1451,1,"force_07ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_07mob#80 -1,{ - -Onon: - donpcevent "force_07ex#80::Onsummonmob_07"; - monster "force_4-1",165,27,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath"; - monster "force_4-1",184,23,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath"; - monster "force_4-1",174,19,"Fur-Seal",1533,1,"force_07mob#80::OnMobDeath"; - set $force_07_80,3; +OnEnable: + donpcevent "force_07ex#80::OnSummonMob_07"; + monster "force_4-1",165,27,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead"; + monster "force_4-1",184,23,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead"; + monster "force_4-1",174,19,"Fur-Seal",1533,1,"force_07mob#80::OnMyMobDead"; end; -Onreset: - killmonster "force_4-1","force_07mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_07mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_07_80,$force_07_80 -1; - if ($force_07_80 < 1) { - donpcevent "Octus#arena::On07_end"; - donpcevent "arena#80::Onreset_07"; +OnMyMobDead: + if (mobcount("force_4-1","force_07mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On07_End"; + donpcevent "arena#80::OnReset_07"; } end; } - script force_08start#80 -1,{ - -Onon: - donpcevent "force_08ex#80::Onon"; +OnEnable: + donpcevent "force_08ex#80::OnEnable"; end; } - script force_08ex#80 -1,{ - -Onon: - donpcevent "arena#80::Onreset_08"; +OnEnable: + donpcevent "arena#80::OnReset_08"; end; } - script force_09start#80 -1,{ - -Onon: - donpcevent "force_09mob#80::Onon"; +OnEnable: + donpcevent "force_09mob#80::OnEnable"; end; } - script force_09ex#80 -1,{ - -Onreset: - killmonster "force_4-1","force_09ex#80::OnMobEx"; +OnReset: + killmonster "force_4-1","force_09ex#80::OnMyMobDead"; end; -Onsummonmob_09: - monster "force_4-1",91,99,"Argos",1430,1,"force_09ex#80::OnMobEx"; - monster "force_4-1",95,105,"Argos",1430,1,"force_09ex#80::OnMobEx"; - monster "force_4-1",122,99,"Argos",1430,1,"force_09ex#80::OnMobEx"; - monster "force_4-1",88,107,"Argos",1430,1,"force_09ex#80::OnMobEx"; - monster "force_4-1",85,104,"Argos",1430,1,"force_09ex#80::OnMobEx"; +OnSummonMob_09: + monster "force_4-1",91,99,"Argos",1430,1,"force_09ex#80::OnMyMobDead"; + monster "force_4-1",95,105,"Argos",1430,1,"force_09ex#80::OnMyMobDead"; + monster "force_4-1",122,99,"Argos",1430,1,"force_09ex#80::OnMyMobDead"; + monster "force_4-1",88,107,"Argos",1430,1,"force_09ex#80::OnMyMobDead"; + monster "force_4-1",85,104,"Argos",1430,1,"force_09ex#80::OnMyMobDead"; end; -OnMobEx: +OnMyMobDead: end; } - script force_09mob#80 -1,{ - -Onon: - monster "force_4-1",99,99,"Ancient Mummy",1522,1,"force_09mob#80::OnMobDeath"; - donpcevent "force_09ex#80::Onsummonmob_09"; - set $force_09_80,1; +OnEnable: + monster "force_4-1",99,99,"Ancient Mummy",1522,1,"force_09mob#80::OnMyMobDead"; + donpcevent "force_09ex#80::OnSummonMob_09"; end; -Onreset: - killmonster "force_4-1","force_09mob#80::OnMobDeath"; +OnReset: + killmonster "force_4-1","force_09mob#80::OnMyMobDead"; end; -OnMobDeath: - set $force_09_80,$force_09_80 -1; - if ($force_09_80 < 1) { - donpcevent "Octus#arena::On09_end"; - donpcevent "arena#80::Onreset_09"; - donpcevent "arena#80::Onreset_all"; +OnMyMobDead: + if (mobcount("force_4-1","force_09mob#80::OnMyMobDead") < 1) { + donpcevent "Octus#arena::On09_End"; + donpcevent "arena#80::OnReset_09"; + donpcevent "arena#80::OnReset_All"; set $arena_min80end,gettime(2); set $arena_sec80end,gettime(1); } @@ -803,7 +737,6 @@ OnMobDeath: } prt_are_in,181,188,3 script Staff#80-1 67,{ - mes "[Staff]"; mes "You did a good job."; mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; @@ -825,29 +758,19 @@ prt_are_in,181,188,3 script Staff#80-1 67,{ } prt_are_in,77,187,3 script Staff#80-2 67,{ - - if($arena_min80end < $arena_min80st) - { - if($arena_sec80end < $arena_sec80st) - { + if($arena_min80end < $arena_min80st) { + if($arena_sec80end < $arena_sec80st) { set @record_min80,60 - $arena_min80st + $arena_min80end -1; set @record_sec80,60 - $arena_sec80st + $arena_sec80end; - } - else - { + } else { set @record_min80,60 - $arena_min80st + $arena_min80end; set @record_sec80,$arena_sec80end - $arena_sec80st; } - } - else - { - if($arena_sec80end < $arena_sec80st) - { + } else { + if($arena_sec80end < $arena_sec80st) { set @record_min80,$arena_min80end - $arena_min80st -1; set @record_sec80,60 - $arena_sec80st + $arena_sec80end; - } - else - { + } else { set @record_min80,$arena_min80end - $arena_min80st; set @record_sec80,$arena_sec80end - $arena_sec80st; } @@ -863,7 +786,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ mes "Congratulations!"; next; mes "[Staff]"; - mes "The fastest player among people who cleared lvl 80s arena time force battle is ^3131FF"+$arena_80topn$+"^000000."; + mes "The fastest player among people who cleared Lv80 arena time force battle is ^3131FF"+$arena_80topn$+"^000000."; next; mes "[Staff]"; mes "^3131FF"+$arena_80topn$+"^000000's running time was ^3131FF"+$top_80min+"^000000minutes ^3131FF"+$top_80sec+"^000000seconds."; @@ -884,9 +807,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { set arena_point, arena_point + 20; mes "[Staff]"; mes "Let me reward you some arena points."; @@ -898,15 +819,13 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ close2; } specialeffect2 EF_EXIT; - donpcevent "cast#80::Onnomal1"; + donpcevent "cast#80::OnNomal1"; warp "arena_room",100,75; - donpcevent "#arn_timer_80::Onstop"; - donpcevent "alloff#80::Onon"; - donpcevent "lvl 80s Waiting Room::Onstart"; + donpcevent "#arn_timer_80::OnStop"; + donpcevent "alloff#80::OnEnable"; + donpcevent "Lv80 Waiting Room::OnStart"; end; - } - else - { + } else { emotion e_omg; mes "[Staff]"; mes "Wow! You have renewed the record!"; @@ -917,7 +836,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ set $top_80min, @record_min80; set $top_80sec, @record_sec80; set $arena_80topn$,strcharinfo(0); - donpcevent "Vendigos::Onlinerec_80"; + donpcevent "Vendigos::OnLineRec_80"; next; if (arena_point > 29980) { mes "[Staff]"; @@ -931,9 +850,7 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { mes "[Staff]"; mes "Let me reward you with some arena points."; mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; @@ -949,18 +866,17 @@ prt_are_in,77,187,3 script Staff#80-2 67,{ close2; } specialeffect2 EF_HIT5; - donpcevent "cast#80::Onnomal2"; + donpcevent "cast#80::OnNomal2"; warp "arena_room",100,75; - donpcevent "#arn_timer_80::Onstop"; - donpcevent "alloff#80::Onon"; - donpcevent "lvl 80s Waiting Room::Onstart"; + donpcevent "#arn_timer_80::OnStop"; + donpcevent "alloff#80::OnEnable"; + donpcevent "Lv80 Waiting Room::OnStart"; end; } } - script #arn_timer_80 -1,{ - -Onon: +OnEnable: initnpctimer; end; @@ -977,62 +893,59 @@ OnTimer4000: end; OnTimer60000: - donpcevent "cast#80::Ontimeover2"; - donpcevent "arn_warp_80::Onout"; - donpcevent "#arn_timer_80::Onstop"; - donpcevent "alloff#80::Onon"; - donpcevent "lvl 80s Waiting Room::Onstart"; + donpcevent "cast#80::OnTimeOver2"; + donpcevent "arn_warp_80::OnOut"; + donpcevent "#arn_timer_80::OnStop"; + donpcevent "alloff#80::OnEnable"; + donpcevent "Lv80 Waiting Room::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; - } - script arn_warp_80 -1,{ - -Onout: +OnOut: areawarp "prt_are_in",66,195,81,178,"arena_room",100,75; end; } - script cast#80 -1,{ -Ontimeover1: +OnTimeOver1: mapannounce "force_4-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; end; -Ontimeover2: +OnTimeOver2: mapannounce "force_4-1","Arena will be activated due to an error occurred in the waiting room.",0,0xFFCE00; end; -Onnomal1: +OnNomal1: mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00; end; -Onnomal2: +OnNomal2: mapannounce "force_4-1","Arena will be reactivated.",0,0xFFCE00; end; } - script alloff#80 -1,{ - -Onon: +OnEnable: mapwarp "force_4-1","prt_are_in",126,190,0,0; - donpcevent "force_01mob#80::Onreset"; - donpcevent "force_02mob#80::Onreset"; - donpcevent "force_03mob#80::Onreset"; - donpcevent "force_04mob#80::Onreset"; - donpcevent "force_05mob#80::Onreset"; - donpcevent "force_06mob#80::Onreset"; - donpcevent "force_07mob#80::Onreset"; - donpcevent "force_08mob#80::Onreset"; - donpcevent "force_09mob#80::Onreset"; - donpcevent "force_01ex#80::Onreset"; - donpcevent "force_03ex#80::Onreset"; - donpcevent "force_04ex#80::Onreset"; - donpcevent "force_05ex#80::Onreset"; - donpcevent "force_07ex#80::Onreset"; - donpcevent "force_08ex#80::Onreset"; - donpcevent "force_09ex#80::Onreset"; - donpcevent "Octus#arena::Ontimeroff"; + donpcevent "force_01mob#80::OnReset"; + donpcevent "force_02mob#80::OnReset"; + donpcevent "force_03mob#80::OnReset"; + donpcevent "force_04mob#80::OnReset"; + donpcevent "force_05mob#80::OnReset"; + donpcevent "force_06mob#80::OnReset"; + donpcevent "force_07mob#80::OnReset"; + //donpcevent "force_08mob#80::OnReset"; + donpcevent "force_09mob#80::OnReset"; + donpcevent "force_01ex#80::OnReset"; + donpcevent "force_03ex#80::OnReset"; + donpcevent "force_04ex#80::OnReset"; + donpcevent "force_05ex#80::OnReset"; + donpcevent "force_07ex#80::OnReset"; + //donpcevent "force_08ex#80::OnReset"; + donpcevent "force_09ex#80::OnReset"; + donpcevent "Octus#arena::OnTimerOff"; disablenpc "Octus#arena"; disablenpc "force_01_02#80"; disablenpc "force_02_03#80"; @@ -1044,7 +957,7 @@ Onon: disablenpc "force_08_09#80"; disablenpc "force_exit#80"; disablenpc "arena#80"; - donpcevent "#arn_timer_80::Onstop"; + donpcevent "#arn_timer_80::OnStop"; enablenpc "Octus#arena"; enablenpc "arena#80"; end; @@ -1052,6 +965,4 @@ Onon: OnInit: if(!$top_80min && !$top_80sec) set $top_80min,8; end; - } - diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt index 837c3eab1..77ba829eb 100644 --- a/npc/other/arena/arena_party.txt +++ b/npc/other/arena/arena_party.txt @@ -3,22 +3,24 @@ //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.3 +//= 1.5 //===== Description: ========================================= //= Izlude Party Battle Arena //===== Additional Comments: ================================= //= 1.0 First version. //= 1.0a Fixed a typo. //= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Fixed "OnMobDeath" doesn't work sometime. [Inkfish] +//= 1.2 Fixed "OnMyMobDead" doesn't work sometime. [Inkfish] //= 1.3 Corrected donpcevent typo. (bugreport:4374) [L0ne_w0lf] +//= 1.4 Label standardization and bug fixes. [Euphy] +//= 1.5 Script updates, and removed a level restriction. [Euphy] //============================================================ arena_room,162,88,3 script Ponox 124,{ end; OnInit: - waitingroom "Party Mode - 5 Member Parties",11,"Ponox::OnStartArena",5,0,10,99; + waitingroom "Party Mode - 5 Member Parties",11,"Ponox::OnStartArena",5,0,10; enablewaitingroomevent; end; @@ -31,15 +33,13 @@ OnStartArena: disablewaitingroomevent; end; -Onstart: +OnStart: enablewaitingroomevent; end; } prt_are_in,76,87,3 script Helper#party 67,4,4,{ - - if($arn_partywait == 0) - { + if($arn_partywait == 0) { set $arn_partywait,1; emotion e_gasp,0; mes "[Helper Iriff]"; @@ -50,28 +50,26 @@ prt_are_in,76,87,3 script Helper#party 67,4,4,{ mes "Only one person at a time is allowed to stay in this waiting room."; mes "Would you like to start a battle now?"; next; - switch( select( "No","Yes" ) ) - { - case 1: - set $arn_partywait,0; - mes "[Helper Iriff]"; - mes "I see."; - mes "However, please remember you have only a limited amount of time."; - close; - - case 2: - mes "[Helper Iriff]"; - mes "Thank you, let me start a battle."; - mes "A warp portal leading to the arena room will be open."; - mes "I hope you will survive until the end of the battle and engrave your name on the list of honor..."; - close2; - donpcevent "toarena#party::OnEnter"; - donpcevent "Helper#party::OnStop"; - donpcevent "arena_p::OnStart"; - end; + switch( select( "No","Yes" ) ) { + case 1: + set $arn_partywait,0; + mes "[Helper Iriff]"; + mes "I see."; + mes "However, please remember you have only a limited amount of time."; + close; + case 2: + mes "[Helper Iriff]"; + mes "Thank you, let me start a battle."; + mes "A warp portal leading to the arena room will be open."; + mes "I hope you will survive until the end of the battle and engrave your name on the list of honor..."; + close2; + donpcevent "toarena#party::OnEnter"; + donpcevent "Helper#party::OnStop"; + donpcevent "arena_p::OnStart"; + end; } } - else end; + end; OnEnter: enablenpc "Helper#party"; @@ -87,15 +85,14 @@ OnInit: } prt_are_in,73,78,0 script toarena#party -1,20,20,{ - OnInit: disablenpc "toarena#party"; end; OnTouch: - if(Zeny < 1000) warp "arena_room",100,75; - else - { + if(Zeny < 1000) + warp "arena_room",100,75; + else { set Zeny,Zeny -1000; set $arn_partywait,0; donpcevent "toout#party::OnStop"; @@ -108,7 +105,6 @@ OnEnter: } prt_are_in,73,79,0 script toout#party -1,20,20,{ - OnInit: disablenpc "toout#party"; end; @@ -124,7 +120,7 @@ OnTimer60000: OnTimer70000: donpcevent "toout#party::OnStop"; - donpcevent "Ponox::Onstart"; + donpcevent "Ponox::OnStart"; disablenpc "toout#party"; OnTouch: @@ -142,7 +138,6 @@ OnStop: } prt_are_in,73,74,0 script arena_out -1,1,1,{ - OnTouch: set $arn_partywait,0; warp "arena_room",100,75; @@ -150,11 +145,6 @@ OnTouch: } force_1-2,99,31,4 script Slipslowrun#party 124,{ - -OnInit: - set $@mapcountpt,0; - end; - OnStart: initnpctimer; set $arena_minptst,gettime(2); @@ -163,7 +153,8 @@ OnStart: OnTimer2000: mapannounce "force_1-2","Good day, my name is Slipslowrun! I am here to assist you in the party arena battles!",bc_all; - donpcevent "arena_compass::OnStart"; + //Official "arena_compass" script is extremely buggy, so we aren't using it. + //donpcevent "arena_compass::OnStart"; end; OnTimer3000: @@ -179,47 +170,56 @@ OnTimer5000: end; OnTimer60000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 9 minutes ",bc_all; end; OnTimer120000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 8 minutes ",bc_all; end; OnTimer180000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 7 minutes ",bc_all; end; OnTimer240000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 6 minutes ",bc_all; end; OnTimer300000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 5 minutes ",bc_all; end; OnTimer360000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 4 minutes ",bc_all; end; OnTimer420000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 3 minutes ",bc_all; end; OnTimer480000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 2 minutes ",bc_all; end; OnTimer540000: - if(!getmapusers("force_1-2")) donpcevent "Slipslowrun#party::OnFail"; + if (getmapusers("force_1-2") == 0) + donpcevent "Slipslowrun#party::OnFail"; mapannounce "force_1-2","Remaining Time : 1 minute ",bc_all; end; @@ -249,72 +249,71 @@ OnTimer614000: end; OnFail: - donpcevent "Slipslowrun#party::OnTimeoff"; + donpcevent "Slipslowrun#party::OnTimerOff"; mapwarp "force_1-2","prt_are_in",177,138; donpcevent "arena_p::OnReset"; donpcevent "alloff#party::OnInit"; - donpcevent "Ponox::Onstart"; + donpcevent "Ponox::OnStart"; end; -OnTimeoff: +OnTimerOff: stopnpctimer; end; -On01_end: +On01_End: mapannounce "force_1-2","A door to the east room has opened!",bc_all; end; -On02_end: +On02_End: mapannounce "force_1-2","A door to the west room has opened!",bc_all; end; -On03_end: +On03_End: mapannounce "force_1-2","A door to the south room has opened!",bc_all; end; -On04_start: +On04_Start: mapannounce "force_1-2","A door to the 4th room at the east has opened!",bc_all; end; -On04_end1: +On04_End1: mapannounce "force_1-2","A warp portal at the west has opened! Please clear the 5th room at the end of the west hall! ",bc_all; end; -On04_end2: +On04_End2: mapannounce "force_1-2","A warp portal at the west north room has opened! ",bc_all; end; -On05_end1: +On05_End1: mapannounce "force_1-2","A door to the east room has opened~",bc_all; end; -On05_end2: +On05_End2: mapannounce "force_1-2","A door to the north room has opened~",bc_all; end; -On06_end: +On06_End: mapannounce "force_1-2","A door to the east room has opened~",bc_all; end; -On07_end: +On07_End: mapannounce "force_1-2","A door at the north has opened~",bc_all; end; -On08_end: +On08_End: mapannounce "force_1-2","A door to the west hall has opened~",bc_all; end; -On09_end: +On09_End: mapannounce "force_1-2","A west exit has opened!",bc_all; end; -On10_end: +On10_End: mapannounce "force_1-2","Boss stage cleared! An exit at the east has opened! Thank you.",bc_all; end; } - script arena_p -1,{ - OnStart: mapwarp "force_1-2","prt_are_in",177,138; disablenpc "force_01_00"; @@ -359,37 +358,37 @@ OnStart: set $arn_partywait,0; end; -On04_start: +On04_Start: enablenpc "force_03_04"; enablenpc "force_04start#party"; end; -On06_start: +On06_Start: enablenpc "force_05_06"; enablenpc "force_06start#party"; end; -On07_start: +On07_Start: enablenpc "force_06_07"; enablenpc "force_07start#party"; end; -On08_start: +On08_Start: enablenpc "force_07_08"; enablenpc "force_08start#party"; end; -On09_start: +On09_Start: enablenpc "force_08_09"; enablenpc "force_09start#party"; end; -On10_start: +On10_Start: enablenpc "force_09_10"; enablenpc "force_10start#party"; end; -Onexit: +OnExit: enablenpc "force_10_09"; enablenpc "force_09_exit"; enablenpc "force_exit#party"; @@ -411,183 +410,65 @@ OnReset: end; } -force_1-2,85,26,1 script force_00_01 45,1,1,{ - -OnTouch: - warp "force_1-2",37,26; - end; -} - -force_1-2,114,26,1 script force_00_02 45,1,1,{ - -OnTouch: - warp "force_1-2",162,26; - end; -} - -force_1-2,99,40,1 script force_00_03 45,1,1,{ - -OnTouch: - warp "force_1-2",99,66; - end; -} - -force_1-2,41,26,1 script force_01_00 45,1,1,{ - -OnTouch: - warp "force_1-2",89,26; - end; -} - -force_1-2,158,26,1 script force_02_00 45,1,1,{ - -OnTouch: - warp "force_1-2",110,26; - end; -} - -force_1-2,99,63,1 script force_03_00 45,1,1,{ - -OnTouch: - warp "force_1-2",99,36; - end; -} - -force_1-2,84,78,1 script force_03_05 45,1,1,{ - -OnTouch: - warp "force_1-2",37,78; - end; -} - -force_1-2,115,78,1 script force_03_04 45,1,1,{ - -OnTouch: - warp "force_1-2",162,78; - end; -} -force_1-2,158,77,1 script force_04_03 45,1,1,{ - -OnTouch: - warp "force_1-2",110,78; - end; -} - -force_1-2,41,77,1 script force_05_03 45,1,1,{ - -OnTouch: - warp "force_1-2",37,78; - end; -} - -force_1-2,25,93,1 script force_05_06 45,1,1,{ - -OnTouch: - warp "force_1-2",26,118; - end; -} - -force_1-2,49,130,1 script force_06_07 45,1,1,{ - -OnTouch: - warp "force_1-2",91,125; - end; -} - -force_1-2,107,145,1 script force_07_08 45,1,1,{ - -OnTouch: - warp "force_1-2",173,118; - end; -} - -force_1-2,158,178,1 script force_08_09 45,1,1,{ - -OnTouch: - warp "force_1-2",133,178; - end; -} - -force_1-2,55,178,1 script force_09_10 45,1,1,{ - -OnTouch: - warp "force_1-2",29,178; - end; -} - -force_1-2,33,178,1 script force_10_09 45,1,1,{ - -OnTouch: - warp "force_1-2",59,178; - end; -} - -force_1-2,95,187,1 script force_09_exit 45,1,1,{ - +force_1-2,95,187,0 script force_09_exit 45,1,1,{ OnTouch: set $arena_minptend,gettime(2); set $arena_secptend,gettime(1); warp "prt_are_in",73,139; donpcevent "#arn_timer_pt::OnEnter"; donpcevent "arena_p::OnReset"; - donpcevent "Slipslowrun#party::OnTimeoff"; + donpcevent "Slipslowrun#party::OnTimerOff"; end; } force_1-2,36,26,0 script force_01start#party -1,1,1,{ - OnTouch: - donpcevent "force_01mob#party::Onon"; + donpcevent "force_01mob#party::OnEnable"; disablenpc "force_01start#party"; end; } - script force_01mob#party -1,{ - -Onon: - monster "force_1-2",15,35,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",35,35,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",15,15,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",35,15,"Penomena",1441,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",15,30,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",17,22,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",19,32,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",21,22,"Alarm",1476,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",30,27,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",29,25,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",33,26,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",29,28,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",33,20,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; - monster "force_1-2",33,30,"Incubus",1580,1,"force_01mob#party::OnMobDeath"; - set $force_01_pt,26; +OnEnable: + monster "force_1-2",15,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",35,35,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",15,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",35,15,"Penomena",1441,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",15,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",17,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",19,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",21,25,"Clock",1528,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",15,30,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",17,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",19,32,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",21,22,"Alarm",1476,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",26,33,"Clock Tower Keeper",1527,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",30,27,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",29,25,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",26,14,"Ancient Worm",1567,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",33,26,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",29,28,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",33,20,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; + monster "force_1-2",33,30,"Incubus",1580,1,"force_01mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_01mob#party::OnMobDeath"; + killmonster "force_1-2","force_01mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_01_pt,$force_01_pt -1; - if($force_01_pt < 1) - { +OnMyMobDead: + if (mobcount("force_1-2","force_01mob#party::OnMyMobDead") < 1) { enablenpc "force_01_00"; - donpcevent "Slipslowrun#party::On01_end"; + donpcevent "Slipslowrun#party::On01_End"; set $arn_partyc,$arn_partyc +1; - if($arn_partyc == 3) - { - donpcevent "Slipslowrun#party::On04_start"; + if($arn_partyc == 3) { + donpcevent "Slipslowrun#party::On04_Start"; enablenpc "force_03_04"; enablenpc "force_04start#party"; } @@ -596,63 +477,57 @@ OnMobDeath: } force_1-2,162,26,0 script force_02start#party -1,1,1,{ - OnTouch: - donpcevent "force_02mob#party::Onon"; + donpcevent "force_02mob#party::OnEnable"; disablenpc "force_02start#party"; end; } - script force_02mob#party -1,{ - -Onon: - monster "force_1-2",163,36,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",184,36,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",184,16,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",163,16,"Penomena",1441,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",171,37,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",177,37,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",184,29,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",184,22,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",177,16,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",170,16,"Joker",1437,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",169,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",171,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",173,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",175,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",177,28,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",177,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",175,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",173,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",171,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",169,23,"Bathory",1525,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMobDeath"; - set $force_02_pt,30; +OnEnable: + monster "force_1-2",163,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",184,36,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",184,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",163,16,"Penomena",1441,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",171,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",177,37,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",184,29,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",184,22,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",177,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",170,16,"Joker",1437,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",169,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",171,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",173,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",175,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",177,28,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",177,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",175,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",173,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",171,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",169,23,"Bathory",1525,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,30,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",187,22,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",173,40,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; + monster "force_1-2",181,25,"Arclouse",1477,1,"force_02mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_02mob#party::OnMobDeath"; + killmonster "force_1-2","force_02mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_02_pt,$force_02_pt -1; - if($force_02_pt < 1) - { +OnMyMobDead: + if (mobcount("force_1-2","force_02mob#party::OnMyMobDead") < 1) { enablenpc "force_02_00"; - donpcevent "Slipslowrun#party::On02_end"; + donpcevent "Slipslowrun#party::On02_End"; set $arn_partyc,$arn_partyc +1; - if($arn_partyc == 3) - { - donpcevent "Slipslowrun#party::On04_start"; + if($arn_partyc == 3) { + donpcevent "Slipslowrun#party::On04_Start"; enablenpc "force_03_04"; enablenpc "force_04start#party"; } @@ -661,59 +536,53 @@ OnMobDeath: } force_1-2,99,66,0 script force_03start#party -1,1,1,{ - OnTouch: - donpcevent "force_03mob#party::Onon"; + donpcevent "force_03mob#party::OnEnable"; disablenpc "force_03start#party"; end; } - script force_03mob#party -1,{ - -Onon: - monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; - monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMobDeath"; - set $force_03_pt,26; +OnEnable: + monster "force_1-2",89,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",90,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",91,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",92,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",93,81,"Merman",1451,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",96,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",98,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",100,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",102,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",104,85,"Wind Ghost",1450,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",88,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",90,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",92,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",94,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",96,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",98,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",100,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",102,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",104,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",106,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",108,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",110,79,"Deviruchi",1433,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",91,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",108,86,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",91,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; + monster "force_1-2",108,69,"Wanderer",1490,1,"force_03mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_03mob#party::OnMobDeath"; + killmonster "force_1-2","force_03mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_03_pt,$force_03_pt -1; - if($force_03_pt < 1) - { +OnMyMobDead: + if (mobcount("force_1-2","force_03mob#party::OnMyMobDead") < 1) { enablenpc "force_03_00"; - donpcevent "Slipslowrun#party::On03_end"; + donpcevent "Slipslowrun#party::On03_End"; set $arn_partyc,$arn_partyc +1; - if($arn_partyc == 3) - { - donpcevent "Slipslowrun#party::On04_start"; + if($arn_partyc == 3) { + donpcevent "Slipslowrun#party::On04_Start"; enablenpc "force_03_04"; enablenpc "force_04start#party"; } @@ -722,418 +591,365 @@ OnMobDeath: } force_1-2,162,78,0 script force_04start#party -1,3,3,{ - OnTouch: - donpcevent "force_04mob#party::Onon"; + donpcevent "force_04mob#party::OnEnable"; disablenpc "force_04start#party"; end; } - script force_04mob#party -1,{ - -Onon: - monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; - monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMobDeath"; - set $force_04_pt,22; +OnEnable: + monster "force_1-2",174,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",184,78,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",184,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",174,68,"Penomena",1441,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",169,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",170,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",171,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",172,87,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",169,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",170,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",171,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",172,77,"Ride Word",1478,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",183,83,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",183,80,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",183,73,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",183,70,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",179,77,"Wraith Dead",1566,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",169,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",171,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",173,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",175,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; + monster "force_1-2",177,72,"Assaulter",1364,1,"force_04mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_04mob#party::OnMobDeath"; + killmonster "force_1-2","force_04mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_04_pt,$force_04_pt -1; - if($force_04_pt < 1) - { +OnMyMobDead: + if (mobcount("force_1-2","force_04mob#party::OnMyMobDead") < 1) { enablenpc "force_04_03"; enablenpc "force_03_05"; enablenpc "force_05start#party"; - donpcevent "Slipslowrun#party::On04_end1"; + donpcevent "Slipslowrun#party::On04_End1"; } end; } force_1-2,36,77,0 script force_05start#party -1,1,1,{ - OnTouch: - donpcevent "force_05mob#party::Onon"; + donpcevent "force_05mob#party::OnEnable"; disablenpc "force_05start#party"; end; } - script force_05mob#party -1,{ - -Onon: - monster "force_1-2",25,68,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",36,68,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",16,88,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",15,78,"Penomena",1441,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",33,88,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",29,87,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",25,81,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",25,78,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",25,72,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",29,70,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",21,70,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",19,76,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",19,83,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",23,89,"Sting",1489,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",22,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",23,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",24,85,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",23,86,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",22,86,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",22,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",22,72,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",23,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",23,72,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - monster "force_1-2",24,71,"Cramp",1570,1,"force_05mob#party::OnMobDeath"; - set $force_05_pt,24; +OnEnable: + monster "force_1-2",25,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",36,68,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",16,88,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",15,78,"Penomena",1441,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",33,88,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",29,87,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",25,81,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",25,78,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",25,72,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",29,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",21,70,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",19,76,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",19,83,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",23,89,"Sting",1489,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",22,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",23,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",24,85,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",23,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",22,86,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",22,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",22,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",23,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",23,72,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; + monster "force_1-2",24,71,"Cramp",1570,1,"force_05mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_05mob#party::OnMobDeath"; + killmonster "force_1-2","force_05mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_05_pt,$force_05_pt -1; - if($force_05_pt < 1) - { - donpcevent "arena_p::On06_start"; - donpcevent "Slipslowrun#party::On05_end2"; +OnMyMobDead: + if (mobcount("force_1-2","force_05mob#party::OnMyMobDead") < 1) { + donpcevent "arena_p::On06_Start"; + donpcevent "Slipslowrun#party::On05_End2"; } end; } force_1-2,26,118,0 script force_06start#party -1,1,1,{ - OnTouch: - donpcevent "force_06mob#party::Onon"; + donpcevent "force_06mob#party::OnEnable"; disablenpc "force_06start#party"; end; } - script force_06mob#party -1,{ - -Onon: - monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMobDeath"; - set $force_06_pt,22; +OnEnable: + monster "force_1-2",19,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",24,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",28,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",32,135,"Cloud Hermit",1531,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",24,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",27,127,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",24,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",27,128,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",24,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",27,129,"Shinobi",1560,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,140,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,136,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,132,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,128,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,124,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,120,"Tengu",1563,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,140,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,136,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,132,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,128,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,124,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; + monster "force_1-2",16,120,"Wicked Nymph",1564,1,"force_06mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_06mob#party::OnMobDeath"; + killmonster "force_1-2","force_06mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_06_pt,$force_06_pt -1; - if($force_06_pt < 1) - { - donpcevent "arena_p::On07_start"; - donpcevent "Slipslowrun#party::On06_end"; +OnMyMobDead: + if (mobcount("force_1-2","force_06mob#party::OnMyMobDead") < 1) { + donpcevent "arena_p::On07_Start"; + donpcevent "Slipslowrun#party::On06_End"; set $arn_partyc,$arn_partyc +1; } end; } force_1-2,92,124,0 script force_07start#party -1,1,1,{ - OnTouch: - donpcevent "force_07mob#party::Onon"; + donpcevent "force_07mob#party::OnEnable"; disablenpc "force_07start#party"; end; } - script force_07mob#party -1,{ - -Onon: - monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMobDeath"; - monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMobDeath"; - set $force_07_pt,12; +OnEnable: + monster "force_1-2",104,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",104,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",104,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",104,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",111,134,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",111,136,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",111,137,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",111,139,"Greatest General",1541,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",98,122,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",90,119,"Khalitzburg",1438,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",98,122,"Executioner",1487,1,"force_07mob#party::OnMyMobDead"; + monster "force_1-2",108,140,"Chimera",1456,1,"force_07mob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_07mob#party::OnMobDeath"; + killmonster "force_1-2","force_07mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_07_pt,$force_07_pt -1; - if($force_07_pt < 1) - { - donpcevent "arena_p::On08_start"; - donpcevent "Slipslowrun#party::On07_end"; +OnMyMobDead: + if (mobcount("force_1-2","force_07mob#party::OnMyMobDead") < 1) { + donpcevent "arena_p::On08_Start"; + donpcevent "Slipslowrun#party::On07_End"; set $arn_partyc,$arn_partyc +1; } end; } force_1-2,173,118,0 script force_08start#party -1,1,1,{ - OnTouch: - donpcevent "force_08mob#party::Onon"; + donpcevent "force_08mob#party::OnEnable"; disablenpc "force_08start#party"; end; } - script force_08mob#party -1,{ - -Onon: - monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMobDeath"; - monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMobDeath"; - monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMobDeath"; - set $force_08_pt,4; - if(.arn_injustice != 5) - { - monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMobDeath"; - set .arn_injustice,.arn_injustice +1; - set $force_08_pt,$force_08_pt +1; +OnEnable: + monster "force_1-2",172,154,"Khalitzburg",1438,1,"force_08mob#party::OnMyMobDead"; + monster "force_1-2",174,145,"Ghostring",1576,1,"force_08mob#party::OnMyMobDead"; + monster "force_1-2",174,145,"Chimera",1456,1,"force_08mob#party::OnMyMobDead"; + for(set .@i,0; .@i<5; set .@i,.@i+1) { + monster "force_1-2",rand(162,184),rand(122,185),"Injustice",1446,1,"force_08mob#party::OnMyMobDead"; } - monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMobDeath"; - if(.arn_terror != 5) - { - monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMobDeath"; - set .arn_terror,.arn_terror +1; - set $force_08_pt,$force_08_pt +1; + monster "force_1-2",rand(162,184),rand(122,185),"Raydric Archer",1453,1,"force_08mob#party::OnMyMobDead"; + for(set .@i,0; .@i<5; set .@i,.@i+1) { + monster "force_1-2",rand(162,184),rand(122,185),"Nightmare Terror",1554,1,"force_08mob#party::OnMyMobDead"; } - if(.arn_mummy != 6) - { - monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMobDeath"; - set .arn_mummy,.arn_mummy +1; - set $force_08_pt,$force_08_pt +1; + for(set .@i,0; .@i<6; set .@i,.@i+1) { + monster "force_1-2",rand(162,184),rand(122,185),"Ancient Mummy",1522,1,"force_08mob#party::OnMyMobDead"; } - if(.arn_skel != 10) - { - monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMobDeath"; - set .arn_skel,.arn_skel +1; - set $force_08_pt,$force_08_pt +1; + for(set .@i,0; .@i<10; set .@i,.@i+1) { + monster "force_1-2",rand(162,184),rand(122,185),"Skel Prisoner",1479,1,"force_08mob#party::OnMyMobDead"; } - if(.arn_hunt != 5) - { - monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMobDeath"; - set .arn_hunt,.arn_hunt +1; - set $force_08_pt,$force_08_pt +1; + for(set .@i,0; .@i<5; set .@i,.@i+1) { + monster "force_1-2",rand(162,184),rand(122,185),"Hunter Fly",1422,1,"force_08mob#party::OnMyMobDead"; } end; OnReset: - killmonster "force_1-2","force_08mob#party::OnMobDeath"; + killmonster "force_1-2","force_08mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_08_pt,$force_08_pt -1; - if($force_08_pt < 1) - { - donpcevent "arena_p::On09_start"; - donpcevent "Slipslowrun#party::On08_end"; +OnMyMobDead: + if (mobcount("force_1-2","force_08mob#party::OnMyMobDead") < 1) { + donpcevent "arena_p::On09_Start"; + donpcevent "Slipslowrun#party::On08_End"; set $arn_partyc,$arn_partyc +1; } end; } force_1-2,133,178,0 script force_09start#party -1,1,1,{ - OnTouch: - donpcevent "force_09mob#party::Onon"; + donpcevent "force_09mob#party::OnEnable"; disablenpc "force_09start#party"; end; } - script force_09mob#party -1,{ - -Onon: - monster "force_1-2",86,180,"Elder",1573,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",86,176,"Elder",1573,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",95,183,"Elder",1573,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",94,175,"Elder",1573,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",76,178,"Elder",1573,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",84,179,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",74,181,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",73,176,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",62,178,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",68,177,"Explosion",1532,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",122,177,"Lava Golem",1549,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",112,179,"Lava Golem",1549,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",122,178,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",121,177,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; - monster "force_1-2",122,177,"Anolian",1488,1,"force_09mob#party::OnMobDeath"; +OnEnable: + monster "force_1-2",86,180,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",86,176,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",95,183,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",94,175,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",76,178,"Elder",1573,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",84,179,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",74,181,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",73,176,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",62,178,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",68,177,"Explosion",1532,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",122,177,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",112,179,"Lava Golem",1549,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",122,178,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",121,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; + monster "force_1-2",122,177,"Anolian",1488,1,"force_09mob#party::OnMyMobDead"; set $force_09_pt,15; end; OnReset: - killmonster "force_1-2","force_09mob#party::OnMobDeath"; + killmonster "force_1-2","force_09mob#party::OnMyMobDead"; end; -OnMobDeath: - set $force_09_pt,$force_09_pt -1; - if($force_09_pt < 1) - { - donpcevent "arena_p::On10_start"; - donpcevent "Slipslowrun#party::On09_end"; +OnMyMobDead: + if (mobcount("force_1-2","force_09mob#party::OnMyMobDead") < 1) { + donpcevent "arena_p::On10_Start"; + donpcevent "Slipslowrun#party::On09_End"; set $arn_partyc,$arn_partyc +1; } end; } force_1-2,29,178,0 script force_10start#party -1,1,1,{ - OnTouch: - donpcevent "force_10mob-1#party::Onon1"; + donpcevent "force_10mob-1#party::OnEnable"; disablenpc "force_10start#party"; end; } - script force_10mob-1#party -1,{ - -Onon1: - switch(rand(1,2)) - { - case 1: - monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMobDeath"; - break; - - case 2: - monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMobDeath"; - break; +OnEnable: + switch(rand(1,2)) { + case 1: + monster "force_1-2",16,179,"Evil Snake Lord",1529,1,"force_10mob-1#party::OnMyMobDead"; + break; + case 2: + monster "force_1-2",24,179,"Dracula",1530,1,"force_10mob-1#party::OnMyMobDead"; + break; } - set $force_10_1_pt,1; end; OnReset: - killmonster "force_1-2","force_10mob-1#party::OnMobDeath"; + killmonster "force_1-2","force_10mob-1#party::OnMyMobDead"; end; -OnMobDeath: - set $force_10_1_pt,$force_10_1_pt -1; - if($force_10_1_pt < 1) donpcevent "force_10mob-2#party::Onon2"; +OnMyMobDead: + if (mobcount("force_1-2","force_10mob-1#party::OnMyMobDead") < 1) + donpcevent "force_10mob-2#party::OnEnable"; end; } - script force_10mob-2#party -1,{ - -Onon2: - monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMobDeath"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; - monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMobDeath"; - set $force_10_2_pt,6; +OnEnable: + monster "force_1-2",16,179,"Samurai Spector",1542,1,"force_10mob-2#party::OnMyMobDead"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; + monster "force_1-2",16,179,"Shinobi",1560,1,"force_10mob-2#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_10mob-2#party::OnMobDeath"; + killmonster "force_1-2","force_10mob-2#party::OnMyMobDead"; end; -OnMobDeath: - set $force_10_2_pt,$force_10_2_pt -1; - if($force_10_2_pt < 1) - { - donpcevent "arena_p::Onexit"; - donpcevent "Slipslowrun#party::On10_end"; +OnMyMobDead: + if (mobcount("force_1-2","force_10mob-2#party::OnMyMobDead") < 1) { + donpcevent "arena_p::OnExit"; + donpcevent "Slipslowrun#party::On10_End"; set $arn_partyc,0; } end; } force_1-2,59,178,0 script force_exit#party -1,1,1,{ - OnTouch: - donpcevent "force_exitmob#party::Onon-1"; + donpcevent "force_exitmob#party::OnEnable"; disablenpc "force_exit#party"; end; } - script force_exitmob#party -1,{ - -Onon: - monster "force_1-2",95,177,"Farewell",1393,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"I hate you",1543,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"I like chocolate",1472,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"You like it, huh?",1472,1,"force_exitmob-#party::OnMobDeath"; - monster "force_1-2",95,177,"Sorry",1420,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Tristram II",1562,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"I am hungry",1468,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Bye",1419,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Take care",1394,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Sexy Body",1578,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Pressure",1471,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Take it easy",1491,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Are you gonna hurt me?",1555,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Merchant",1428,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Ms. Kim",1472,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Martial Art",1472,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Part-timer",1420,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Boss",1562,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Old Yellow Box",1474,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Bat",1419,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Extra",1394,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Milk Merchant",1578,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Darling",1471,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Oh noes!",1491,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"I am not a Wraith",1566,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Mom Wraith",1566,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Dad Wraith",1566,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Book[3]",1478,1,"force_exitmob#party::OnMobDeath"; - monster "force_1-2",95,177,"Exchange Diary",1478,1,"force_exitmob#party::OnMobDeath"; +OnEnable: + monster "force_1-2",95,177,"Farewell",1393,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"I hate you",1543,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"I like chocolate",1472,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"You like it, huh?",1472,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Sorry",1420,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Tristram II",1562,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"I am hungry",1468,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Bye",1419,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Take care",1394,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Sexy Body",1578,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Pressure",1471,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Take it easy",1491,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Are you gonna hurt me?",1555,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Merchant",1428,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Ms. Kim",1472,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Martial Art",1472,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Part-timer",1420,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Boss",1562,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Old Yellow Box",1474,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Bat",1419,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Extra",1394,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Milk Merchant",1578,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Darling",1471,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Oh noes!",1491,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"I am not a Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Mom Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Dad Wraith",1566,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Book[3]",1478,1,"force_exitmob#party::OnMyMobDead"; + monster "force_1-2",95,177,"Exchange Diary",1478,1,"force_exitmob#party::OnMyMobDead"; end; OnReset: - killmonster "force_1-2","force_exitmob#party::OnMobDeath"; + killmonster "force_1-2","force_exitmob#party::OnMyMobDead"; + end; + +OnMyMobDead: end; } prt_are_in,181,135,3 script Staff#party-1 67,{ - mes "[Staff]"; mes "You did a good job."; mes "Even if you have failed to clear a time attack battle, I will reward you with a small amount of arena points."; @@ -1155,29 +971,19 @@ prt_are_in,181,135,3 script Staff#party-1 67,{ } prt_are_in,77,135,3 script Staff#party-2 67,{ - - if($arena_minptend < $arena_minptst) - { - if($arena_secptend < $arena_secptst) - { + if($arena_minptend < $arena_minptst) { + if($arena_secptend < $arena_secptst) { set @record_minpt,60 - $arena_minptst + $arena_minptend -1; set @record_secpt,60 - $arena_secptst + $arena_secptend; - } - else - { + } else { set @record_minpt,60 - $arena_minptst + $arena_minptend; set @record_secpt,$arena_secptend - $arena_secptst; } - } - else - { - if($arena_secptend < $arena_secptst) - { + } else { + if($arena_secptend < $arena_secptst) { set @record_minpt,$arena_minptend - $arena_minptst -1; set @record_secpt,60 - $arena_secptst + $arena_secptend; - } - else - { + } else { set @record_minpt,$arena_minptend - $arena_minptst; set @record_secpt,$arena_secptend - $arena_secptst; } @@ -1215,9 +1021,7 @@ prt_are_in,77,135,3 script Staff#party-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { set arena_point, arena_point + 40; mes "[Staff]"; mes "Let me reward you some arena points."; @@ -1228,26 +1032,22 @@ prt_are_in,77,135,3 script Staff#party-2 67,{ mes "See you later~"; close2; } - if(getpartyleader(.arn_party,2) == getcharid(0)) - { - donpcevent "#arn_timer_pt::Onstop"; - donpcevent "alloff#pt::Onon"; - donpcevent "Ponox::Onstart"; + if(getpartyleader(.arn_party,2) == getcharid(0)) { + donpcevent "#arn_timer_pt::OnStop"; + donpcevent "alloff#pt::OnEnable"; + donpcevent "Ponox::OnStart"; } specialeffect2 EH_HIT5; - donpcevent "cast#pt::Onnomal1"; + donpcevent "cast#pt::OnNomal1"; warp "arena_room",100,75; end; - } - else - { + } else { emotion e_omg; mes "[Staff]"; mes "Wow! You have renewed the record!"; mes "What a great job!"; next; - if(getpartyleader(.arn_party,2) == getcharid(0)) - { + if(getpartyleader(.arn_party,2) == getcharid(0)) { mes "[Staff]"; mes "You can record you and your party members on ^FF0000the hall of Arena Time Force Battle party ^000000."; mes "When you enter a name, the name will be remained on the top unless someone make a new record."; @@ -1255,41 +1055,33 @@ prt_are_in,77,135,3 script Staff#party-2 67,{ mes "[Staff]"; mes "Please enter a name within 10 letters which can represent you and your party members."; next; - switch( select( "Ok.","Let me think." ) ) - { + switch( select( "Ok.","Let me think." ) ) { + case 1: + input .@arnparty$; + mes "[Staff]"; + mes "You have entered ^3131FF"+.@arnparty$+"^000000. Is it correct?"; + next; + switch( select( "Yes","No" ) ) { case 1: - input .@arnparty$; + set $top_ptmin, @record_minpt; + set $top_ptsec, @record_secpt; + set $arena_pttopn$,.@arnparty$; + donpcevent "Vendigos::OnLineRec_pt"; mes "[Staff]"; - mes "You have entered ^3131FF"+.@arnparty$+"^000000. Is it correct?"; + mes "Your record has been entered."; next; - switch( select( "Yes","No" ) ) - { - case 1: - set $top_ptmin, @record_minpt; - set $top_ptsec, @record_secpt; - set $arena_pttopn$,.@arnparty$; - donpcevent "Vendigos::Onlinerec_pt"; - mes "[Staff]"; - mes "Your record has been entered."; - next; - break; - - case 2: - mes "[Staff]"; - mes "Please take your time and think up a nice name."; - close; - - } break; - case 2: mes "[Staff]"; mes "Please take your time and think up a nice name."; close; - + } + break; + case 2: + mes "[Staff]"; + mes "Please take your time and think up a nice name."; + close; } - - } if (arena_point > 29900) { mes "[Staff]"; @@ -1303,9 +1095,7 @@ prt_are_in,77,135,3 script Staff#party-2 67,{ mes "I hope you had a good time and let me guide you to the entrance of arena."; mes "Thank you."; close2; - } - else - { + } else { mes "[Staff]"; mes "Let me reward you with some arena points."; mes "At the same time, since you have renewed the record you will receive an extra amount of the points this time."; @@ -1320,21 +1110,18 @@ prt_are_in,77,135,3 script Staff#party-2 67,{ mes "See you later~"; close2; } - if(getpartyleader(.arn_party,2) == getcharid(0)) - { - donpcevent "#arn_timer_pt::Onstop"; - donpcevent "alloff#pt::Onon"; - donpcevent "Ponox::Onstart"; + if(getpartyleader(.arn_party,2) == getcharid(0)) { + donpcevent "#arn_timer_pt::OnStop"; + donpcevent "alloff#pt::OnEnable"; + donpcevent "Ponox::OnStart"; } specialeffect2 EF_HIT5; warp "arena_room",100,75; end; } - } - script #arn_timer_pt -1,{ - OnEnter: initnpctimer; end; @@ -1352,47 +1139,44 @@ OnTimer4000: end; OnTimer60000: - donpcevent "cast#pt::Ontimeover2"; - donpcevent "arn_warp_pt::Onout"; - donpcevent "#arn_timer_pt::Onstop"; - donpcevent "alloff#pt::Onon"; - donpcevent "Ponox::Onstart"; + donpcevent "cast#pt::OnTimeOver2"; + donpcevent "arn_warp_pt::OnOut"; + donpcevent "#arn_timer_pt::OnStop"; + donpcevent "alloff#pt::OnEnable"; + donpcevent "Ponox::OnStart"; end; -Onstop: +OnStop: stopnpctimer; end; } - script arn_warp_pt -1,{ - -Onout: +OnOut: areawarp "prt_are_in",66,143,81,126,"arena_room",100,75; end; } - script cast#pt -1,{ - -Ontimeover1: +OnTimeOver1: mapannounce "force_2-1","Arena will be reactivated due to an error occurred during battle.",0,0xFFCE00; end; -Onnomal1: +OnNomal1: mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; end; -Onnomal2: +OnNomal2: mapannounce "force_2-1","Arena will be reactivated.",0,0xFFCE00; end; -Ontimeover2: +OnTimeOver2: mapannounce "force_2-1","Arena will be reactivated due to an error occurred in the waiting room.",0,0xFFCE00; end; } - script alloff#pt -1,{ - -Onon: +OnEnable: mapwarp "force_1-2","prt_are_in",126,139,0,0; donpcevent "force_01mob#party::OnReset"; donpcevent "force_02mob#party::OnReset"; @@ -1403,8 +1187,8 @@ Onon: donpcevent "force_07mob#party::OnReset"; donpcevent "force_08mob#party::OnReset"; donpcevent "force_09mob#party::OnReset"; - donpcevent "force_10-1mob#party::OnReset"; - donpcevent "force_10-2mob#party::OnReset"; + donpcevent "force_10mob-1#party::OnReset"; + donpcevent "force_10mob-2#party::OnReset"; donpcevent "force_exitmob#party::OnReset"; //disablenpc "force_01mob#party"; //disablenpc "force_02mob#party"; @@ -1443,12 +1227,12 @@ Onon: disablenpc "force_10_09"; disablenpc "force_09_exit"; disablenpc "arena_p"; - donpcevent "Slipslowrun#party::Ontimeroff"; + donpcevent "Slipslowrun#party::OnTimerOff"; disablenpc "Slipslowrun#party"; disablenpc "arn_warp_pt"; set $arn_partywait,0; set $arn_partyc,0; - donpcevent "#arn_timer_pt::Onstop"; + donpcevent "#arn_timer_pt::OnStop"; enablenpc "Slipslowrun#party"; enablenpc "arena_p"; end; @@ -1456,5 +1240,4 @@ Onon: OnInit: if(!$top_ptmin && !$top_ptsec) set $top_ptmin,10; end; - } diff --git a/npc/other/arena/arena_point.txt b/npc/other/arena/arena_point.txt index 0890867bf..dc4911c68 100644 --- a/npc/other/arena/arena_point.txt +++ b/npc/other/arena/arena_point.txt @@ -4,8 +4,8 @@ //= L0ne_W0lf //===== Current Version: ===================================== //= 1.0 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Point exchanger: Turbo track points -> Arena Points //===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt index 925976f3b..2e067cd28 100644 --- a/npc/other/arena/arena_room.txt +++ b/npc/other/arena/arena_room.txt @@ -3,26 +3,28 @@ //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.1 +//= 1.4 //===== Description: ========================================= //= Izlude Battle Arena Main Room //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Fixed a small reward typo (was giving potato.) [L0ne_W0lf] +//= 1.2 Label standardization, disabled GM NPCs. [Euphy] +//= 1.2a Added Renewal level checksk. [Euphy] +//= 1.3 Script updates. [Euphy] +//= 1.4 Added GM management function. [Euphy] //============================================================ arena_room,94,93,5 script Vendigos 97,{ - mes "[Vendigos]"; mes "Welcome to the world of Arena, the battle against a time limit."; mes "My name is Vendigos, I am here to help you."; next; mes "[Vendigos]"; mes "If you have any questions, feel free to ask me."; -L_Menu: next; - switch( select( "How to challenge","About Arena Points","My Current Arena Points","Cancel" ) ) - { + while(1) { + switch(select("How to challenge:About Arena Points:My Current Arena Points:Cancel")) { case 1: mes "[Vendigos]"; mes "There are two different kinds of arena mode such as ^3131FFPlayer Mode^000000 and ^3131FFParty Mode^000000."; @@ -38,7 +40,6 @@ L_Menu: mes "There are the NPCs for Player Mode Stages from 12 o'clock direction to the reversed clock direction."; mes "While you're waiting in a chat room, you will be automatically guided to an arena room by the waiting order."; break; - case 2: mes "[Vendigos]"; mes "Let me explain about the ^3131FFArena Point^000000."; @@ -51,7 +52,6 @@ L_Menu: mes "Regarding the use of Arena Points,"; mes "we are providing various services such as souvenir photograph services through an NPC named Givu."; break; - case 3: mes "[Vendigos]"; mes "Let me check "+strcharinfo(0)+"'s current arena points."; @@ -62,45 +62,46 @@ L_Menu: mes "[Vendigos]"; mes "If you wish to know how to use arena points, please refer to the 2nd menu ^3131FF'About Arena Points'^000000."; break; - case 4: mes "[Vendigos]"; - mes "Okay, please have a good time."; + mes "Okay then,"; + mes "please have"; + mes "a good time."; close; + } + next; + mes "[Vendigos]"; + mes "Is there anything"; + mes "more I can help you with?"; + next; } - next; - mes "[Vendigos]"; - mes "Is there anything I can help you more?"; - goto L_Menu; + close; -Onlinerec_50: +OnLineRec_50: mapannounce "arena_room",""+$arena_50topn$+" has renewed the top record in the Arena Time Force Battle level 50. Congratulations!",0; end; -Onlinerec_60: +OnLineRec_60: mapannounce "arena_room",""+$arena_60topn$+" has renewed the top record in the Arena Time Force Battle level 60. Congratulations!",0; end; -Onlinerec_70: +OnLineRec_70: mapannounce "arena_room",""+$arena_70topn$+" has renewed the top record in the Arena Time Force Battle level 70. Congratulations!",0; end; -Onlinerec_80: +OnLineRec_80: mapannounce "arena_room",""+$arena_80topn$+" has renewed the top record in the Arena Time Force Battle level 80. Congratulations!",0; end; -Onlinerec_pt: +OnLineRec_pt: mapannounce "arena_room","Party "+$arena_pttopn$+" has renewed the top record in the Arena Time Force Battle. Congratulations!",0; end; -//OnCommand: "linerec_vs" -// var vs_winner = GetGlobalStr "040611_arn_vstopn" -// broadcastinmap "Party "+vs_winner+" has renewed the top record in the Arena Time Force Battle. Congratulations!" -// end; - +//OnLineRec_vs: +// mapannounce "arena_room","Party "+$040611_arn_vstopn$+" has renewed the top record in the Arena Time Force Battle. Congratulations!",0; +// end; } arena_room,105,82,5 script Arena Record Staff 57,{ - mes "[Owen Kheuv]"; mes "Hello, my name is Own Kheuv"; mes "in charge of every arena stage record of players."; @@ -109,43 +110,37 @@ arena_room,105,82,5 script Arena Record Staff 57,{ mes "Would you like to check the top record players in each stage?"; mes "If so, please choose a menu below."; next; - switch( select( "lvl 50 Stage","lvl 60 Stage","lvl 70 Stage","lvl 80 Stage","Party Stage" ) ) - { - case 1: - mes "[Owen Kheuv]"; - mes "Currently the top player of the arena lvl 50 stage is ^3131FF "+$arena_50topn$+"^000000, the top record is ^3131FF"+$top_50min+"^000000 minutes ^3131FF"+$top_50sec+"^000000 seconds."; - close; - - case 2: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena lvl 60 stage is ^3131FF"+$arena_60topn$+"^000000, the top record is ^3131FF"+$top_60min+"^000000 minutes ^3131FF"+$top_60sec+"^000000 seconds."; - close; - - case 3: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena lvl 70 stage is ^3131FF"+$arena_70topn$+"^000000, the top record is ^3131FF"+$top_70min+"^000000 minutes ^3131FF"+$top_70sec+"^000000 seconds."; - close; - - case 4: - mes "[Owen Kheuv]"; - mes "Currenly the top player of the arena lvl 80 stage is ^3131FF"+$arena_80topn$+"^000000, the top record is ^3131FF"+$top_80min+"^000000 minutes ^3131FF"+$top_80sec+"^000000 seconds."; - close; - - case 5: - mes "[Owen Kheuv]"; - mes "Currenly the top party is ^3131FF"+$arena_pttopn$+"^000000, the top record is ^3131FF"+$top_ptmin+"^000000 minutes ^3131FF"+$top_ptsec+"^000000 seconds."; - close; + switch(select("Lv 50 Stage:Lv 60 Stage:Lv 70 Stage:Lv 80 Stage:Party Stage")) { + case 1: + mes "[Owen Kheuv]"; + mes "Currently the top player of the arena Lv 50 stage is ^3131FF "+$arena_50topn$+"^000000, the top record is ^3131FF"+$top_50min+"^000000 minutes ^3131FF"+$top_50sec+"^000000 seconds."; + close; + case 2: + mes "[Owen Kheuv]"; + mes "Currenly the top player of the arena Lv 60 stage is ^3131FF"+$arena_60topn$+"^000000, the top record is ^3131FF"+$top_60min+"^000000 minutes ^3131FF"+$top_60sec+"^000000 seconds."; + close; + case 3: + mes "[Owen Kheuv]"; + mes "Currenly the top player of the arena Lv 70 stage is ^3131FF"+$arena_70topn$+"^000000, the top record is ^3131FF"+$top_70min+"^000000 minutes ^3131FF"+$top_70sec+"^000000 seconds."; + close; + case 4: + mes "[Owen Kheuv]"; + mes "Currenly the top player of the arena Lv 80 stage is ^3131FF"+$arena_80topn$+"^000000, the top record is ^3131FF"+$top_80min+"^000000 minutes ^3131FF"+$top_80sec+"^000000 seconds."; + close; + case 5: + mes "[Owen Kheuv]"; + mes "Currenly the top party is ^3131FF"+$arena_pttopn$+"^000000, the top record is ^3131FF"+$top_ptmin+"^000000 minutes ^3131FF"+$top_ptsec+"^000000 seconds."; + close; } } arena_room,68,135,3 script Helper Pat 726,{ - mes "[Pat]"; mes "Welcome, welcome."; - mes "I am a helper of the lvl 50 arena stage."; + mes "I am a helper of the Lv 50 arena stage."; next; mes "[Pat]"; - mes "This ^3131FFlvl 50 arena stage^000000"; + mes "This ^3131FFLv 50 arena stage^000000"; mes "is accessable to characters from ^FF0000level 50^000000 to ^FF0000level 69^000000."; next; mes "[Pat]"; @@ -179,13 +174,12 @@ arena_room,68,135,3 script Helper Pat 726,{ } arena_room,41,93,5 script Helper Ben 750,{ - mes "[Ben]"; mes "Welcome, welcome."; - mes "I am a helper of the lvl 60 arena stage."; + mes "I am a helper of the Lv 60 arena stage."; next; mes "[Ben]"; - mes "This ^3131FFlvl 60 arena stage^000000"; + mes "This ^3131FFLv 60 arena stage^000000"; mes "is accessable to characters from ^FF0000level 60^000000 to ^FF0000level 79^000000."; next; mes "[Ben]"; @@ -219,14 +213,13 @@ arena_room,41,93,5 script Helper Ben 750,{ } arena_room,53,49,5 script Helper Vicious 730,{ - mes "[Vicious]"; mes "Hey there."; - mes "My name is Vicious, I am a helper of lvl 70 arena stage."; + mes "My name is Vicious, I am a helper of Lv 70 arena stage."; mes "(...I have no clue how the hell I put myself into this crappy work...mumble mumble...grumble grumble..)"; next; mes "[Vicious]"; - mes "This ^3131FFlvl 70 arena stage^000000"; + mes "This ^3131FFLv 70 arena stage^000000"; mes "is accessable to characters from ^FF0000level 70^000000 to ^FF0000level 89^000000."; next; mes "[Vicious]"; @@ -260,10 +253,9 @@ arena_room,53,49,5 script Helper Vicious 730,{ } arena_room,147,49,3 script Helper Epin 727,{ - mes "[Epin]"; mes "Good day,"; - mes "I am a helper of lvl 80 arena stage and my name is Epin."; + mes "I am a helper of Lv 80 arena stage and my name is Epin."; mes "I like reading and I am 19 years old...huh...? Don't you want to hear about me...?"; next; emotion e_cry,0; @@ -271,8 +263,8 @@ arena_room,147,49,3 script Helper Epin 727,{ mes "Okay..."; next; mes "[Epin]"; - mes "This ^3131FFlvl 80 arena stage^000000"; - mes "is accessable to characters from ^FF0000level 80^000000 to ^FF0000level 99^000000."; + mes "This ^3131FFLv 80 arena stage^000000"; + mes "is accessable to characters from ^FF0000level 80^000000 to ^FF0000level "+(checkre(0)?"160":"99")+"^000000."; next; mes "[Epin]"; mes "This level limitation is to prevent high level characters abusing low level arena stages. I hope you will understand."; @@ -305,7 +297,6 @@ arena_room,147,49,3 script Helper Epin 727,{ } arena_room,158,93,5 script Helper Lunic 828,{ - mes "[Lunic]"; mes "Welcome to party arena stage."; mes "I hope you will listen carefully to my introduction"; @@ -313,7 +304,7 @@ arena_room,158,93,5 script Helper Lunic 828,{ next; mes "[Lunic]"; mes "^3131FFParty Arena Stage^000000"; - mes "is accessible to players from ^FF0000level 10^000000 to ^FF0000level 99^000000."; + mes "is accessible to players from ^FF0000level 10^000000 to ^FF0000level "+(checkre(0)?"160":"99")+"^000000."; next; mes "[Lunic]"; mes "Also, arena will be not be started until all of 5 party members enter the room. We accept an entrance fee 1,000 zeny."; @@ -375,7 +366,6 @@ arena_room,158,93,5 script Helper Lunic 828,{ } arena_room,158,82,1 script Helper Lonik 828,{ - emotion e_no1,0; mes "[Lonik]"; mes "Tah dah! Here I am!"; @@ -386,17 +376,14 @@ arena_room,158,82,1 script Helper Lonik 828,{ mes "[Lonik]"; mes "My answer is..."; mes "............."; - if(getmapusers("force_1-2")) - { + if (getmapusers("force_1-2")) { emotion e_oh,0; mes "Yes!"; mes "There is someone inside."; next; mes "[Lonik]"; mes "You'd better wait a little bit longer!"; - } - else - { + } else { emotion e_x,0; mes "No!"; mes "Go for it, good luck!"; @@ -405,235 +392,185 @@ arena_room,158,82,1 script Helper Lonik 828,{ } sec_in02,72,180,3 script Arena Manager#arena 802,{ - - if (!getgmlevel()) end; - - input .@arena; - if(!.@arena) - { + set .@i, callfunc("F_GM_NPC",1357,0); + if (.@i == -1) { mes "[Arena Manager]"; mes "Command has been canceled."; close; - } - else if(.@arena == 1357) - { + } else if (.@i == 0) { + mes "Password is incorrect."; + close; + } else { mes "[Arena Manager]"; mes "Select an option."; next; - switch( select( "Restart arena","Rearrange the Ranking Time" ) ) - { + switch(select("Restart arena:Rearrange the Ranking Time")) { + case 1: + switch(select("Lv 50:Lv 60:Lv 70:Lv 80:Party Mode")) { case 1: - switch( select( "lvl 50","lvl 60","lvl 70","lvl 80","Party Mode" ) ) - { - case 1: - set .@arena,50; - break; - case 2: - set .@arena,60; - break; - case 3: - set .@arena,70; - break; - case 4: - set .@arena,80; - break; - case 5: - mes "[Arena Manager]"; - mes "== Caution =="; - mes "You have chosen to restart party arena stage."; - mes "Do you wish to proceed?"; - next; - switch( select( "Yes","No" ) ) - { - case 1: - donpcevent "Ponox::Onstart"; - mes "[Arena Manager]"; - mes "The arena stage has been successfuly reactivated."; - close; - - case 2: - mes "[Arena Manager]"; - mes "Command has been canceled."; - close; - } - } + set .@arena,50; + break; + case 2: + set .@arena,60; + break; + case 3: + set .@arena,70; + break; + case 4: + set .@arena,80; + break; + case 5: mes "[Arena Manager]"; mes "== Caution =="; - mes "You have chosen to restart lvl "+.@arena+" arena stage."; + mes "You have chosen to restart party arena stage."; mes "Do you wish to proceed?"; next; - switch( select( "Yes","No" ) ) - { - case 1: - donpcevent "lvl "+.@arena+"s Waiting Room::Onstart"; - mes "[Arena Manager]"; - mes "The arena stage has been successfuly reactivated."; - close; + switch(select("Yes:No")) { + case 1: + donpcevent "Ponox::OnStart"; + mes "[Arena Manager]"; + mes "The arena stage has been successfuly reactivated."; + close; - case 2: - mes "[Arena Manager]"; - mes "Command has been canceled."; - close; + case 2: + mes "[Arena Manager]"; + mes "Command has been canceled."; + close; } - + } + mes "[Arena Manager]"; + mes "== Caution =="; + mes "You have chosen to restart Lv "+.@arena+" arena stage."; + mes "Do you wish to proceed?"; + next; + switch(select("Yes:No")) { + case 1: + donpcevent "Lv"+.@arena+" Waiting Room::OnStart"; + mes "[Arena Manager]"; + mes "The arena stage has been successfuly reactivated."; + close; case 2: mes "[Arena Manager]"; - mes "== Caution =="; - mes "^CE0000You have chosen to rearrange the ranking time. Make sure this is not a good decision unless if something serious was happened!^000000"; - next; + mes "Command has been canceled."; + close; + } + case 2: + mes "[Arena Manager]"; + mes "== Caution =="; + mes "^CE0000You have chosen to rearrange the ranking time. Make sure this is not a good decision unless if something serious was happened!^000000"; + next; + mes "[Arena Manager]"; + mes "Are you sure you want to rearrange the ranking time?"; + next; + switch(select("No:Yes")) { + case 1: mes "[Arena Manager]"; - mes "Are you sure you want to rearrange the ranking time?"; - next; - switch( select( "No","Yes" ) ) - { - case 1: - mes "[Arena Manager]"; - mes "Phew~ :)"; - close; - - case 2: - switch( select( "lvl 50","lvl 60","lvl 70","lvl 80","Party Mode" ) ) - { - case 1: - mes "[Arena Manager]"; - mes "Please enter 0 to cancel."; - mes "If not, please enter a value for minutes first and then seconds."; - next; - input .@arenamin; - set $top_50min,.@arenamin; - input .@arenasec; - set $top_50sec,.@arenasec; - mes "[Arena Manager]"; - mes "Current lvl 50 ranker's play time has been rearranged to ^FF0000"+$top_50min+"^000000 minutes and ^FF0000"+$top_50sec+"^000000 seconds."; - close; - case 2: - mes "[Arena Manager]"; - mes "Please enter 0 to cancel."; - mes "If not, please enter a value for minutes first and then seconds."; - next; - input .@arenamin; - set $top_60min,.@arenamin; - input .@arenasec; - set $top_60sec,.@arenasec; - mes "[Arena Manager]"; - mes "Current lvl 60 ranker's play time has been rearranged to ^FF0000"+$top_60min+"^000000 minutes and ^FF0000"+$top_60sec+"^000000 seconds."; - close; - case 3: - mes "[Arena Manager]"; - mes "Please enter 0 to cancel."; - mes "If not, please enter a value for minutes first and then seconds."; - next; - input .@arenamin; - set $top_70min,.@arenamin; - input .@arenasec; - set $top_70sec,.@arenasec; - mes "[Arena Manager]"; - mes "Current lvl 70 ranker's play time has been rearranged to ^FF0000"+$top_70min+"^000000 minutes and ^FF0000"+$top_70sec+"^000000 seconds."; - close; - case 4: - mes "[Arena Manager]"; - mes "Please enter 0 to cancel."; - mes "If not, please enter a value for minutes first and then seconds."; - next; - input .@arenamin; - set $top_80min,.@arenamin; - input .@arenasec; - set $top_80sec,.@arenasec; - mes "[Arena Manager]"; - mes "Current lvl 80 ranker's play time has been rearranged to ^FF0000"+$top_80min+"^000000 minutes and ^FF0000"+$top_80sec+"^000000 seconds."; - close; - case 5: - mes "[Arena Manager]"; - mes "Please enter 0 to cancel."; - mes "If not, please enter a value for minutes first and then seconds."; - next; - input .@arenamin; - set $top_ptmin,.@arenamin; - input .@arenasec; - set $top_ptsec,.@arenasec; - mes "[Arena Manager]"; - mes "Current party ranker's play time has been rearranged to ^FF0000"+$top_ptmin+"^000000 minutes and ^FF0000"+$top_ptsec+"^000000 seconds."; - close; - } + mes "Phew~ :)"; + close; + case 2: + switch(select("Lv 50:Lv 60:Lv 70:Lv 80:Party Mode")) { + case 1: + set .@min$,"$top50min"; + set .@sec$,"$top50sec"; + set .@mode$,"Lv 50"; + break; + case 2: + set .@min$,"$top60min"; + set .@sec$,"$top60sec"; + set .@mode$,"Lv 60"; + break; + case 3: + set .@min$,"$top70min"; + set .@sec$,"$top70sec"; + set .@mode$,"Lv 70"; + break; + case 4: + set .@min$,"$top80min"; + set .@sec$,"$top80sec"; + set .@mode$,"Lv 80"; + break; + case 5: + set .@min$,"$top_ptmin"; + set .@sec$,"$top_ptsec"; + set .@mode$,"party"; + break; } + mes "[Arena Manager]"; + // Doesn't work with Athena's implementation. + //mes "Please enter 0 to cancel."; + //mes "If not, please enter a value for minutes first and then seconds."; + mes "Please enter a value for minutes first and then seconds."; + next; + input .@arenamin; + setd .@min$,.@arenamin; + input .@arenasec; + setd .@sec$,.@arenasec; + mes "[Arena Manager]"; + mes "Current "+.@mode$+" ranker's play time has been rearranged to ^FF0000"+getd(.@min$)+"^000000 minutes and ^FF0000"+getd(.@sec$)+"^000000 seconds."; + close; + } } } - mes "Password is incorrect."; - close; } sec_in02,79,171,3 script Reward Manager#arena 802,{ - - if (!getgmlevel()) end; - - input .@arena; - if(!.@arena) - { + set .@i, callfunc("F_GM_NPC",1357,0); + if (.@i == -1) { mes "[Reward Manager]"; mes "Command has been canceled."; close; - } - else if(.@arena == 1357) - { + } else if (.@i == 0) { + mes "[Reward Manager]"; + mes "Password is incorrect."; + close; + } else { mes "[Reward Manager]"; mes "You have chosen to hide the teleporter NPC."; next; - switch( select( "Cancel","Yes","Turn on" ) ) - { - case 1: - mes "[Reward Manager]"; - mes "You have canceled the command."; - close; - - case 2: - mes "[Reward Manager]"; - mes "NPC has been hidden"; - disablenpc "Teleporter#arena"; - close; - - case 3: - mes "[Reward Manager]"; - mes "NPC has been enabled."; - enablenpc "Teleporter#arena"; - close; + switch(select("Cancel:Yes:Turn on")) { + case 1: + mes "[Reward Manager]"; + mes "You have canceled the command."; + close; + case 2: + mes "[Reward Manager]"; + mes "NPC has been hidden."; + disablenpc "Teleporter#arena"; + close; + case 3: + mes "[Reward Manager]"; + mes "NPC has been enabled."; + enablenpc "Teleporter#arena"; + close; } } - mes "[Reward Manager]"; - mes "Password is incorrect."; - close; } arena_room,105,93,5 script Teleporter#arena 55,{ - mes "[Teleporter]"; mes "I can move you to the reward arena!"; mes "Would you like to go there?"; next; - switch( select( "Yes.","No." ) ) - { - case 1: - mes "[Teleporter]"; - mes "Let me guide you."; - close2; - warp "prt_are_in",60,14; - end; - - case 2: - mes "[Teleporter]"; - mes "No problem, feel free to come back any time."; - close; + switch(select("Yes:No.")) { + case 1: + mes "[Teleporter]"; + mes "Let me guide you."; + close2; + warp "prt_are_in",60,14; + end; + case 2: + mes "[Teleporter]"; + mes "No problem, feel free to come back any time."; + close; } } prt_are_in,98,14,3 script Givu#arena 728,{ - - - if(checkweight(526,5) != 1) - { + if (checkweight(526,5) == 0) { mes "- Wait a moment! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; - mes "- Please enlighten your weight -"; + mes "- Please lighten your weight -"; mes "- and try again. -"; close; } @@ -645,149 +582,139 @@ prt_are_in,98,14,3 script Givu#arena 728,{ mes "You can exchange your arena points with various stuffs."; mes "Please choose a menu below."; next; - switch( select( "Exchange with Consumable items","Exchange with EXP points","Take a Souvenir Picture","Check Current Arena Points" ) ) - { + switch(select("Exchange with Consumable items:Exchange with EXP points:Take a Souvenir Picture:Check Current Arena Points")) { + case 1: + mes "[Givu]"; + mes "What consumable item do you wish to exchange?"; + next; + switch(select("Honey:Royal Jelly:Mastela Fruit:Condensed White Potion:Anodyne:Yggdrasil Seed:Yggdrasilberry:Old Blue Box:Old Purple Box:Old Card Album")) { + case 1: callfunc "Func_Are_Rew",518,5,20; + case 2: callfunc "Func_Are_Rew",526,5,30; + case 3: callfunc "Func_Are_Rew",522,5,30; + case 4: callfunc "Func_Are_Rew",547,8,30; + case 5: callfunc "Func_Are_Rew",605,3,20; + case 6: callfunc "Func_Are_Rew",608,1,20; + case 7: callfunc "Func_Are_Rew",607,1,40; + case 8: callfunc "Func_Are_Rew",603,1,100; + case 9: callfunc "Func_Are_Rew",617,1,300; + case 10: callfunc "Func_Are_Rew",616,1,1000; + } + case 2: + mes "[Givu]"; + mes "Would you like to exchange your arena points with experience points?"; + mes "It requires 40 arena points."; + next; + switch(select("Cancel:Yes")) { case 1: mes "[Givu]"; - mes "What consumable item do you wish to exchange?"; - next; - switch( select( "Honey","Royal Jelly","Mastela Fruit","Condensed White Potion","Anodyne","Yggdrasil Seed","Yggdrasilberry","Old Blue Box","Old Purple Box","Old Card Album" ) ) - { - case 1: callfunc "Func_Are_Rew",518,5,20; - case 2: callfunc "Func_Are_Rew",526,5,30; - case 3: callfunc "Func_Are_Rew",522,5,30; - case 4: callfunc "Func_Are_Rew",547,8,30; - case 5: callfunc "Func_Are_Rew",605,3,20; - case 6: callfunc "Func_Are_Rew",608,1,20; - case 7: callfunc "Func_Are_Rew",607,1,40; - case 8: callfunc "Func_Are_Rew",603,1,100; - case 9: callfunc "Func_Are_Rew",617,1,300; - case 10: callfunc "Func_Are_Rew",616,1,1000; - } - + mes "You have canceled your request."; + close; case 2: + if (arena_point < 40) { + mes "[Givu]"; + mes "You do not have enough arena points."; + mes "Please check the total amount of arena points you have."; + close; + } + set arena_point, arena_point-40; + if (checkre(3)) { + if (BaseLevel < 70) getexp 300,0; + else if (BaseLevel < 80) getexp 900,0; + else if (BaseLevel < 90) getexp 1000,0; + else getexp 3000,0; + } else { + if (BaseLevel < 70) getexp 3000,0; + else if (BaseLevel < 80) getexp 9000,0; + else if (BaseLevel < 90) getexp 10000,0; + else getexp 30000,0; + } mes "[Givu]"; - mes "Would you like to exchange your arena points with experience points?"; - mes "It requires 40 arena points."; + mes "You have gained experience points. Thank you."; + close; + } + case 3: + mes "[Givu]"; + mes "You have chosen a souvenir picture services."; + next; + switch(select("About souvenir Picture Services:Take a picture")) { + case 1: + mes "[Givu]"; + mes "Do you see stairs at the right side of me?"; next; - switch( select( "Cancel","Yes" ) ) - { - case 1: - mes "[Givu]"; - mes "You have canceled your request."; - close; - - case 2: - if(arena_point < 40) - { - mes "[Givu]"; - mes "You do not have enough arena points."; - mes "Please check the total amount of arena points you have."; - close; - } - set arena_point,arena_point -40; - if(BaseLevel < 70) getexp 3000,0; - else if(BaseLevel < 80) getexp 9000,0; - else if(BaseLevel < 90) getexp 10000,0; - else if(BaseLevel < 100) getexp 30000,0; - mes "[Givu]"; - mes "You have gained experience points. Thank you."; - close; - } - - case 3: mes "[Givu]"; - mes "You have chosen a souvenir picture services."; + mes "At the stairs, you can take a screenshot with an NPC or a monster."; next; - switch( select( "About souvenir Picture Services","Take a picture" ) ) - { - case 1: - mes "[Givu]"; - mes "Do you see stairs at the right side of me?"; - next; - mes "[Givu]"; - mes "At the stairs, you can take a screenshot with an NPC or a monster."; - next; - mes "[Givu]"; - mes "When you choose an NPC or a monster, it will show some emotion icons ^FF0000for 1 minute^000000."; - next; - mes "[Givu]"; - mes "Don't miss the chance to take a picture with your favorite NPC!"; - close; - - case 2: - if($arenapic) - { - mes "[Givu]"; - mes "A souvenir picture services is on progress. Please wait."; - close; - } - mes "[Givu]"; - mes "Please choose an NPC at below."; - mes "The NPC will appear for 1 minute and this service requires 10 arena points."; - next; - switch( select( "Baphomet","Dark Lord","Doppelganger","Eddga","Dracula","Samurai","Stormy Knight","Phreeoni","Girl","Valkyrie" ) ) - { - case 1: set $@arenapic,1039; break; - case 2: set $@arenapic,1272; break; - case 3: set $@arenapic,1046; break; - case 4: set $@arenapic,1115; break; - case 5: set $@arenapic,1389; break; - case 6: set $@arenapic,1492; break; - case 7: set $@arenapic,1251; break; - case 8: set $@arenapic,1159; break; - case 9: set $@arenapic,6969; break; - case 10: set $@arenapic,7777; break; - } - if(arena_point < 10) - { - mes "[Givu]"; - mes "You do not have enough arena points."; - mes "Please check the total amount of arena points you have."; - close; - } - mes "[Givu]"; - if($@arenapic == 6969) mes "Would you like to take a picture with pretty girls?"; - else if($@arenapic == 7777) mes "Would you like to take a picture with a Valkyrie?"; - else mes "Would you like to take a picture with a "+getmonsterinfo($@arenapic,0)+"?"; - next; - switch( select( "Yes","No" ) ) - { - case 1: - set arena_point,arena_point -10; - set $arenapic,1; - enablenpc "#arena_"+$@arenapic+""; - movenpc "#arena_"+$@arenapic+"",96,28; - if($@arenapic == 6969) - { - enablenpc "#arena_ss_2"; - enablenpc "#arena_ss_3"; - enablenpc "#arena_ss_4"; - } - donpcevent "npctime#arena::OnStart"; - mes "[Givu]"; - mes "Thank you."; - close; - - case 2: - mes "[Givu]"; - mes "Would you like to consider a little longer?"; - close; - } - } - - case 4: mes "[Givu]"; - mes "Let me check "+strcharinfo(0)+"'s current arena points."; + mes "When you choose an NPC or a monster, it will show some emotion icons ^FF0000for 1 minute^000000."; next; mes "[Givu]"; - mes ""+strcharinfo(0)+" has total ^3131FF"+arena_point+"^000000 points."; + mes "Don't miss the chance to take a picture with your favorite NPC!"; close; + case 2: + if ($@arena_picture) { + mes "[Givu]"; + mes "A souvenir picture services is on progress. Please wait."; + close; + } + mes "[Givu]"; + mes "Please choose an NPC at below."; + mes "The NPC will appear for 1 minute and this service requires 10 arena points."; + next; + switch(select("Baphomet:Dark Lord:Doppelganger:Eddga:Dracula:Samurai:Stormy Knight:Phreeoni:Girl:Valkyrie")) { + case 1: set $@arena_picture_id,1039; break; + case 2: set $@arena_picture_id,1272; break; + case 3: set $@arena_picture_id,1046; break; + case 4: set $@arena_picture_id,1115; break; + case 5: set $@arena_picture_id,1389; break; + case 6: set $@arena_picture_id,1492; break; + case 7: set $@arena_picture_id,1251; break; + case 8: set $@arena_picture_id,1159; break; + case 9: set $@arena_picture_id,6969; break; + case 10: set $@arena_picture_id,7777; break; + } + if (arena_point < 10) { + mes "[Givu]"; + mes "You do not have enough arena points."; + mes "Please check the total amount of arena points you have."; + close; + } + mes "[Givu]"; + if ($@arena_picture_id == 6969) + mes "Would you like to take a picture with pretty girls?"; + else if ($@arena_picture_id == 7777) + mes "Would you like to take a picture with a Valkyrie?"; + else + mes "Would you like to take a picture with a "+getmonsterinfo($@arena_picture_id,0)+"?"; + next; + switch(select("Yes:No")) { + case 1: + set arena_point, arena_point-10; + set $@arena_picture,1; + enablenpc "#arena_"+$@arena_picture_id+""; + movenpc "#arena_"+$@arena_picture_id+"",96,28; + if ($@arena_picture_id == 6969) { + enablenpc "#arena_ss_2"; + enablenpc "#arena_ss_3"; + enablenpc "#arena_ss_4"; + } + donpcevent "npctime#arena::OnStart"; + mes "[Givu]"; + mes "Thank you."; + close; + case 2: + mes "[Givu]"; + mes "Would you like to consider a little longer?"; + close; + } + } + case 4: + mes "[Givu]"; + mes "Let me check "+strcharinfo(0)+"'s current arena points."; + next; + mes "[Givu]"; + mes ""+strcharinfo(0)+" has total ^3131FF"+arena_point+"^000000 points."; + close; } - -OnInit: - set $arenapic,0; - end; } prt_are_in,1,1,5 script #arena_1039 1039,{ @@ -828,7 +755,6 @@ OnKis: emotion e_kis,0; end; } - prt_are_in,1,1,5 duplicate(#arena_1039) #arena_6969 714 prt_are_in,94,26,5 duplicate(#arena_1039) #arena_ss_2 714 prt_are_in,100,28,3 duplicate(#arena_1039) #arena_ss_3 714 @@ -843,7 +769,6 @@ prt_are_in,1,1,5 duplicate(#arena_1039) #arena_1159 1159 prt_are_in,1,1,5 duplicate(#arena_1039) #arena_7777 811 - script npctime#arena -1,{ - OnStop: stopnpctimer; end; @@ -874,9 +799,8 @@ OnTimer9000: OnTimer10000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnHeart"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnHeart"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnHeart"; donpcevent "#arena_ss_3::OnHeart"; donpcevent "#arena_ss_4::OnHeart"; @@ -901,9 +825,8 @@ OnTimer19000: OnTimer20000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnSci"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnSci"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnSci"; donpcevent "#arena_ss_3::OnSci"; donpcevent "#arena_ss_4::OnSci"; @@ -928,9 +851,8 @@ OnTimer29000: OnTimer30000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnBest"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnBest"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnBest"; donpcevent "#arena_ss_3::OnBest"; donpcevent "#arena_ss_4::OnBest"; @@ -955,9 +877,8 @@ OnTimer39000: OnTimer40000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnOmg"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnOmg"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnOmg"; donpcevent "#arena_ss_3::OnOmg"; donpcevent "#arena_ss_4::OnOmg"; @@ -982,9 +903,8 @@ OnTimer49000: OnTimer50000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnKik"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnKik"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnKik"; donpcevent "#arena_ss_3::OnKik"; donpcevent "#arena_ss_4::OnKik"; @@ -1009,9 +929,8 @@ OnTimer59000: OnTimer60000: mapannounce "prt_are_in"," ",1,0xFFCE00; - donpcevent "#arena_"+$@arenapic+"::OnKis"; - if($@arenapic == 6969) - { + donpcevent "#arena_"+$@arena_picture_id+"::OnKis"; + if ($@arena_picture_id == 6969) { donpcevent "#arena_ss_2::OnKis"; donpcevent "#arena_ss_3::OnKis"; donpcevent "#arena_ss_4::OnKis"; @@ -1020,89 +939,76 @@ OnTimer60000: OnTimer62000: mapannounce "prt_are_in","Time is over. Thank you for using my services.",1,0xFFCE00; - movenpc "#arena_"+$@arenapic+"",1,1; + movenpc "#arena_"+$@arena_picture_id+"",1,1; donpcevent "#arena_1039::OnInit"; - set $arenapic,0; + set $@arena_picture,0; stopnpctimer; end; } sec_in02,72,171,3 script Picture Manager#arena 802,{ - - if (!getgmlevel()) end; - - input .@arena; - if(!.@arena) - { + set .@i, callfunc("F_GM_NPC",1357,0); + if (.@i == -1) { mes "[Picture Manager]"; mes "Command has been canceled."; close; - } - else if(.@arena == 1357) - { + } else if (.@i == 0) { + mes "[Picture Manager]"; + mes "Password is incorrect."; + close; + } else { mes "[Picture Manager]"; mes "Would you like to reset Picture Reward variable to 0?"; next; - switch( select( "Cancel","Yes" ) ) - { - case 1: - mes "[Picture Manager]"; - mes "You have canceled your request."; - close; - - case 2: - mes "[Picture Manager]"; - mes "Picture rewarding reseted."; - set $arenapic,0; - close; + switch(select("Cancel:Yes")) { + case 1: + mes "[Picture Manager]"; + mes "You have canceled your request."; + close; + case 2: + mes "[Picture Manager]"; + mes "Picture rewarding reseted."; + set $@arena_picture,0; + close; } } - mes "[Picture Manager]"; - mes "Password is incorrect."; - close; } sec_in02,76,176,5 script Live Broadcast#arena 802,{ - + callfunc "F_GM_NPC"; mes "[Live Broadcast]"; - mes "Currently there are "+getmapusers("force_1-1")+" people in lvl 50s map."; - mes "Currently there are "+getmapusers("force_2-1")+" people in lvl 60s map."; - mes "Currently there are "+getmapusers("force_3-1")+" people in lvl 70s map."; - mes "Currently there are "+getmapusers("force_4-1")+" people in lvl 80s map."; + mes "Currently there are "+getmapusers("force_1-1")+" people in Lv 50s map."; + mes "Currently there are "+getmapusers("force_2-1")+" people in Lv 60s map."; + mes "Currently there are "+getmapusers("force_3-1")+" people in Lv 70s map."; + mes "Currently there are "+getmapusers("force_4-1")+" people in Lv 80s map."; mes "Currently there are "+getmapusers("force_1-2")+" people in party map."; mes "Currently there are "+getmapusers("arena_room")+" people in the waiting room."; close; } function script Func_Are_Rew { - mes "[Givu]"; mes "Would you like to exchange your arena points with "+getitemname(getarg(0))+"?"; mes "You can exchange ^3131FF"+getarg(2)+" arena points with "+getarg(1)+" "+getitemname(getarg(0))+"^000000."; mes "If you wish to cancel, please enter 0. If you don't, please enter how many ^3131FFtimes^000000 of arena points you wish to spend."; next; input .@reward; - if(!.@reward) - { + if (.@reward == 0) { mes "[Givu]"; mes "You have canceled your request."; close; - - } - else if(.@reward > 1500) - { + } else if (.@reward > 1500) { mes "[Givu]"; mes "You have exceeded the maximum capacity."; close; } - if(arena_point < .@reward * getarg(2)) - { + if (arena_point < .@reward * getarg(2)) { mes "[Givu]"; mes "You do not have enough arena points."; mes "Please check the total amount of arena points you have."; close; } - set arena_point,arena_point - (.@reward * getarg(2)); + set arena_point, arena_point - (.@reward * getarg(2)); getitem getarg(0),.@reward * getarg(1); mes "[Givu]"; mes "Thank you, please come again."; diff --git a/npc/other/auction.txt b/npc/other/auction.txt index 899ed11a3..e26ae6496 100644 --- a/npc/other/auction.txt +++ b/npc/other/auction.txt @@ -4,8 +4,8 @@ //= L0ne_W0lf //===== Current Version: ===================================== //= 1.3 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Auction house releated NPCs, and warps //===== Additional Comments: ================================= //= 1.0 First version, place holders only. [L0ne_W0lf] @@ -44,7 +44,7 @@ function script F_AuctionWarper { mes "Great! Well then,"; mes "I hope you have fun"; mes "and enjoy the auction~"; - }else{ + } else { mes "[Auction Hall Guide]"; mes "Enjoy your auction."; } diff --git a/npc/other/books.txt b/npc/other/books.txt index f9ad768a5..aa32a6520 100644 --- a/npc/other/books.txt +++ b/npc/other/books.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.1 //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Various Books found in Prontera Library //===== Additional Comments: ================================= //= 1.0 First Version, rescripted to Aegis 10.3 standard. [L0ne_W0lf] diff --git a/npc/other/bulletin_boards.txt b/npc/other/bulletin_boards.txt index 7f2a46de3..2004609d8 100644 --- a/npc/other/bulletin_boards.txt +++ b/npc/other/bulletin_boards.txt @@ -1,12 +1,14 @@ //===== Hercules Script ====================================== -//= Official scripts for beginners from iRO +//= Bulletin Boards //===== By: ================================================== //= MasterOfMuppets //===== Current Version: ===================================== -//= 1.8 +//= 1.9 +//===== Description: ========================================= +//= Bulletin Boards for beginners. //===== Additional Comments: ================================= //= 1.0 Added Alberta, Prontera, Izlude, Payon, Byalan Island, -//= Archer Village, Payon Cave and Coal Mine +//= Archer Village, Payon Cave and Coal Mine //= 1.1 Geffen, Orc Dungeon //= 1.2 Added 5 more Boards [MasterOfMuppets] //= 1.3 Fixed spelling mistakes. [Nexon] @@ -16,8 +18,9 @@ //= 1.5a Fixed a small screw up with the color codes in the Glastheim BB [MasterOfMuppets] //= 1.5b Fixed another small screw up with the color codes in the Glastheim BB [Kayla] //= 1.6 Removed Duplicates [Silent] -//= 1.7 Updated MOrroc NPCs to reflect episode 12.1 changes. [L0ne_W0lf] +//= 1.7 Updated Morroc NPCs to reflect episode 12.1 changes. [L0ne_W0lf] //= 1.8 Updated Payon Cave Bulletion Board Locations. [Masao] +//= 1.9 Moved Izlude NPC to Pre-RE path. [Euphy] //============================================================ alberta,111,59,5 script Bulletin Board#1 837,{ @@ -91,23 +94,7 @@ izlu2dun,104,92,5 script Bulletin Board#4 837,{ mes "With a few exceptions, most of the monsters in this dungeon are of the Water attribute. Therefore, a Wind attribute weapon will help you greatly"; close; } - -izlude,131,116,4 script Bulletin Board#5 837,{ - mes "[Izlude: The Satellite City]"; - mes "Welcome to Izlude, the satellite of Prontera. Izlude was built to support Prontera's defense and to accommodate its burgeoning population"; - next; - mes "[Izlude: The Satellite City]"; - mes "Points of interest include the Swordsman Association building which allows adventurers to change their job to Swordsman, and the Battle Area that is North of Izlude."; - next; - mes "[Izlude: The Satellite City]"; - mes "At the docks, you may take a ship and travel to ^123972Alberta^000000 or ^2F0400Byalan Island^000000."; - next; - mes "[Izlude: The Satellite City]"; - mes "From Izlude, ^6D6FE0Prontera^000000 is located to the Northwest, and ^1F3A11Payon^000000 is located to the South."; - mes "Enjoy your travels in the Rune-Midgarts Kingdom."; - close; -} - + payon,178,108,5 script Bulletin Board#06 837,{ mes "[Payon: The Mountain City]"; mes "Welcome to Payon, the mountain city. Payon has recently been renovated, so we hope you enjoy the clean, nice streets and buildings."; @@ -129,7 +116,7 @@ payon,178,108,5 script Bulletin Board#06 837,{ mes "Enjoy your travels."; close; } - + pay_arche,79,31,5 script Bulletin Board#07 837,{ mes "[Archer Village]"; mes "Welcome to the Payon Archer Village where Novices can change their jobs to Archer."; @@ -151,7 +138,7 @@ pay_arche,39,134,5 script Bulletin Board#08 837,{ mes "In the fifth level, there is a pretty, yet dreadful boss monster known as ^6B1312Moonlight^000000 that spawns at certain times. Approach with extreme caution."; close; } - + prontera,148,49,5 script Bulletin Board#09 837,{ mes "[Prontera: Capital of the]"; mes "[Rune-Midgards Kingdom]"; @@ -180,7 +167,7 @@ prontera,148,49,5 script Bulletin Board#09 837,{ mes "[Prontera: Capital of the]"; mes "[Rune-Midgards Kingdom]"; mes "From Prontera, ^5E5C69Izlude^000000 is located to the Southeast, ^1F3A11Payon^000000 to the far South, ^683C1FGeffen^000000 to the far West and ^2D3832Al De Baran^000000 to the far North."; - mes "Enjoy Your time in Prontera."; + mes "Enjoy your time in Prontera."; close; } @@ -463,7 +450,6 @@ moc_fild19,107,101,5 script Bulletin Board#20 837,{ } gef_tower,55,142,5 script Bulletin Board#21 837,{ - mes "[Geffen Dungeon]"; mes "^6B1312Caution!^000000"; mes "Geffen dungeon is consisted of 3 levels"; @@ -481,7 +467,6 @@ gef_tower,55,142,5 script Bulletin Board#21 837,{ } xmas_fild01,75,80,5 script Bulletin Board#22 837,{ - mes "[Winter Town, Lutie]"; mes "Welcome to Lutie, the town of snowfall."; mes "Manufacturing toys in the toy factory is the main"; @@ -497,7 +482,6 @@ xmas_fild01,75,80,5 script Bulletin Board#22 837,{ } xmas,147,311,5 script Bulletin Board#23 837,{ - mes "[Toy Factory]"; mes "^6B1312Caution!^000000"; mes "Toy Factory is consisting of 2 levels."; @@ -513,7 +497,6 @@ xmas,147,311,5 script Bulletin Board#23 837,{ } yuno_fild03,37,143,5 script Bulletin Board#24 837,{ - mes "[The Magma Dungeon, Nogg Road]"; mes "^6B1312Caution!^000000"; mes "Nogg Road is filled with very dangerous creatures."; @@ -527,7 +510,6 @@ yuno_fild03,37,143,5 script Bulletin Board#24 837,{ } niflheim,200,191,5 script Bulletin Board#25 837,{ - mes "[City of the Dead, Nifflheim]"; mes "Welcome to Nifflheim, the City of the Dead."; mes "Nifflheim was known as the other world where"; @@ -553,7 +535,6 @@ niflheim,200,191,5 script Bulletin Board#25 837,{ /* moc_fild15,267,264,5 script Bulletin Board#26 837,{ - mes "[Ant Hell]"; mes "^6B1312Caution!^000000"; mes "Ant Hell is consisting of 2 levels."; @@ -570,7 +551,6 @@ moc_fild15,267,264,5 script Bulletin Board#26 837,{ */ moc_ruins,61,164,5 script Bulletin Board#27 837,{ - mes "[Pyramids]"; mes "^6B1312Caution!^000000"; mes "Pyramids is consisting of total 7 levels as 4 levels on the earth and the rest under the ground."; @@ -584,7 +564,6 @@ moc_ruins,61,164,5 script Bulletin Board#27 837,{ } glast_01,369,308,5 script Bulletin Board#28 837,{ - mes "[Glast Heim]"; mes "Glast Heim is an enormous dungeon with countless levels."; mes "This dungeon is definately not for new or experienced adventurers"; diff --git a/npc/other/card_trader.txt b/npc/other/card_trader.txt index c89bc8518..068b0644f 100644 --- a/npc/other/card_trader.txt +++ b/npc/other/card_trader.txt @@ -1,18 +1,18 @@ //===== Hercules Script ====================================== //= Card Trader -//===== By: ================================================== +//===== By: ================================================== //= Elias (og2) -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.4 -//===== Description: ========================================= +//===== Description: ========================================= //= Card and Points Trader -//===== Additional Comments: ================================= -//= v1.0 Translated from the Official [Elias] -//= v1.1 Fixed variables and optimized script [Elias] -//= v1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) -//= v1.3 Optimized: reduced from 123kb to 7kb! [Euphy] -//= v1.4 Variables don't need to load OnInit. [Euphy] -//============================================================ +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official [Elias] +//= 1.1 Fixed variables and optimized script [Elias] +//= 1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) +//= 1.3 Optimized: reduced from 123kb to 7kb! [Euphy] +//= 1.4 Variables don't need to load OnInit. [Euphy] +//============================================================ prontera,115,90,0 script Putty 90,{ if (!.card[1]) { @@ -193,4 +193,4 @@ prontera,115,90,0 script Putty 90,{ break; } close; -} +}
\ No newline at end of file diff --git a/npc/other/comodo_gambling.txt b/npc/other/comodo_gambling.txt index 8a300253c..54991dcd8 100644 --- a/npc/other/comodo_gambling.txt +++ b/npc/other/comodo_gambling.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Reddozen, Cypress, Zefris //===== Current Version: ===================================== -//= 1.4 +//= 1.4a //===== Description: ========================================= //= Comodo Gambling: Win random Items with 3 Carat Diamonds. //===== Additional Comments: ================================= @@ -21,10 +21,15 @@ //= 1.2 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 1.3 Added missing item. [Kisuka] //= 1.4 Updated Script to match AEGIS file. [Masao] -//============================================================ +//= 1.4a Minor script updates. [Euphy] +//============================================================ comodo,219,158,6 script Kachua 91,{ + if (checkweight(1201,1) == 0) { + mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000"; + close; + } cutin "katsua01.bmp",2; mes "[Kachua]"; @@ -45,7 +50,7 @@ comodo,219,158,6 script Kachua 91,{ cutin "katsua01.bmp",255; end; } - + if (countitem(732) == 0) { cutin "katsua01.bmp",255; cutin "katsua03.bmp",2; @@ -57,7 +62,7 @@ comodo,219,158,6 script Kachua 91,{ cutin "katsua03.bmp",255; end; } - + mes "[Kachua]"; mes "Are you sure you don't mind"; mes "giving this to me? Thank you"; @@ -67,7 +72,7 @@ comodo,219,158,6 script Kachua 91,{ mes "collections~"; next; - if (Weight >= MaxWeight/2) { + if (MaxWeight - Weight < 5500) { cutin "katsua01.bmp",255; cutin "katsua03.bmp",2; mes "[Kachua]"; @@ -79,21 +84,21 @@ comodo,219,158,6 script Kachua 91,{ cutin "katsua03.bmp",255; end; } - + if (countitem(732) == 0) { // anti-hack logmes "Hack: Tried to bypass item check."; cutin "katsua01.bmp",255; close; } delitem 732,1; - + mes "[Kachua]"; mes "So what would"; mes "you like to have?"; next; - + switch (select("Weapon", "Armor", "Garment", "Helmet", "Shoes", "Shield")) { - + case 1: // Weapons set .@gamble1,rand(1,1000); if ((.@gamble1 > 920) && (.@gamble1 < 931)) { @@ -486,9 +491,7 @@ comodo,210,154,2 script Suspicious Guy#cmd 118,{ mjolnir_02,85,362,3 script Blacksmith Miner 726,{ - if(checkweight(1201,1) == 0) - { - mes "[Kachua]"; + if (checkweight(1201,1) == 0) { mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000"; close; } @@ -501,7 +504,7 @@ mjolnir_02,85,362,3 script Blacksmith Miner 726,{ mes "thousands of Diamonds,"; mes "all of them mine!"; mes "I'm rich!"; - emotion 18; + emotion e_heh; next; switch(select("I want to buy some.:Congratulations.")){ case 1: @@ -569,4 +572,4 @@ mjolnir_02,85,362,3 script Blacksmith Miner 726,{ mes "you at a cheap price."; close; } -} +}
\ No newline at end of file diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index 1511a68b2..571660f1b 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -1,26 +1,26 @@ -//===== Hercules Script ====================================== +//===== Hercules Script ====================================== //= Divorcing Deviruchi -//===== By: ================================================== +//===== By: ================================================== //= Perkka, Scriptor, LightFighter //= L0ne_W0lf -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.5 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Official Divorce script. //= Added isloggedin() check, even though Aegis doesn't do it; //= should be able to divorce even when the spouse is not online. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= Both players should be online to get divorced //= Fixed menu [Lupus] //= 1.1 Added check if the patner's online, added effects [Lupus] //= 1.2 Updated to Aegis 10.3 standards. [L0ne_W0lf] //= 1.2a Commented out check of 'wedding_sign' to let -//= old married players divorcing, optimized, fixed a bug [Lupus] +//= old married players divorcing, optimized, fixed a bug [Lupus] //= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf] //= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf] //= 1.5 Replaced effect numerics with constants. [L0ne_W0lf] -//============================================================ +//============================================================ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "[Deviruchi]"; @@ -42,7 +42,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ if (!getpartnerid()) { mes "Bwah hah hah~!"; mes "That look in your eyes~!"; - if (sex) { + if (Sex) { mes "Those are definitely the eyes"; mes "of a lonely male bachelor."; mes "I'm almost 100 percent sure"; @@ -74,7 +74,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "I sense that you carry a"; mes "tiresome burden..."; mes "If I'm not wrong, you're"; - if (sex) + if (Sex) mes "a married man, aren't you?"; else mes "a married woman, aren't you?"; @@ -97,7 +97,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "At the end of the day, you and"; mes "your partner fight, and you feel"; mes "totally totally miserable."; - if (sex) + if (Sex) mes "...all because of HER."; else mes "...all because of HIM."; @@ -121,7 +121,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "[Deviruchi]"; mes "*whispers*"; mes "^555555It's not like you're breaking^000000"; - if (sex) { + if (Sex) { mes "^555555any promises, and it's not"; mes "like your wife will care if she"; mes "doesn't know... Don't you"; @@ -169,7 +169,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "[Deviruchi]"; mes "I understand. But if you think"; mes "about anything, think about"; - if (sex) { + if (Sex) { mes "your wife's nagging, and"; mes "how great it would be to"; mes "finally free yourself of the"; @@ -194,7 +194,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ specialeffect EF_MAGICROD; specialeffect2 EF_DEVIL; set wedding_sign,0; - set zeny,zeny-2500000; + set Zeny, Zeny-2500000; percentheal -100,-100; divorce; mes "[Deviruchi]"; diff --git a/npc/other/fortune.txt b/npc/other/fortune.txt index 485273f25..946b40756 100644 --- a/npc/other/fortune.txt +++ b/npc/other/fortune.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.0 //===== Description: ========================================= -//= [Aegis conversion] +//= [Official Conversion] //= Fortune teller NPC. Displays random Card image. //===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] @@ -45,7 +45,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ else { mes "[Lhimetorra]"; mes "I accept your heart and your devotion with my gratitude. Thoughts are more important than the amount when paying a fortune teller."; - set zeny,zeny-.@input; + set Zeny, Zeny-.@input; } next; mes "[Lhimetorra]"; @@ -66,7 +66,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; set .@card_1_love,rand(1,74); if (.@card_1_love == 1) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " You are afraid to show yourself working, to your loved one.. "; mes " But that is not love. Do not be afraid to show different sides of yourself to your loved one.. "; @@ -76,7 +76,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 2) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Maybe you are using love as an excuse to work? The card is saying to try observing love from a different perspective. "; next; @@ -85,7 +85,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 3) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " How about taking a break from love and giving yourself time to relax.. I agree with what the card is saying. "; next; @@ -94,7 +94,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 4) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " A shovel..? "; next; @@ -107,7 +107,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 5) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Its pure eyes look at a loved one but cannot recognize them, the wings flutter towards the loved one, but it helplessly stays in one place, "; mes " it calls its loved one, but they cannot hear.. "; @@ -118,7 +118,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 6) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The passion of love like a raging wave... You can't even hide it. "; mes " With such passionate love, isn't there only one way..? "; @@ -128,13 +128,13 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 7) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The teeth of dustiness are very strong. This means.. use your teeth for victory?! "; next; } if (.@card_1_love == 8) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The card is telling me, 'Fly to your loved one as if you were a butterfly and shoot at it as if you were a star.' "; mes "..even though it doesn't sound like something a moth would say. "; @@ -144,7 +144,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 9) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Perhaps the person you believe to be a butterfly is actually a moth. This fortune is awaiting a prudent judgement. "; next; @@ -153,7 +153,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 10) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " The one you love will give you a kiss of death. "; mes " The irresistable kiss.. It is up to you to decide whether to avoid it or not. "; @@ -163,7 +163,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 11) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " You are looking at a wonderful person, but their eyes are fixed in darkness. "; mes " How about trying to grab their attention? "; @@ -173,7 +173,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 12) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Your love needs fresh blood. Healthy exercises and eating habits are necessary! "; mes " You must change your living pattern first. "; @@ -183,7 +183,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 13) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Don't you think you are infatuated by outer appearance and gambling with love? You might have to be more careful about it this time. "; next; @@ -192,13 +192,13 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 14) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Become a pirate of love! It is a simple, yet strong fortune! "; next; } if (.@card_1_love == 15) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " No matter how romantic and beautiful love is, if it is not rightful, it is undesirable.. "; mes " is what this card means. "; @@ -208,7 +208,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 16) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " In the rough sea called the world, only pirates, the outlaws of love, are the law. "; mes " This card supports strong love. "; @@ -218,7 +218,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 17) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " It is a warning not to get involved in false love like pirated editions! "; mes " You may have to reconsider your love right now. "; @@ -228,7 +228,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 18) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " This is praising the type of love that is always there, yet barely has a form as if it does not exist. "; mes " Are you involved this type of love? "; @@ -238,7 +238,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 19) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " You must be careful. Love is quietly approaching and spreading poison. Be careful of the poison of love. "; next; @@ -247,7 +247,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 20) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " Aren't you already caught in love that you cannot run away from? Look around you. "; mes " You might be captured inside invisible walls. "; @@ -257,7 +257,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 21) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " This fortune is saying that love is.. approaching wobbly and softly~ and then bam~ embracing it. "; mes " Very romantic. Hehe. "; @@ -267,7 +267,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 22) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marina Card mes "[Lhimetorra]"; mes " This card is warning you to not treat your loved one like a puppet. "; mes " You're not doing this, are you? "; @@ -277,7 +277,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 23) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marina Card mes "[Lhimetorra]"; mes " Dolls understand a human's heart more than a human. Try treating your loved one as if they were a doll. "; next; @@ -286,7 +286,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 24) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marina Card mes "[Lhimetorra]"; mes " If you are afraid to look into a doll's eyes, that is because there is a dark shadow covering your love. "; mes " Rid yourselves of that shadow. Then the doll will smile as well. "; @@ -296,7 +296,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 25) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marina Card mes "[Lhimetorra]"; mes " Dolls become accustomed to the owner the more they are handled. Give your doll more attention. "; mes " The doll is craving attention. A lot of attention. "; @@ -306,7 +306,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 26) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " Do you fear the snake hair of a Medusa? However, love cannot be achieved with fear. "; mes " You must move forward! "; @@ -316,7 +316,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 27) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " Warriors that hastily attacked the Medusa all failed, but the one hero that used a mirror succeeded. "; mes " You cannot succeed in love with brute force. You must use wisdom. "; @@ -326,7 +326,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 28) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " Must you love the one that has hair of snakes? Reconsider this love and think about it earnestly. "; next; @@ -335,7 +335,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 29) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " It is a hint saying that a strong hairstyle is the key to turning over the situation. Change your hairstyle! "; next; @@ -344,7 +344,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 30) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " Love must have two things: great strength and the will to live. Have you thought about whether or not you can overcome this with your current self? "; next; @@ -353,7 +353,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 31) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " A scythe may seem burdensome but a strong Baphomet can freely use it. "; mes " It is the same concept. If you are ready, any type of love is possible. There is no such thing as impossible. "; @@ -363,7 +363,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 32) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " Love must have two things: great strength and the will to live. Have you thought about whether or not you can overcome this with your current self? "; next; @@ -372,7 +372,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 33) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " There are those who are born, destined to run into this wall, an obstacle. Your love seems to have reached that wall.. It must be hard. "; next; @@ -381,7 +381,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 34) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " This Baphomet looks as if it is having a hard time. The person must be exhausted even if it may not seem so. "; next; @@ -390,7 +390,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 35) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " Can't you hear the cry of the card? It is suffering. Love is like that.. "; next; @@ -399,7 +399,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 36) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " Your love right now is so bored that it is yawning. How about trying something fresh and new? "; next; @@ -408,7 +408,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 37) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " Deep sleep brings happiness and dreams. I think what you need right now is sleep. "; next; @@ -417,7 +417,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 38) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " I feel some sort of emptiness.. Maybe there is a gap in your love? "; next; @@ -426,7 +426,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 39) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Even a traditional beauty can seem cold to others. Try looking at your loved one from a different point of view. "; next; @@ -435,7 +435,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 40) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " They may seem dreary and ominous but their attire is spotless. They show devotion to the other. "; mes " Even though you are not satisfied with your love right now, take a look at their attire. "; @@ -445,7 +445,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 41) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " There is a person you must not deal with thoughtlessly nearby. Don't say or do anything carelessly. You must be careful when dealing with this person. "; next; @@ -454,7 +454,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 42) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Even if the wind blows and the trail of her clothes flutter, her posture never changes. Loving a person with that type of heart will bring goodwill and happiness. "; next; @@ -463,7 +463,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 43) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " That lightens and attacks with a pickaxe! You must aggressively move forward. What do you think? Your fortune is a good one. "; next; @@ -472,7 +472,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 44) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The card only shows gaunt bones, but notice how it has all the necessary tools?"; mes " Even though your love right now may seem as if there is nothing to it, it has everything you need. "; @@ -482,7 +482,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 45) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " It has a lantern on its back and even in its hand.. it believes one light is insufficient. "; mes " If you are only shining one type of light to your loved one, shining another might help. "; @@ -492,7 +492,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 46) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " You know the smile of Mona Lisa.. Perhaps the person you are looking at has the same expression? "; next; @@ -501,7 +501,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 47) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " A knight on a horse is a fantasy in every person's heart. Make it so that this fantasy becomes real. "; next; @@ -510,7 +510,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 48) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Is that soldier waiting to attack? I can feel great tension between the horse and knight. "; mes " Don't run forward carelessly. Raise your sword and wait for your chance. "; @@ -520,7 +520,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 49) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " He is falling asleep awaiting a battle. Is it because he is laid back, or simply pathetic? Depends on the situation I suppose. "; mes " But you've got to give him credit for his boldness. "; @@ -530,7 +530,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 50) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Very favorable. It's to a point that I can feel strong energy from the card. I will give some of this energy to you. "; next; @@ -539,7 +539,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 51) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " What does the god of death have to say about love? It is something ominous for sure. "; next; @@ -548,7 +548,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 52) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " Hmm. How about giving a cute puppy as a gift? One with a round nose. Then they will surely be happy. "; next; @@ -557,7 +557,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 53) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " I can tell what it was doing from the way it is crying while holding an axe with blood. It is deeply wounded by love. "; next; @@ -566,7 +566,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 54) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The pattern of the clothes symbolizes a warning. It is saying to be careful of love. "; next; @@ -575,7 +575,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 55) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " He is a warning you not to drool over someone else. "; next; @@ -584,7 +584,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 56) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " Who is he so fiercly gazing at with those grand muscles? He is looking at someone else for sure. "; next; @@ -593,7 +593,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 57) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " Strengthen your body and observe the target. That is the step to success. "; next; @@ -602,7 +602,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 58) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " His navel is very pretty. You have to meet someone with that type of navel to be happy. "; next; @@ -611,7 +611,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 59) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " You'll get hurt if you mess around. This card is giving you a piece of advice. "; next; @@ -620,7 +620,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 60) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " From the way he is massaging its back because of a shoulder cramp, maybe your love is seeking someone to massage them. Love starts from little thoughts."; next; @@ -629,7 +629,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 61) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " His expression is in awe. When encountering an absurd incident, his face and expression becomes peculiarly distorted. "; mes " I think the one you are looking towards has that type of expression. "; @@ -639,13 +639,13 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 62) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " If the lover does something wrong he pokes them with a needle. How scary.. "; next; } if (.@card_1_love == 63) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " A person's heart is like this card. If you flip it over nobody can tell what is behind it. Try turning the person's card over. "; next; @@ -654,7 +654,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 64) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Jokers are sly, but that is just because it is their habit. "; mes " The reason the person may seem capricious or cunning is partially because they are born like that. "; @@ -664,7 +664,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 65) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " The joker can't use any of his strength because he is tied to a card. Perhaps the person is caught in something and can't show their true merit? "; next; @@ -673,7 +673,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 66) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Don't get fooled by tricks. They are a person, too. They know how to lie once in a while. Search for the trick calmly and carefully. "; next; @@ -682,7 +682,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 67) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " It is saying that daring action is necessary, such as that of the Hode that strikes up from the sand. "; next; @@ -691,7 +691,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 68) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Seeing that the Hode spits out sand to those who bother them, you must have done something to bother the person somehow. "; next; @@ -700,7 +700,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 69) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Hode has a very strong will to live. It is to survive in the forest. It is suggesting dating with that kind of will."; next; @@ -709,7 +709,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 70) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Ah.. there is a noble person up north. North it is. This direction will never change. "; next; @@ -718,7 +718,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 71) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " A walking bull is rare. The person you are looking towards is that rare. Don't let go of them. You may never see them again.. "; next; @@ -727,7 +727,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 72) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Can you see the strong muscles that even arrows cannot pierce? The person is like that, too. "; next; @@ -736,7 +736,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 73) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " The scariest thing is not the hammer nor horn. It is the massive legs that support its heavy weight. Nobody can survive a hit by those legs. The person is also probably hiding the most dangerous part. "; next; @@ -745,7 +745,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_love == 74) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " No matter how fearful the bull may be, if it has a nose ring, it has already been tamed by humans. No matter how astonishing that person may be, taming is your responsibility. "; next; @@ -756,7 +756,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ mes "[Lhimetorra]"; mes " You seeked advice about love. "; mes " Even if you may not pleased with it, consider it calmly and make an effort to find true happiness. "; - cutin "°¡À̾ƽºÄ«µå",255; + cutin "°¡À̾ƽºÄ«µå",255; // Giearth Card next; mes "[Lhimetorra]"; mes " Then... "; @@ -768,7 +768,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; set .@card_1_money,rand(1,73); if (.@card_1_money == 1) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " You must work hard to become wealthy. Don't think of other things.. Focus on and put effort into achieving your goals. "; next; @@ -777,7 +777,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 2) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Something very rare may come your way. A gold mine has been the dream of many since ancient times. You have a gold mine right in front of you. "; next; @@ -786,7 +786,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 3) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " In the stomach pocket, there must be a secret treasure. There may be something in your pocket as well. "; next; @@ -795,7 +795,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 4) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " The card says that you should not be too greedy, for that may cause you to dig your own grave. "; next; @@ -804,7 +804,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 5) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Did you know that a moth's wings has infinite amounts of powder on it? A moth symbolizes wealth in the sense that it can gather wealth just as the powder on its wings. "; next; @@ -813,7 +813,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 6) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " You must work hard to become wealthy. Don't think of other things. Simply focusing on your goals putting effort into it will help. "; next; @@ -822,7 +822,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 7) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " There is a common saying that when a moth flaps its wings, wealth will fly away as well. It's not a very good sign. "; next; @@ -831,7 +831,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 8) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Dustiness teeth are very strong. This means.. "; next; @@ -840,7 +840,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 9) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " When a dustiness flies around, a big expense comes up. You may need to spend some money soon. "; next; @@ -849,7 +849,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 10) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula brings in money. Maybe it is the moral influence from when it was a count. It is expensive to be a vampire, but I've never seen a poor one before. "; next; @@ -858,7 +858,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 11) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " To Dracula, money is not important. Blood is more valuable. To you, money must not be that important. You don't need to be concerned about money. "; next; @@ -867,7 +867,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 12) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula mocks human's money. To him it is worthless. "; next; @@ -876,7 +876,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 13) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " No matter what, stealing is wrong! Even if a Drake blesses you in the name of pirates! Stealing is forbidden! "; next; @@ -885,7 +885,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 14) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " You will gather good fortune in a secretive and peculiar way.. Although, there seems to be shadows over some parts of your life. "; next; @@ -894,7 +894,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 15) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " The reason pirates indulge in others assets in the vast rough ocean, is because it is the only way to let the people of the land know of their existence. "; next; @@ -903,7 +903,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 16) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " Marina prefers clean funds. It hates suspicious money. Your possessions should be clean as well. "; next; @@ -912,7 +912,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 17) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina gathers money quietly, little by little, and freely roaming at the same time. That's the real way to make money. The Marina is suggesting this method to you. "; next; @@ -921,7 +921,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 18) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina is not interested in money. The card suggests that you will resemble these traits as well. You will enjoy life apart from money. "; next; @@ -930,7 +930,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 19) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " You will gather money swiftly and quietly, then boom~ blow it all at once. "; next; @@ -939,7 +939,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 20) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette treasures art over wealth. Bear that in mind. Honor over assets. "; next; @@ -948,7 +948,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 21) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette likes shiny money. Not dull money, but the shiny kind. "; next; @@ -957,7 +957,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 22) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette requires lots of money. Its expenditures are enormous. You must have many expenditures ahead of you. "; next; @@ -966,7 +966,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 23) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette uses a lot of money. There is someone around you that is like that, too. "; next; @@ -975,7 +975,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 24) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The hair of the Medusa symbolizes the amount of wealth. Seems as if something good will happen to you, young one. "; next; @@ -984,7 +984,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 25) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The hair of the Medusa are all snakes. Snakes symbolize greed and slyness. When gathering things, it seems as if a cunning force will join you. It's not exactly a bright sign.. "; next; @@ -993,7 +993,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 26) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa is strongly recommending saving. This card is telling you to save. It says to put many savings accounts in your hair and make yourself resemble its head shape. "; next; @@ -1002,7 +1002,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 28) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa does not enjoy playing with money. If you are attempting to use money other than the way it should be used, you should stop. Why? "; next; @@ -1011,7 +1011,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 29) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The great strength of the Baphomet brings in fortune. It seems as if you will be able to gather much wealth with the aid of the Baphomet's force! "; next; @@ -1020,7 +1020,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 30) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The scythe of the Baphomet means a strong tool to gather wealth. If you have a strong tool like his, it should be easy to gather wealth. "; next; @@ -1029,13 +1029,13 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 31) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " How about getting involved in raising cattle? It seems like you can gather much wealth through it. "; next; } if (.@card_1_money == 32) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet would like a tribute. He is saying that if you do, he will return great benefits. "; next; @@ -1044,7 +1044,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 33) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " The Sandman cries with sadness when money comes up. It is sad because money does not possess love or affection. "; next; @@ -1053,7 +1053,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 34) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " The Sandman is screaming because it saw too much money. It saw the money in the hands of your future. I wonder what all that money is? "; next; @@ -1062,7 +1062,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 35) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " The Sandman's body is empty inside. Your wallet seems to be emtpy, too. You should save up some money. "; next; @@ -1071,7 +1071,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 36) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " Money is like sand. Even if you save it, once the wind blows, it disappears. This card shows the emptiness of money. "; next; @@ -1080,7 +1080,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 37) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee is wearing a fine article. To wear something like that, you would need plenty of money. Do you know what the secret is? Sohee saved very much when she was once alive. "; next; @@ -1089,7 +1089,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 38) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee hates misers. She believes she has become like that because of a miser. Don't be stingy in front of Sohee! "; next; @@ -1098,7 +1098,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 39) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee dislikes the wealthy. They try to gather money, but never use it for others. If you don't want to be cursed by Sohee, you need to learn how to be generous with money. "; next; @@ -1107,7 +1107,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 40) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee likes foreign money. They are cute and pretty. If you have foreign currency, Sohee will love you. "; next; @@ -1116,7 +1116,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 41) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Those who work hard will gather great fortune. The Skeleton says diligent work will help greatly in gathering wealth. "; next; @@ -1125,7 +1125,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 42) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Its youth is gone after a lifetime of chasing after gold. It became a monster with only bones left. No matter how much you like money and your work, look after your life as well. "; next; @@ -1134,7 +1134,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 43) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " To become rich, you must work hard as if you became a skeleton. The Skeleton is saying to work hard until you become a skeleton. "; next; @@ -1143,7 +1143,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 44) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The Skeleton says that you can make money by going north. Go north. "; next; @@ -1152,7 +1152,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 45) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " A knight is a job that requires a lot of money. A hint of a big expense. You might want to tighten your belt. "; next; @@ -1161,7 +1161,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 46) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " Knights do not fight for money. If they did, they would be a mercenary. A knight reaches for something higher. What the knight wants to tell you is the way to live. "; next; @@ -1170,7 +1170,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 47) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " A knight values honor more than fortune. They consider discussing wealth itself dirty not worthy. How would you be able to ask such a knight a fortune about wealth? "; next; @@ -1179,7 +1179,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 48) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " You need to think of an ideal more noble than money. The fortune the knight suggests is this: Knights never speak of ways to make money. "; next; @@ -1188,7 +1188,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 49) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " Working hard is the only way to gather wealth; don't get sidetracked and put effort into working will help your fortune. "; next; @@ -1197,7 +1197,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 50) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " What does the god of death have to say about wealth? It is surely a bad omen. It is trying to warn something. "; next; @@ -1206,7 +1206,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 51) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis is very interested in the sacrifices offered. The offerings he likes are youth and effort. "; next; @@ -1215,7 +1215,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 52) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis is giving a warning of the west. There is a being there that can break away your wealth. "; next; @@ -1224,7 +1224,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 53) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis hates those who try to gather money for his death. He believes it's a waste of money. Don't make the mistake of gathering money for death. "; next; @@ -1233,7 +1233,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 54) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord possesses much wealth. It's because of greed. Greed is essential in collecting money. The desire and greediness to make money is not something to be ashamed about. Be diligent and go make money. "; next; @@ -1242,7 +1242,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 55) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord starts drooling about anything involving money. He targets anybody with money. "; next; @@ -1254,7 +1254,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 56) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " There should be great wealth awaiting in the direction the Orc Lord's horn is pointing. The card is directing towards.. "; next; @@ -1263,7 +1263,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 57) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord likes gold. Of all the treasures, gold is the best. Closely watch gold. "; next; @@ -1272,7 +1272,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 58) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack makes money through jokes. Others' happiness is the key to his wealth. "; next; @@ -1281,7 +1281,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 59) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack likes fun money. He detests sad and burdensome money. "; mes " He always says this. Light-hearted and easy money isn't dangerous even if it piles up. "; @@ -1291,7 +1291,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 60) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack thinks of money as a foolish item. But somehow he makes that kind of money. "; mes " That's why those who are controlled by fools consider the other a fool, too. "; @@ -1302,7 +1302,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 61) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack is asking for money. Don't be stingy about paying those who bring entertainment and fun. "; next; @@ -1311,7 +1311,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 62) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Do you know what a joker's specialty is? It is tricking others and making money. Be wary of the joker. "; next; @@ -1320,7 +1320,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 63) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " The Joker says if you let him borrow money, he will repay you with more. You're going to refuse, right? But the Joker's temptation does not end after one try. "; mes " He will linger around you as a neighbor, or a rare item and ask for money. "; @@ -1330,7 +1330,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 64) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Even if a joker asks for change, never give any to him. He will ask for change, then end up ask for a big sum of money. "; mes " Jokers are like that. They have the ability to turn a small mistake into a big calamity. "; @@ -1340,7 +1340,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 65) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " There is only one reason a Joker requests money.. to take yours. "; mes " His goal is not to become rich. A real foul playful one. "; @@ -1350,7 +1350,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 66) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes do not know about money. They just gobble everything up. But that might be the shortcut to gaining great wealth. "; next; @@ -1359,7 +1359,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 67) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes do not know anything about money. But they do not forgive those who have an eye on their things. "; mes " Not being greedy and taking care of your share is the wisest way to manage your wealth. "; @@ -1369,7 +1369,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 68) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Hode knows nothing about money. But a very rare item drops from a Hode's body. "; mes " It has a treasure in it without knowing. "; @@ -1379,7 +1379,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 69) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes are strong even though they live in the desert. Just because the environment is poor, doesn't mean that you can't gather wealth. "; next; @@ -1388,7 +1388,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 70) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Do you know the saying that says those who work like bulls become rich? Working hard is the best way. "; next; @@ -1397,7 +1397,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 71) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Bulls only know how to work, but the bull itself has a lot to offer. Meat, leather, horn.. "; next; @@ -1406,7 +1406,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 72) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Bulls continue to work even on gloomy days. Then they can gather a lot of things. "; next; @@ -1415,7 +1415,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_money == 73) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Bulls do not like working for money. They are disgruntled when others consider labor as money. "; mes " Shouldn't you reconsider working against your will just for money? "; @@ -1427,7 +1427,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ mes " Most people are curious about money. "; mes " It is a very humanly and common curiosity. Cards are very stingy about fortunes regarding wealth. "; next; - cutin "°¡À̾ƽºÄ«µå",255; + cutin "°¡À̾ƽºÄ«µå",255; // Giearth Card mes "[Lhimetorra]"; mes " Therefore, getting a fortune like this is considered being lucky. Use this fortune to prosper. "; break; @@ -1438,7 +1438,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; set .@card_1_future,rand(1,67); if (.@card_1_future == 1) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Youth is not eternal. At one point when you wake up, you realize you are already a middle-aged worker. "; mes " Even reminiscing about the past over a cup of coffee can't bring back time. "; @@ -1448,7 +1448,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 2) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " This fortune is foreshadowing that you will become a strong and healthy worker in the future. "; mes " Not a normal worker, but one that has great strength and might.. "; @@ -1458,7 +1458,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 3) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Smoking in a mine is an imprudent, life-threatening thing to do. You are wasting your precious life with that kind of behavior. "; next; @@ -1467,7 +1467,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 4) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " You may be shoveling in the future. In a dark dark place, shoveling that requires great strength. You must be careful young one. "; next; @@ -1476,7 +1476,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 5) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The moth is used when it is a caterpillar and ignored after it becomes a moth, by humans. "; mes " Which is better? "; @@ -1486,7 +1486,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 6) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The moth flies around without worrying about the future. It is telling you to fly freely rather than getting anxious about the future.. "; next; @@ -1495,7 +1495,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 7) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Dustiness' teeth are very strong. This means... "; next; @@ -1504,7 +1504,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 8) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The moth says that this is not a time to think about wealth and prosperity. It says that someone important has appeared near you. "; next; @@ -1513,7 +1513,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 9) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Dustiness symbolizes a hazy future. It is similar to your mind right now. It says it is obvious. "; mes " It says that there is no set path in the future. Isn't a relief in a way? "; @@ -1523,7 +1523,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 10) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Sometime in your future, a future like Dracula awaits you. "; next; @@ -1532,7 +1532,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 11) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " If the condition is just right, vampires can live forever. But, when that perfect condition is disrupted, they meet a tragic end. "; next; @@ -1541,7 +1541,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 12) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " The Dracula says to be true to the present. Indeed, thinking and being true to the present is much more important than trying to figure out your future. "; next; @@ -1550,7 +1550,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 13) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " Pirates do not have a future. That doesn't mean you do not have one. But.. you simply need to make more prudent decisions. "; next; @@ -1559,7 +1559,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 14) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " In this world, being a pirate out in the rough seas is very dangerous. But, they do not regret their decisions. "; next; @@ -1568,7 +1568,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 15) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " Pirates are remembered as pirates even after they pass away. A person's name is beyond the matter of life and death. "; next; @@ -1577,7 +1577,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 16) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina does not think of its future.. But I can tell you one thing. Survival. The Marina only thinks about survival and life. "; next; @@ -1586,7 +1586,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 17) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina doesn't think of its future.. but I can tell you one thing. Freedom. The Marina swims freely. "; next; @@ -1595,7 +1595,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 18) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " Leave your future to the Marina. The Marina treasures its precious ocean. The sea will be of great significance in your future, too. "; next; @@ -1604,7 +1604,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 19) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " A Marionette is a Marionette forever. Its past and future never changes. Its present is its future. Don't you think it is rather sad? "; next; @@ -1613,7 +1613,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 20) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " A Marionette is restrained but it has hope that it will be freed one day. "; next; @@ -1622,7 +1622,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 21) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The eyes of a Marionette symbolize 'challenge.' Challenge will mean a lot in your future. "; next; @@ -1631,7 +1631,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 22) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette believes the present is more important than the future. Basically, asking about the future is pointless. "; next; @@ -1640,7 +1640,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 23) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa symbolizes the absolute one who accepts everyone's challenge. Your future will be in a position that is challenged by many. "; next; @@ -1649,7 +1649,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 24) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa symbolizes the absolute one who accepts everyone's challenge. Your future must be filled with challenges! "; next; @@ -1658,7 +1658,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 25) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa says that there will be great chaos in the future. Chaos... I'm not sure what type of chaos it means, but it is definitely something that has never happened before. "; next; @@ -1667,7 +1667,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 26) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The hair of the Medusa are sticking up. It is nervous about the big change that is going to happen. A change that even makes the scary Medusa worried. "; next; @@ -1676,7 +1676,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 27) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet doesn't care about a human's future. They simply observe quietly. Hmm... It seems like it has nothing to say about your future as well... "; next; @@ -1685,7 +1685,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 28) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The scythe the Baphomet is holding signifies the strong will to conquer the future. "; mes " What you need is not someone else's help or wisdom, but strong willpower. "; @@ -1695,7 +1695,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 29) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet says that humans have no future. It says that their greed and selfishness shows no hope. "; mes " The future will only open to those that go beyond human's greed. "; @@ -1705,7 +1705,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 30) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet is facing the future. No matter how much effort you put in, without an eye that looks towards the future, it is pointless. "; mes " The Baphomet is telling you to look towards the future. "; @@ -1715,7 +1715,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 31) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " A sand's future is simply sand. Not a rock, nor mud. Some things just don't change young one. "; next; @@ -1724,7 +1724,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 32) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " A sand dune changes its shape even after a day. The Sandman card is speaking of a future with many changes. "; next; @@ -1733,7 +1733,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 33) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " You will have a son in the future. Hmm? What'd you say? No plans for a baby? "; next; @@ -1742,7 +1742,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 34) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " There are rare and precious treasures in the sand. The Sandman says that in the vast sand of the world, a treasure, will be discovered. That treasure is you young one."; next; @@ -1751,7 +1751,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 35) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Do you know what a Sohee thinks the most pitiful thing is? The future. It is because she was not able to live her future. "; mes " That is why you cannot bring up the subject of future in front of Sohee. I'm very sorry I cannot help. "; @@ -1761,7 +1761,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 36) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Even in darkness you will shine for your goal. "; mes " The Skeleton is encouraging you to not lose your light even in a life in dark and damp places. "; @@ -1771,7 +1771,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 37) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The story I heard from the skeleton goes like this. I am the king of the future. What in the world is that supposed to mean? "; next; @@ -1780,7 +1780,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 38) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " If you want to do something great in the future, you must express your thankfulness to the Skeleton. "; mes " Then the Skeleton will help you. How do you express your thankfulness? "; @@ -1791,7 +1791,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 39) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The Skeleton has the ability to dig where it feels the future, rather than looking into it. "; mes " It is digging in the east right now. How about it, won't you try going there? "; @@ -1801,7 +1801,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 40) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " A knight's future leads to death. An honorable death on the battlefield. "; mes " One cannot live as a knight without being proud of that type of future. "; @@ -1812,7 +1812,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 41) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " A knight commenting about a person's future is very rare. "; mes " It says nothing for you in particular. Nothing ominous. "; @@ -1822,7 +1822,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 42) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " A knight commenting about a person's future is very rare. "; mes " It says it will say one thing for you. Dark clouds can be seen beyond the clear skies. "; @@ -1832,7 +1832,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 43) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " It is necessary to reflect upon the past and present in order to look into the future. This card says to look carefully into your past. "; next; @@ -1841,7 +1841,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 44) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " What does the god of death want to say about the future? It is definitely an ominous sign. "; next; @@ -1850,7 +1850,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 45) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis likes comedy despite people's expectations. It looks forward to comedy. Comedy must be important in the future. "; next; @@ -1859,7 +1859,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 46) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis is the god of death, but it expresses more interest in the future than death. "; next; @@ -1868,7 +1868,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 47) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis says it has no interest in you. It is a good sign. "; next; @@ -1877,7 +1877,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 48) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord says that dairy farming will develop in the future. Why don't you invest in it as well? "; next; @@ -1886,7 +1886,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 49) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord says you need great strength in the future. Strength that is three, four times greater than now. "; next; @@ -1895,7 +1895,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 50) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord says that love for your companions will become great strength in the future. "; mes " Your strength is not enough. "; @@ -1905,7 +1905,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 51) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord is expressing opposition in being too curious about the future. "; mes " Pay a little more attention to the present. "; @@ -1915,7 +1915,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 52) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack says something interesting will happen in the future. According to him, the future will be more fun than the present. "; next; @@ -1924,7 +1924,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 53) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack says, in order to prepare for the future, a delightful preparation is necessary. "; mes " Delightful preparation? I don't understand.. I suppose I am too old. Maybe young ones get it.. "; @@ -1934,7 +1934,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 54) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack is jealous because a splendid person is headed your way in the future. "; mes " I wonder what type of person it is to make that Jack jealous! "; @@ -1944,7 +1944,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 56) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack says you may be frustrated in the future. "; mes " He says to overcome the frustration, it is necessary to think of happy thoughts. "; @@ -1954,7 +1954,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 57) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " The Joker is trying to trick you. This card has all different types of ominous fortunes. "; mes " He wants to enjoy watching you tremble with anxiety. "; @@ -1964,7 +1964,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 58) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Jokers don't just appear and go away. They come back in the future. "; mes " They will seduce you numerous times. "; @@ -1975,7 +1975,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 59) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Do you see the thing that looks like a leaf flying around the Joker? That is the spade mark. "; mes " Spades means death. Jokers leave those kinds of marks on purpose. "; @@ -1985,7 +1985,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 60) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Joker offers a nice insurance and says to prepare for the future, but most of it is a waste of time. "; next; @@ -1994,7 +1994,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 61) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes do not know about tomorrow. But though they are quiet, they endanger other living things. "; mes " Effort into oneself puts great power into the mere existence of one. "; @@ -2004,7 +2004,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 62) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes do not know about tomorrow, but they still know about death. "; mes " Even though you may be honest and simple, in a time of a crisis, you must be alert. "; @@ -2014,7 +2014,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 62) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes do not ponder about life, but their will to live is very strong."; mes " You can gain a lot simply through the will to hold on to life. "; @@ -2024,7 +2024,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 63) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " Hodes are afraid of crises. You should try not to be afraid of crises either. "; next; @@ -2033,7 +2033,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 64) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Before, bulls used to be thought of as foolishly honest workers, but these days bulls are great strong fighters. "; next; @@ -2042,7 +2042,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 65) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " Do bulls leave leather when they pass away? Or was it the tiger? "; mes " Anyways, he is jealous of the humans that leave their name in history. "; @@ -2053,7 +2053,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 66) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " It might seem funny that a bull will look into the future, but the bull is looking into your future right now. "; mes " He says your future is mixed with storms and fall weather. "; @@ -2063,7 +2063,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_future == 67) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The bull thinks of the happiness awaiting in the future, but it doesn't like reduced efficiency because of that happiness. "; next; @@ -2076,19 +2076,19 @@ payon_in03,117,128,5 script Fortune Teller 704,{ mes " Speaking of the future is as dangerous act. "; mes " Humans may face disaster if speaking of the future carelessly. That's why we ask cards about the future. "; next; - cutin "°¡À̾ƽºÄ«µå",255; + cutin "°¡À̾ƽºÄ«µå",255; // Giearth Card mes "[Lhimetorra]"; mes " Your fortune is a rather good one. There are some in this world who get more horrible fortunes. "; mes " Use this fortune as a support in your life. Ok? "; break; - //================================================================= Warning === + //=================================================================Warning === case 4: mes "[Lhimetorra]"; mes " Someone that knows of the dangers you do not, will warn you in the form of cards... so listen carefully-! "; next; set .@card_1_warning,rand(1,70); if (.@card_1_warning == 1) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Do you see the forbidden mark on its shoulder? It is telling you to not do something. "; next; @@ -2097,7 +2097,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 2) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " Someone is after you. The person is very strong like the picture. They might be holding grudges against you. "; next; @@ -2106,19 +2106,19 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 3) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " It is saying to be careful not to burn your mustache with a cigarette. When you do something, something is always at risk.. It is probably warning about that. "; next; } if (.@card_1_warning == 4) { - cutin "°¡À̾ƽºÄ«µå",4; + cutin "°¡À̾ƽºÄ«µå",4; // Giearth Card mes "[Lhimetorra]"; mes " 'Be careful of shoveling'.. You might get hit by a shovel. Should you be careful around a construction site? "; next; } if (.@card_1_warning == 5) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The sound of a moth's wings fluttering means chaos. A chaotic event may occur around you. "; next; @@ -2127,7 +2127,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 6) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " Be aware of the wings. Wings symbolize flight, adventure, and fickleness of a player. "; next; @@ -2136,43 +2136,43 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 7) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The teeth of Dustiness are very strong. This means.. Someone may attempt to bite you with their teeth?! "; next; } if (.@card_1_warning == 8) { - cutin "´õ½ºÆ¼³×½ºÄ«µå",4; + cutin "´õ½ºÆ¼³×½ºÄ«µå",4; // Dustiness Card mes "[Lhimetorra]"; mes " The moth's warning: 'Dangerous!'. A very simple, yet obvious warning. "; next; } if (.@card_1_warning == 9) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula says, 'Be careful in the streets at night.' "; next; } if (.@card_1_warning == 10) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula says, 'Don't be too picky.' "; next; } if (.@card_1_warning == 11) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula says, 'Brush your teeth 3 times a day.' Make sure you brush your teeth! "; next; } if (.@card_1_warning == 12) { - cutin "µå¶óÅ¥¶óÄ«µå",4; + cutin "µå¶óÅ¥¶óÄ«µå",4; // Dracula Card mes "[Lhimetorra]"; mes " Dracula says, 'Study the important points first.' Cramming will not work! "; next; } if (.@card_1_warning == 13) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " If you see the flag of a pirate, either run or do as they say. Pirates do not give more than one warning. "; next; @@ -2181,7 +2181,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 14) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " Pirates give warnings about many things. But right now, this card is speaking of betrayal. "; next; @@ -2190,25 +2190,25 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 15) { - cutin "µå·¹ÀÌÅ©Ä«µå",4; + cutin "µå·¹ÀÌÅ©Ä«µå",4; // Drake Card mes "[Lhimetorra]"; mes " The pirate is warning you of your beauty. Don't show off your beauty too much. Pirates are very jealous of appearance, as well. "; next; } if (.@card_1_warning == 16) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina is warning of a hot stinging poison. Be cautious of poison. "; next; } if (.@card_1_warning == 17) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina is warning about a lazy lifestyle. It says such a lifestyle will lead to something like itself. "; next; } if (.@card_1_warning == 18) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina doesn't really think about anything else.. But it will say one thing. Food. The Marina loves food. "; next; @@ -2217,20 +2217,20 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 19) { - cutin "¸¶¸®³ªÄ«µå",4; + cutin "¸¶¸®³ªÄ«µå",4; // Marina Card mes "[Lhimetorra]"; mes " The Marina is warning about a big belly. It's not happy because it resembles itself.. How about losing some weight? "; next; } if (.@card_1_warning == 20) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette says that you must not rely on violence and to use a different method. "; mes " I'm not quite sure, but it may become an important word of advice to you..? "; next; } if (.@card_1_warning == 21) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette is warning about ominous activities. If you did something recently, you should settle it soon. "; next; @@ -2239,7 +2239,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 22) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette's eyes are warning about your falsehood. Lies, deceit, fake calculations and actions.. The Marionette is warning about all of them. "; next; @@ -2248,7 +2248,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 23) { - cutin "¸¶¸®¿À³×Ʈīµå",4; + cutin "¸¶¸®¿À³×Ʈīµå",4; // Marionette Card mes "[Lhimetorra]"; mes " The Marionette is emphasizing a proper diet. Don't rely too much on meat. "; next; @@ -2257,7 +2257,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 24) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa punishes those who challenge it without warning. Unexpected punishment. "; next; @@ -2266,7 +2266,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 25) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa is warning you to be nice to others, or else it will turn you into stone."; next; @@ -2275,7 +2275,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 26) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa is warning you to return anything you borrow on time. "; mes " Saying it will not forgive those who use other's things like a black hole.. borrowing and never returning "; @@ -2285,7 +2285,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 27) { - cutin "¸ÞµÎ»çÄ«µå",4; + cutin "¸ÞµÎ»çÄ«µå",4; // Medusa Card mes "[Lhimetorra]"; mes " The Medusa is warning about a person near you. Of their existence.. and the relationship, "; next; @@ -2294,7 +2294,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 28) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet says to beware when intervening with others' issues. "; next; @@ -2303,7 +2303,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 29) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet is warning about arrogance. Even a strong and wise warrior must show respect to a Baphomet, "; mes " Arrogance takes away that respect. The Baphomet hates that type of arrogance. "; @@ -2313,7 +2313,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 30) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet is warning about the laziness that stops one from sharpening the scythe. "; mes " That laziness will cause you to lose your life in an instant. "; @@ -2323,13 +2323,13 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 31) { - cutin "¹ÙÆ÷¸ÞƮīµå",4; + cutin "¹ÙÆ÷¸ÞƮīµå",4; // Baphomet Card mes "[Lhimetorra]"; mes " The Baphomet says it has nothing to say. I wonder why? Isn't it a very good sign?!! "; next; } if (.@card_1_warning == 32) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " Sand is an instant cure of athlete's foot. He says to beware of athlete's foot and that he hates those rubbing their infected feet into his body. "; next; @@ -2338,7 +2338,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 33) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " A chicken puts sand in its mouth to aid its insufficient digestion system. "; mes " The Sandman says to watch out before you become like a chicken. "; @@ -2348,7 +2348,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 34) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " The Sandman says over-sleepers will be punished by society! "; next; @@ -2357,7 +2357,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 35) { - cutin "»÷µå¸ÇÄ«µå",4; + cutin "»÷µå¸ÇÄ«µå",4; // Sandman Card mes "[Lhimetorra]"; mes " One warning from the Sandman, respect your parents. "; next; @@ -2366,7 +2366,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 36) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee dislikes stinky feet. Don't forget to wash your feet. "; next; @@ -2375,7 +2375,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 37) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Sohee stands on the tip of her toes. It is because her toes are very strong. "; mes " No matter what a person does, physical strength is the most important. Exercise and get stronger. "; @@ -2385,7 +2385,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 38) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Look at Sohee's hairstyle. Isn't it splendid. "; mes " Sohee likes to take care of her appearance. If you don't, Sohee will get mad at you. "; @@ -2396,7 +2396,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 39) { - cutin "¼ÒÈñÄ«µå",4; + cutin "¼ÒÈñÄ«µå",4; // Sohee Card mes "[Lhimetorra]"; mes " Once, Sohee didn't get her change back when she asked a baby ghost to run an errand. "; mes " No can do! Always return the change. "; @@ -2406,7 +2406,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 40) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " Even though it is a skeleton with only bones, it has all the safety gear needed. "; next; @@ -2415,7 +2415,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 41) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The skeleton card has a gray tone. If you read the grey, you can see the darkness. "; mes " It seems like darkness is on its way. Be careful, this darkness isn't ordinary. "; @@ -2425,7 +2425,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 42) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The skeleton is warning you about an irregular eating pattern. "; mes " It says it became like that because of a bad eating habit. "; @@ -2435,7 +2435,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 43) { - cutin "½ºÄÌ¿öÄ¿Ä«µå",4; + cutin "½ºÄÌ¿öÄ¿Ä«µå",4; // Skel Worker Card mes "[Lhimetorra]"; mes " The skeleton's pickaxe is very strong. Even though its body seems weak, with the right tools, it can do great things. "; next; @@ -2444,14 +2444,14 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 44) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " The knight is warning you of reckless driving. Do you ride a Pecopeco by any chance? "; mes " Anyhow, you should avoid reckless driving.. If a knight is saying that, it is a big problem. "; next; } if (.@card_1_warning == 45) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " The knight is warning you of cruelty. It could be yours or that of someone around you. "; next; @@ -2460,7 +2460,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 46) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " The misfortune shown in the knight card is hastiness. That is also what takes away a knight's life, too. "; next; @@ -2470,7 +2470,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 47) { - cutin "½ºÄ̳ªÀÌƮīµå",4; + cutin "½ºÄ̳ªÀÌƮīµå",4; // Khalitzburg Card mes "[Lhimetorra]"; mes " This knight is warning you of loneliness. He doesn't have a person to help his horse, "; mes " nor a lover awaiting him, so loneliness hits him in the heart. "; @@ -2480,7 +2480,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 48) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The warning of the god of death is death itself. "; next; @@ -2489,7 +2489,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 49) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis says to be careful of darkness. In darkness, death lingers in the dark. "; next; @@ -2498,7 +2498,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 50) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis doesn't like foul language. You don't have a foul mouth, do you? "; mes " Watch your mouth. The Anubis is after those that say foul language."; @@ -2508,7 +2508,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 51) { - cutin "¾Æ´©ºñ½ºÄ«µå",4; + cutin "¾Æ´©ºñ½ºÄ«µå",4; // Anubis Card mes "[Lhimetorra]"; mes " The Anubis is warning you of hatred. Hatred only brings upon death. "; mes " The Anubis must not like being busy these days. "; @@ -2518,7 +2518,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 52) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord is warning you of self-righteousness. It is the most dangerous noxious bug that will feed on you. "; next; @@ -2527,7 +2527,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 53) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord is warning you about freedom. Isn't freedom a good thing? "; mes " Not always! Too much freedom can lead to self-indulgence! "; @@ -2537,7 +2537,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 54) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord warning you of the opposite sex. Yes. They are poisonous. Keep your distance. "; next; @@ -2546,7 +2546,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 55) { - cutin "¿ÀÅ©·ÎµåÄ«µå",4; + cutin "¿ÀÅ©·ÎµåÄ«µå",4; // Orc Lord Card mes "[Lhimetorra]"; mes " The Orc Lord is warning about destruction. He knows destruction very well because he is a master of destruction. "; next; @@ -2555,7 +2555,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 56) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack is warning you of lame jokes. When he finds one saying them, he tends to hit them with his stick. "; next; @@ -2564,7 +2564,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 57) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " Jack is warning you about others' anger and that anger takes away happiness and kills a joke. "; next; @@ -2573,7 +2573,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 58) { - cutin "ÀèÄ«µå",4; + cutin "ÀèÄ«µå",4; // Jakk Card mes "[Lhimetorra]"; mes " It seems like Jack is worried about excessive jokes. "; mes " Jokes are fun, but too much will turn you into a ghost like him. "; @@ -2583,7 +2583,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 59) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Jokers enjoy giving opposite warnings. He says to enjoy sleeping in."; next; @@ -2592,7 +2592,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 60) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Jokers enjoy giving opposite warnings. He says to enjoy a midnight snack. "; next; @@ -2601,7 +2601,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 61) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Jokers enjoy giving opposite warnings. "; mes " He says if someone has something you want, make it yours. "; @@ -2611,7 +2611,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 62) { - cutin "Á¶Ä¿Ä«µå",4; + cutin "Á¶Ä¿Ä«µå",4; // Joker Card mes "[Lhimetorra]"; mes " Joker enjoys giving opposite warnings. "; mes " What he is telling you is to not fear death. "; @@ -2621,7 +2621,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 63) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Hode can forgive others, but not those who hurt it. "; mes " You should also only not forgive those who hurt you. "; @@ -2631,7 +2631,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 64) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Hode is warning you of voracious eating that made it sluggish. "; mes " Eating is good, but the wild is a dangerous place. Leave your stomach partially empty. "; @@ -2641,7 +2641,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 65) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Hode is warning you of voracious eating that made it sluggish. "; mes " Eating is good, but the wild is a dangerous place. Leave your stomach partially empty."; @@ -2651,7 +2651,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 66) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " If you are to the point of being warned by a Hode.. you must be one considerable person. "; next; @@ -2660,7 +2660,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 67) { - cutin "È£µåÄ«µå",4; + cutin "È£µåÄ«µå",4; // Hode Card mes "[Lhimetorra]"; mes " The Bull warns of corruption. A lazy hedonist that is not diligent. "; mes " He believes that is like a cancer cell that can't be removed. "; @@ -2670,7 +2670,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 68) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " The bull is warning about ignorance about a crisis. "; mes " Not knowing that a crisis is a crisis is the most dangerous of all. "; @@ -2680,7 +2680,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 69) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " The bull is warning of something that will make life sad. "; mes " Sadness is a natural feeling, but don't let that put you down. "; @@ -2691,7 +2691,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ next; } if (.@card_1_warning == 70) { - cutin "Ȳ¼ÒÄ«µå",4; + cutin "Ȳ¼ÒÄ«µå",4; // Minorous Card mes "[Lhimetorra]"; mes " The bull is warning about meat from watered cows. "; mes " Saying that, that type of behavior will surely bring upon monsters' curses. "; @@ -2703,7 +2703,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ mes "[Lhimetorra]"; mes " A warning is always a useful fortune. You can never lose anything. "; next; - cutin "°¡À̾ƽºÄ«µå",255; + cutin "°¡À̾ƽºÄ«µå",255; // Giearth Card mes "[Lhimetorra]"; mes " I hope you will be able to avoid misfortune with this warning. Then... "; close; @@ -2753,7 +2753,7 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "Nope!"; close; } - set zeny,zeny-1000; + set Zeny, Zeny-1000; mes "[Chocarle]"; mes " Thank you~! Then we shall look into your fortune! "; mes " First, clear your mind! Just like washing when you wash dishes! "; @@ -2770,142 +2770,142 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "[Chocarle]"; set .@card_2_love,rand(1,33); if (.@card_2_love == 1) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Oh! Your lover is about to leave your side! Hold on tight! "; } if (.@card_2_love == 2) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Agh! You're about to give your soul to your loved one! Take it down a notch! "; } if (.@card_2_love == 3) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " No! Your heart is about to leave your love! Catch it! "; } if (.@card_2_love == 4) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Love is like juice in the forest! It is refreshing! Take care of your loved one! "; } if (.@card_2_love == 5) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Uh! You didn't share your juice with your loved one! What a shame! Take care of your loved one! "; } if (.@card_2_love == 6) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Why not share with your loved one? Don't be too greedy and try to keep it all! "; } if (.@card_2_love == 7) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Your love is going to have a crisis! Protect your love! "; } if (.@card_2_love == 8) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Hee! Go after your love like a mole! Puhahaha! "; } if (.@card_2_love == 9) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Oh no! Your love is in danger! Run away from the menace! "; } if (.@card_2_love == 10) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Oh no! You lost your loved one. And, nobody similar around you. Cheer up! "; } if (.@card_2_love == 11) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Ah! A sexy rival has appeared! Don't get sidetracked! "; } if (.@card_2_love == 12) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You are desperately searching for love! If you go beyond this desert, you can find love! "; } if (.@card_2_love == 13) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Prepare an event of love! They will be flying with happiness! "; } if (.@card_2_love == 14) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Love is sweet! Be careful not to get cavities! "; } if (.@card_2_love == 15) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Prepare a present for your love! They might get a heart attack because they will be overwhelmed with happiness! "; } if (.@card_2_love == 16) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Don't be shy in front of your loved one! Love transcends everything! "; } if (.@card_2_love == 17) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Embrace every aspect of your loved one! That is true love! "; } if (.@card_2_love == 18) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Love will blossom with a totally different person! Wow, so cool! "; } if (.@card_2_love == 19) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " No matter what other people say, run towards your loved one! One-track love! "; } if (.@card_2_love == 20) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Go to your loved one with a present! They will be very happy! "; } if (.@card_2_love == 21) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Love requires health and strength! Exercise to become stronger! Power and love! "; } if (.@card_2_love == 22) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Even if you wish to approach your loved one, your body is discomforted! Take a break and rest! "; } if (.@card_2_love == 23) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Love is bending yourself for someone! Service! Sacrifice! "; } if (.@card_2_love == 24) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " You will be meeting your lover's parents! Prepare well! "; } if (.@card_2_love == 25) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Your relationship must be very happy as it seems you two are flying amongst the clouds! Very jealous! "; } if (.@card_2_love == 26) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Make an opportunity to be alone with each other! It will bring much happiness! "; } if (.@card_2_love == 27) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Uh oh! Someone is peeping at your love! Go scold them! "; } if (.@card_2_love == 28) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Love blossoms from the foundation! Be true to the basics! "; } if (.@card_2_love == 29) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " When your loved one is hurt, be by them! They will be very happy! "; } if (.@card_2_love == 30) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " One day, when you wake up, your loved one will leave a present! Be happy! "; } if (.@card_2_love == 31) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Give lots~~ of presents to your loved one! Then you will experience many~ many good things! "; } if (.@card_2_love == 32) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Lean against a wall and await your love! *Boom* Love will appear! "; } if (.@card_2_love == 33) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " You must be lonely! It's ok, cheer up! "; } next; mes "[Chocarle]"; mes " A fortune of love was told! What do you think! Do you like it? "; mes " Even if you did not get the fortune you wished for, don't be do upset and simply go for your love! "; - cutin "°¡À̾ƽºÄ«µå",255; + cutin "°¡À̾ƽºÄ«µå",255; // Giearth Card next; mes "[Chocarle]"; mes " Then, see you next time~~~~~ "; @@ -2918,135 +2918,135 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "[Chocarle]"; set .@card_2_study,rand(1,33); if (.@card_2_study == 1) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Agh! Don't die from studying! Take breaks while you're at it! You need some rest! "; } if (.@card_2_study == 2) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Oh, no! You're missing the main points! Figure out the essentials! "; } if (.@card_2_study == 3) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Mmph! You're dying not to study! At times like this, a break is the best! "; } if (.@card_2_study == 4) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Studying is just like hunting a monster in the desert. Resting for a little is the best. Understand? "; } if (.@card_2_study == 5) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " A nice cup of cold juice under the hot sun! Studying should be done like that, too! "; } if (.@card_2_study == 6) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Even though it is the desert, you seem to have a relaxed smile! Maybe you need to relax like this when studying as well! "; } if (.@card_2_study == 7) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Your grades are in danger! You must study harder! "; } if (.@card_2_study == 8) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " There may be a big crisis! Don't get too stressed just because you can't study! "; } if (.@card_2_study == 9) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " It is saying studying in the dark night can be dangerous! Careful when studying at night! "; } if (.@card_2_study == 10) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Studying came to a strange place! It needs to find its original path! You can do it! "; } if (.@card_2_study == 11) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You're gazing at a smart friend with the eyes of a Poring! Heehee! Doing good! "; } if (.@card_2_study == 12) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Eh? You're too smart! You're at a much higher level than your friends! Take a break! "; } if (.@card_2_study == 13) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " You will be rewarded for your accomplishments! It was worth the effort! "; } if (.@card_2_study == 14) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Forget about studying for a moment and enjoy the party! It should be refreshing~! "; } if (.@card_2_study == 15) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Study something that will make people happy! Future set! "; } if (.@card_2_study == 16) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " If you're not sure of something, ask a friend! It's not something to be ashamed about! You can do it! "; } if (.@card_2_study == 17) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Don't think that your head is empty! Because, you are smart! You can do it! "; } if (.@card_2_study == 18) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " There's a phenomenon you don't understand! Do a little more research! You'll be able to figure it out soon! "; } if (.@card_2_study == 19) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Don't get lazy about studying wherever you go! Seek the road of truth and go down it to find the answer! "; } if (.@card_2_study == 20) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " You need strength to study! Get stronger! Running is a start! "; } if (.@card_2_study == 21) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " You will become an admirable person because of all the effort put into studying! You must feel very worth while! "; } if (.@card_2_study == 22) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Try studying the history of our country! From when the tiger started smoking! "; } if (.@card_2_study == 23) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " You must be having a hard time studying because of all the pressure! Go out and get some fresh air! "; } if (.@card_2_study == 24) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Your head seems to be heavy because of studying! You need a diversion! Put studying aside for a moment! "; } if (.@card_2_study == 25) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Try studying aerospace or meteorology! Don't you think it would be fun? "; } if (.@card_2_study == 26) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " How about studying theology? You even get to study about angels! "; } if (.@card_2_study == 27) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Study little by little and make yourself feel lighter! You can't study if you're overloaded with words! "; } if (.@card_2_study == 28) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " When studying, you should have a snack! It may seem trivial, but it is rather important! "; } if (.@card_2_study == 29) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Even when you are sick, don't forget about studying! Where there is effort, there is bound to be good results! "; } if (.@card_2_study == 30) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Newton discovered gravity through a falling apple! Be wary of even the little things in your surroundings! "; } if (.@card_2_study == 31) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Green is good for studying! Color your walls green or get a green drink! The lucky color! Green! "; } if (.@card_2_study == 32) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " There is a jewel in your mind! You need to bring all the wisdom to life! Don't study bad things! "; } if (.@card_2_study == 33) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " You will receive good results from studying! You can focus on your current studies! "; } next; @@ -3066,135 +3066,135 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "[Chocarle]"; set .@card_2_buddy,rand(1,33); if (.@card_2_buddy == 1) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Ah! Your friend has gone crazy! They need the heal of friendship! "; } if (.@card_2_buddy == 2) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Mmm! You both have gone crazy. You must overcome it through conversations! "; } if (.@card_2_buddy == 3) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Agh! You are suffering because of your friend! Try opening your heart and be more lenient! "; } if (.@card_2_buddy == 4) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " You even split a pea between friends! Don't be so cruel. Reflect upon yourself and apologize! "; } if (.@card_2_buddy == 5) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Oh no! Your friend is ignoring you! Offer a bottle of juice to your friend! Your friendship may come back? "; } if (.@card_2_buddy == 6) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Eh!? What kind of friendship is this?! Hurry up and make up! "; } if (.@card_2_buddy == 7) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes "Oh no?! This person is not your friend, but an enemy! You must be careful! "; } if (.@card_2_buddy == 8) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Your friend is in danger! You must help your friend! "; } if (.@card_2_buddy == 9) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Your friendship is on the verge of falling apart! Cast a shield around your friendship! "; } if (.@card_2_buddy == 10) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " One person is left out amongst your friends! Be more friendly! "; } if (.@card_2_buddy == 11) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Your friend hit you! Don't cry even if it may hurt! Hurry and make up! "; } if (.@card_2_buddy == 12) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You must be alone! It must be hard to make friends! Try putting on a brighter face! "; } if (.@card_2_buddy == 13) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Give your friends a present! Your friendship will become deeper! "; } if (.@card_2_buddy == 14) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Prepare a hat to cover your friend's large head! They will be moved by your care! "; } if (.@card_2_buddy == 15) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " A friend is waiting for you! Be nice to your friend! "; } if (.@card_2_buddy == 16) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Being close friends despite differences is true friendship! Shelter each other's differences! "; } if (.@card_2_buddy == 17) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Your misunderstandings will be removed if you take the time to talk! Go have a conversation with your friend! "; } if (.@card_2_buddy == 18) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " When a friend is sick, visit them! They will be happy! For sure! "; } if (.@card_2_buddy == 19) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Go out and have some fun with your friend! Your friendship will surely get stronger! "; } if (.@card_2_buddy == 20) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Give your friend a present! They'll go bragging around town?! "; } if (.@card_2_buddy == 21) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Share your bone with your friend! Sacrifices in friendship are beautiful! "; } if (.@card_2_buddy == 22) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Do anything for your friend! With all your heart and soul! Your friend will be delighted! "; } if (.@card_2_buddy == 23) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " No smoking, even with a friend! Stop smoking for your health! "; } if (.@card_2_buddy == 24) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " You and your friend will encounter hardships! Combine your powers and overcome it! "; } if (.@card_2_buddy == 25) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Go on a trip with your friend! Friendship can get stronger in new environments! "; } if (.@card_2_buddy == 26) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Give your friend a ride in a plane! They'll probably fly with joy!? "; } if (.@card_2_buddy == 27) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Don't forget your friend in heaven! Friendship is eternal! "; } if (.@card_2_buddy == 28) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Help your friend's scar. Your friend would greatly appreciate it! "; } if (.@card_2_buddy == 29) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " You even split a slice of an apple among friends! Share more things with your friend! Something good will happen! "; } if (.@card_2_buddy == 30) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " When your friend is sleeping, think of them! Then there will be progress in your friendship! What do you think~ it means~?! "; } if (.@card_2_buddy == 31) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Don't measure friendship with money! If you do, be careful for there will be a crack in your friendship! "; } if (.@card_2_buddy == 32) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " It seems as if your friend will give you many presents! Look forward to it! "; } if (.@card_2_buddy == 33) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " You must be lonely without a friend! A good friend will come along soon! "; } next; @@ -3214,135 +3214,135 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "[Chocarle]"; set .@card_2_future,rand(1,33); if (.@card_2_future == 1) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Oh no! You are not confident about the future! Trust yourself a little more! Hope! "; } if (.@card_2_future == 2) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Oh! Do you keep on thinking about your death in the future! First, forget about death and live your life! "; } if (.@card_2_future == 3) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Cut! You are filled with uncertainty about the future! Let's get rid of this! Wee! It's gone! "; } if (.@card_2_future == 4) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Life may seem like a hot and dry desert, but in the future, delicious juice and rest awaits you! "; } if (.@card_2_future == 5) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Even in a hot and dry desert, isn't the future happier since you can encounter sweet juice? Put forth your strength! "; } if (.@card_2_future == 6) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Don't your troubles disappear watching a poring smile? Your future must be filled with good things! "; } if (.@card_2_future == 7) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " There is danger waiting ahead! You should avoid it for now! Take care of yourself! "; } if (.@card_2_future == 8) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " You must be fearing your future!? Don't worry too much! Think of happy thoughts! "; } if (.@card_2_future == 9) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " You may endanger someone in the future! Don't become a bad person~! "; } if (.@card_2_future == 10) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You may have to stand alone in the future! Prepare yourself right now! "; } if (.@card_2_future == 11) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " Many hardships await you in the future! But you can overcome them! "; } if (.@card_2_future == 12) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You might not even be able to buy summer clothes in the future! Don't waste your money! "; } if (.@card_2_future == 13) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Something exciting may happen! What can it be? Fun! Fun! "; } if (.@card_2_future == 14) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Something good might happen on this nice day! You can look forward to it! Yay! "; } if (.@card_2_future == 15) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " A splendid event will be held! Go get ready! Look forward to it! "; } if (.@card_2_future == 16) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " You will meet someone new! It will be very interesting! "; } if (.@card_2_future == 17) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " If you go little by little, something good will happen! Sit and take a look around you! "; } if (.@card_2_future == 18) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " You get a headache from thinking about the future? Empty your mind! You will feel refreshed! "; } if (.@card_2_future == 19) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " You will become a respectable person in the future! Good job! "; } if (.@card_2_future == 20) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " I can see you working hard in the future! What a lively future! "; } if (.@card_2_future == 21) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " You have a very busy future! Take care of your health! "; } if (.@card_2_future == 22) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Pick a job where you can work with other people! It will be very rewarding, right? "; } if (.@card_2_future == 23) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Try doing some volunteer work! It is worthwhile and you will feel good about it, too! "; } if (.@card_2_future == 24) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " You may become a commander! Mmm~! Kind of scary! "; } if (.@card_2_future == 25) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Choose a job that involves flying! You show potential! "; } if (.@card_2_future == 26) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Scrumptious ice cream that could even be eaten in heaven! Challenge yourself and get involved in a job making things of that sort! "; } if (.@card_2_future == 27) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " In the future, things that cannot be done right now will be accomplished! You can look forward to it! "; } if (.@card_2_future == 28) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Little things in life will bring you happiness and joy in the future! Even more than now! "; } if (.@card_2_future == 29) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Do what you have to do. Live life to the fullest, even though the world may end tomorrow! "; } if (.@card_2_future == 30) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " You will deal with fruits in the future! How about preparing yourself? "; } if (.@card_2_future == 31) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Your future self will encounter a high wall! Although, I'm not sure what type of building it may be! "; } if (.@card_2_future == 32) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Green symbolizes peace! Your future seems as if it will be very peaceful! It's a good thing, right? "; } if (.@card_2_future == 33) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " Romance lays ahead in your future! Relax yourself and prepare yourself! "; } next; @@ -3364,135 +3364,135 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "[Chocarle]"; set .@card_2_fortune,rand(1,33); if (.@card_2_fortune == 1) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Uh oh! You're about to be robbed! You must save a little first! "; } if (.@card_2_fortune == 2) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Kek! Your mind goes blank when you think about money! Think of other thoughts! Forget about money for a while! "; } if (.@card_2_fortune == 3) { - cutin "°í½ºÆ®¸µÄ«µå",4; + cutin "°í½ºÆ®¸µÄ«µå",4; // Ghostring Card mes " Bah! This isn't a time to think about money. Calm down and put your mind at ease! "; } if (.@card_2_fortune == 4) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " If you look carefully, it is not drinking juice, but underground water through a straw in the ground! Money is hidden where nobody expects! Good luck searching! "; } if (.@card_2_fortune == 5) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " As you can quench your thirst in the dry desert, you can gather money even in this difficult world! "; } if (.@card_2_fortune == 6) { - cutin "µå·ÓÇÁ½ºÄ«µå",4; + cutin "µå·ÓÇÁ½ºÄ«µå",4; // Drops Card mes " Just like the juice inside the needles of a cactus, you can still gather wealth though you may be in anguish. You can do it! "; } if (.@card_2_fortune == 7) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes "Agh! Someone is after your possessions! Be careful! "; } if (.@card_2_fortune == 8) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " Uh oh! Someone is after your money! Take good care of it! "; } if (.@card_2_fortune == 9) { - cutin "¸ÇƼ½ºÄ«µå",4; + cutin "¸ÇƼ½ºÄ«µå",4; // Mantis Card mes " It says you might be tempted to do something bad to gather money! Don't forget about a kind heart! "; } if (.@card_2_fortune == 10) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You have hidden money in your clothes! Hidden rich one! Be careful not to be caught! "; } if (.@card_2_fortune == 11) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " In the future, it seems like you will be kicking money around with your feet like those Porings! Congratulations! "; } if (.@card_2_fortune == 12) { - cutin "¹«³«Ä«µå",4; + cutin "¹«³«Ä«µå",4; // Munak Card mes " You must be exhausted! Making money is not the easiest thing to do! But it will be that much more valuable! "; } if (.@card_2_fortune == 13) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Your tendency to spend money is growing! Be careful! Don't be left empty-handed! "; } if (.@card_2_fortune == 14) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Use your money to buy something fun! Then good luck will be headed your way! "; } if (.@card_2_fortune == 15) { - cutin "»êŸÆ÷¸µÄ«µå",4; + cutin "»êŸÆ÷¸µÄ«µå",4; // Santa Poring Card mes " Use your money on something exciting! It looks as if good luck will be headed your way! "; } if (.@card_2_fortune == 16) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " It seems like you will have two lucky offerings! Don't miss these two opportunities! "; } if (.@card_2_fortune == 17) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " Doesn't it seem like there should be money in the small wallet? You will have some small income! Save money wisely! "; } if (.@card_2_fortune == 18) { - cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; + cutin "¼ÖÁ®½ºÄÌÅæÄ«µå",4; // Soldier Skeleton Card mes " So~ empty. Upsetting, but don't worry too much about money! Something better ought to happen! "; } if (.@card_2_fortune == 19) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Someone will return something you lost! What a relief! "; } if (.@card_2_fortune == 20) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " No need to worry about osteoporosis! Wasn't it a good thing to eat so much calcium? Oops! This isn't about money?! "; } if (.@card_2_fortune == 21) { - cutin "½ºÄÌ·¹ÅæÄ«µå",4; + cutin "½ºÄÌ·¹ÅæÄ«µå",4; // Skeleton Card mes " Seeing that you work so hard, seems like you will make lots of money! Congratz~! "; } if (.@card_2_fortune == 22) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Even if you save money, it disappears like smoke. Don't get too caught up with it! "; } if (.@card_2_fortune == 23) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " It's hard to make money, isn't it? But don't forget the good deeds in life! "; } if (.@card_2_fortune == 24) { - cutin "¿¡µå°¡Ä«µå",4; + cutin "¿¡µå°¡Ä«µå",4; // Eddga Card mes " Going around to collect money might lead you to a scary person! Be very careful! "; } if (.@card_2_fortune == 25) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Forget about money and fly~fly! You will feel very refreshed! "; } if (.@card_2_fortune == 26) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Money is like clouds! Instead of money, think about a happy life! "; } if (.@card_2_fortune == 27) { - cutin "¿£Á©¸µÄ«µå",4; + cutin "¿£Á©¸µÄ«µå",4; // Angeling Card mes " Even if it may seem pointless, if you persist, you will be able to make lots of money! You can do it! "; } if (.@card_2_fortune == 28) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " Don't neglect the trivial things on the floor! If you keep an open heart like that, you will be able to collect money! "; } if (.@card_2_fortune == 29) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " If you work with something that is related to mushrooms or apples, a good fortune awaits you! What kind of work would that be? "; } if (.@card_2_fortune == 30) { - cutin "Æ÷¸µÄ«µå",4; + cutin "Æ÷¸µÄ«µå",4; // Poring Card mes " How can you think of money looking at such a peaceful card! That's not nice! Sniff..sniffles! Anyhow, it seems like you will gather much fortune! "; } if (.@card_2_fortune == 31) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " You have many fine stones! You will prosper if you are involved in this industry! "; } if (.@card_2_fortune == 32) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " It is an indication that you will prosper! No need to worry now! "; } if (.@card_2_fortune == 33) { - cutin "Æ÷Æ÷¸µÄ«µå",4; + cutin "Æ÷Æ÷¸µÄ«µå",4; // Poporing Card mes " You will collect many treasures! But the problem is protecting all of it! "; } next; diff --git a/npc/other/gm_npcs.txt b/npc/other/gm_npcs.txt index 076cbf025..c9a65e067 100644 --- a/npc/other/gm_npcs.txt +++ b/npc/other/gm_npcs.txt @@ -1,14 +1,14 @@ -//===== Hercules Script ====================================== +//===== Hercules Script ====================================== //= GM Management NPCs -//===== By: ================================================== +//===== By: ================================================== //= Euphy -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.0 -//===== Description: ========================================= +//===== Description: ========================================= //= Controls the official GM management NPCs in certain scripts. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. -//============================================================ +//============================================================ // callfunc("F_GM_NPC"{,<password>,<0:int | 1:str>{,<min>,<max>}}) function script F_GM_NPC { diff --git a/npc/other/guildpvp.txt b/npc/other/guildpvp.txt index 047093e5d..cad076237 100644 --- a/npc/other/guildpvp.txt +++ b/npc/other/guildpvp.txt @@ -1,16 +1,16 @@ //===== Hercules Script ====================================== //= Guild Battle NPC -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.1 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Guild Battle with PVP mechanics. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] //= 1.1 Optimized. [Euphy] -//============================================================ +//============================================================ pvp_y_room,77,85,4 script Guild Battle Guide 105,{ diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt index 2991e6d84..d451b8e90 100644 --- a/npc/other/gympass.txt +++ b/npc/other/gympass.txt @@ -1,19 +1,19 @@ //===== Hercules Script ====================================== //= Gym Pass Cash Item NPC -//===== By: ================================================== +//===== By: ================================================== //= Kisuka -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.3 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Exchange Gym Passes to learn "Enlarge Weight Limit" //= iRO NPC situated in Payon beside Kafra Shop. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version [L0ne_W0lf] //= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf] //= 1.2 Replaced effect numerics with constants. [Samuray22] //= 1.3 Updated script, and fixed potential errors. [L0ne_W0lf] -//============================================================ +//============================================================ payon,173,141,4 script Ripped Cabus#GymPass 899,{ mes "[Ripped]"; diff --git a/npc/other/hugel_bingo.txt b/npc/other/hugel_bingo.txt index 6cec1b9ae..23ef06b93 100644 --- a/npc/other/hugel_bingo.txt +++ b/npc/other/hugel_bingo.txt @@ -3,31 +3,30 @@ //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.8 +//= 1.9 //===== Description: ========================================= //= Hugel Bingo game //===== Additional Comments: ================================= -//= 1.0 - First version. Please report bugs you find out. [SinSloth] -//= 1.1 - Fixed a minor bug. [SinSloth] -//= 1.2 - Added some Bingo Staff NPCs. [SinSloth] -//= 1.3 - Fixed a bug where an AFK-player wasn't warped out of the game, -//= preventing players from launching another. [SinSloth] -//= 1.4 - Fixed a minor bug added in the last revision. [SinSloth] -//= 1.5 - Applied a fix to players locations which were not rotating properly. [SinSloth] -//= 1.6 - Removed nescesity to win to proceed with quest [Yommy] -//= 1.7 - Replaced effect numerics with constants. [Samuray22] +//= 1.0 First version. Please report bugs you find out. [SinSloth] +//= 1.1 Fixed a minor bug. [SinSloth] +//= 1.2 Added some Bingo Staff NPCs. [SinSloth] +//= 1.3 Fixed a bug where an AFK-player wasn't warped out of the game, +//= preventing players from launching another. [SinSloth] +//= 1.4 Fixed a minor bug added in the last revision. [SinSloth] +//= 1.5 Applied a fix to players locations which were not rotating properly. [SinSloth] +//= 1.6 Removed nescesity to win to proceed with quest [Yommy] +//= 1.7 Replaced effect numerics with constants. [Samuray22] //= 1.8 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.9 Some optimization/standardization. [Euphy] //============================================================ que_bingo,48,84,5 script Bingo Waiting Room 124,{ end; OnInit: - set $hu_bingoa,0; - set $hu_bingob,0; waitingroom "Bingo Waiting Room - 5 People",50,"Bingo Waiting Room::OnWarp",5,1000; end; - + OnWarp: warpwaitingpc "que_bingo",46,141; donpcevent "start#bingo::OnStart"; @@ -38,7 +37,7 @@ OnWarp: enablenpc "plate5#bingo"; disablewaitingroomevent; end; - + OnStart: enablewaitingroomevent; end; @@ -83,16 +82,13 @@ OnTouch: set @bingo_case,1; L_Fill: set @bingo_fill,callfunc("Func_Bingo",@bingo_case); - if(!@bingo_fill) - { + if (!@bingo_fill) { mes "The numbers you have entered"; mes "exceed the limit, or you have"; mes "already entered these numbers."; mes "Please enter your numbers again."; next; - } - else if(@bingo_fill) - { + } else if (@bingo_fill) { if(@bingoplate[25] < 10) set @bingo_e5$,"0"+@bingoplate[25]+""; else set @bingo_e5$,@bingoplate[25]; donpcevent "start#bingo::OnEnter"; mes "["+@bingo_a1$+"] ["+@bingo_a2$+"] ["+@bingo_a3$+"] ["+@bingo_a4$+"] ["+@bingo_a5$+"]"; @@ -104,7 +100,6 @@ L_Fill: } goto L_Fill; - } que_bingo,53,121,0 duplicate(plate1#bingo) plate2#bingo 139,1,1 @@ -117,38 +112,37 @@ que_bingo,51,51,0 script start#bingo 139,{ OnStart: initnpctimer; end; - + OnEnter: - if($hu_bingoa == 4) - { - set $hu_bingoa,5; + if ($@hu_bingoa == 4) { + set $@hu_bingoa,5; donpcevent "start2#bingo::OnStart"; stopnpctimer; end; } - set $hu_bingoa,$hu_bingoa +1; + set $@hu_bingoa,$@hu_bingoa +1; end; - + OnTimer1000: mapannounce "que_bingo","Eukran: Hello, everyone! I'm Eukran, your Bingo Guide~",1,0xFFAB54; end; - + OnTimer6000: mapannounce "que_bingo","Eukran: Game participants, please enter the Warp Portal at the bottom of your screen and choose a Bingo Plate by entering a number.",1,0xFFAB54; end; - + OnTimer11000: mapannounce "que_bingo","Eukran: All participants must choose their Bingo Plates within 3 minutes, or the game will be canceled.",1,0xFFAB54; end; - + OnTimer192000: mapannounce "que_bingo","Eukran: Please enter a number in 5 seconds, or the game will be canceled.",1,0xFFAB54; end; - + OnTimer200000: mapannounce "que_bingo","Eukran: I'm sorry, but the game has been canceled. Please come again and enjoy a game of Bingo with us!",1,0xFFAB54; end; - + OnTimer202000: disablenpc "plate1#bingo"; disablenpc "plate2#bingo"; @@ -156,7 +150,7 @@ OnTimer202000: disablenpc "plate4#bingo"; disablenpc "plate5#bingo"; end; - + OnTimer203000: areawarp "que_bingo",44,115,54,126,"que_bingo",40,124; enablenpc "out3#bingo"; @@ -165,8 +159,8 @@ OnTimer203000: OnTimer204000: areawarp "que_bingo",44,115,54,126,"que_bingo",40,121; disablenpc "out3#bingo"; - set $hu_bingoa,0; - set $hu_bingob,0; + set $@hu_bingoa,0; + set $@hu_bingob,0; donpcevent "Bingo Waiting Room::OnStart"; end; } @@ -176,11 +170,11 @@ que_bingo,52,52,0 script start2#bingo 139,{ OnStop: stopnpctimer; end; - + OnStart: initnpctimer; end; - + OnTimer2000: mapannounce "que_bingo","Eukran: Great, everyone seems to be ready~",1,0xFFAB54; disablenpc "plate1#bingo"; @@ -189,234 +183,95 @@ OnTimer2000: disablenpc "plate4#bingo"; disablenpc "plate5#bingo"; end; - + OnTimer5000: mapannounce "que_bingo","Eukran: Now, let the game begin!",1,0xFFAB54; setarray $@bingoarray[0],1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25; set .@max_index, 24; - for(set .@i,0; .@i < 25; set .@i,.@i +1) - { + for(set .@i,0; .@i < 25; set .@i,.@i +1) { set $@bingo0,rand(0,.@max_index); set $bingo[.@i],$@bingoarray[$@bingo0]; set $@bingoarray[$@bingo0], $@bingoarray[.@max_index]; set .@max_index, .@max_index - 1; } end; - + OnTimer8000: mapannounce "que_bingo","Eukran: I'll announce the Bingo Numbers. If you get 5 lines by matching 5 Bingo Numbers in a straight line on your Bingo Plate, yell out ''Bingo'' to win~",1,0xFFAB54; end; - + OnTimer10000: set $@bingoresult,1; callfunc "Func_BingoResult",$@bingoresult; end; - + OnTimer15000: +OnTimer25000: +OnTimer35000: +OnTimer45000: +OnTimer55000: +OnTimer65000: +OnTimer75000: +OnTimer85000: +OnTimer95000: +OnTimer105000: +OnTimer115000: +OnTimer125000: +OnTimer135000: +OnTimer145000: +OnTimer155000: +OnTimer179000: +OnTimer199000: +OnTimer219000: +OnTimer239000: +OnTimer259000: +OnTimer279000: +OnTimer299000: +OnTimer319000: +OnTimer339000: donpcevent "1a#bingo::OnInit"; end; OnTimer20000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer25000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer30000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer35000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer40000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer45000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer50000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer55000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer60000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer65000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer70000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer75000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer80000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer85000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer90000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer95000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer100000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer105000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer110000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer115000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer120000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer125000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer130000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer135000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer140000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer145000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer150000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer155000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer160000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer179000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer180000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer199000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer200000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer219000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer220000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer239000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer240000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer259000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer260000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer279000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer280000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer299000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer300000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer319000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer320000: - callfunc "Func_BingoResult",$@bingoresult; - end; - -OnTimer339000: - donpcevent "1a#bingo::OnInit"; - end; - OnTimer340000: callfunc "Func_BingoResult",$@bingoresult; end; - + OnTimer440000: mapannounce "que_bingo","Eukran: I've announced all of the selected numbers, but I haven't heard anyone yell ''Bingo.''",1,0xFFAB54; end; - + OnTimer445000: mapannounce "que_bingo","Eukran: I'll give you all 10 seconds to check if any of you have won. If no one can yell ''Bingo'' in 10 seconds, this game will end without a winner.",1,0xFFAB54; end; - + OnTimer460000: mapannounce "que_bingo","Eukran: I'm sorry, but this game has ended without a winner. Thanks for playing, everyone~",1,0xFFAB54; donpcevent "1a#bingo::OnInit"; areawarp "que_bingo",44,115,54,126,"que_bingo",40,121; - set $hu_bingoa,0; + set $@hu_bingoa,0; donpcevent "Bingo Waiting Room::OnStart"; end; } @@ -601,10 +456,8 @@ OnTouch: mes "["+@bingo_d1$+"] ["+@bingo_d2$+"] ["+@bingo_d3$+"] ["+@bingo_d4$+"] ["+@bingo_d5$+"]"; mes "["+@bingo_e1$+"] ["+@bingo_e2$+"] ["+@bingo_e3$+"] ["+@bingo_e4$+"] ["+@bingo_e5$+"]"; mes "[Currently Finished Lines - "+@bingowin+" ]"; - if($@bingoresult > 15) - { - if(@bingowin > 4) - { + if ($@bingoresult > 15) { + if (@bingowin > 4) { next; mes "We just have made 5 lines!"; mes "Say ^ff0000Bingo^000000!"; @@ -614,19 +467,15 @@ OnTouch: mes "Remember, you'll only"; mes "have one chance to say it!"; input @bingoyell$; - if(@bingoyell$ == "Bingo") - { - if($hu_bingoa == 5) - { - set $hu_bingoa,6; + if (@bingoyell$ == "Bingo") { + if ($@hu_bingoa == 5) { + set $@hu_bingoa,6; donpcevent "start2#bingo::OnStop"; set $@bingowinner$,strcharinfo(0); donpcevent "win1a#bingo::OnWin"; close; - } - else if($hu_bingoa == 6) - { + } else if ($@hu_bingoa == 6) { next; mes "Oh no! I'm sorry, but"; mes "someone already yelled"; @@ -636,9 +485,7 @@ OnTouch: mes "next time, alright?"; close; } - } - else - { + } else { next; mes "I'm sorry, but you"; mes "said it wrong. Next time,"; @@ -777,14 +624,13 @@ que_bingo,45,121,0 duplicate(1a#bingo) 23e#bingo 139,1,1 que_bingo,45,121,0 duplicate(1a#bingo) 24e#bingo 139,1,1 que_bingo,45,121,0 duplicate(1a#bingo) 25e#bingo 139,1,1 - que_bingo,79,19,0 script win1a#bingo 139,4,4,{ end; OnWin: initnpctimer; end; - + OnTimer1000: donpcevent "1a#bingo::OnInit"; enablenpc "win2a#bingo"; @@ -807,10 +653,10 @@ OnInit: end; OnTouch: - if($@bingowinner$ != strcharinfo(0)) end; + if ($@bingowinner$ != strcharinfo(0)) end; specialeffect EF_SUI_EXPLOSION; soundeffect "tming_success.wav",1; - if($@bingoresult == 16) getitem 7515,50; + if ($@bingoresult == 16) getitem 7515,50; else getitem 7515,1; initnpctimer; end; @@ -824,8 +670,10 @@ OnTimer5000: end; OnTimer10000: - if($@bingoresult == 16) mapannounce "que_bingo","Eukran: Congratulations, "+$@bingowinner$+"! You will be rewarded with 50 Marvelous Medals.",1,0xFFAB54; - else mapannounce "que_bingo","Eukran: Congratulations, "+$@bingowinner$+"! You will be rewarded with 1 Marvelous Medal.",1,0xFFAB54; + if ($@bingoresult == 16) + mapannounce "que_bingo","Eukran: Congratulations, "+$@bingowinner$+"! You will be rewarded with 50 Marvelous Medals.",1,0xFFAB54; + else + mapannounce "que_bingo","Eukran: Congratulations, "+$@bingowinner$+"! You will be rewarded with 1 Marvelous Medal.",1,0xFFAB54; end; OnTimer15000: @@ -865,7 +713,7 @@ OnTimer5000: disablenpc "end1d#bingo"; disablenpc "end1e#bingo"; areawarp "que_bingo",44,115,54,126,"que_bingo",40,121; - set $hu_bingoa,0; + set $@hu_bingoa,0; donpcevent "Bingo Waiting Room::OnStart"; end; } @@ -896,7 +744,7 @@ que_bingo,50,138,1 script out3#bingo 139,5,8,{ OnInit: disablenpc "out3#bingo"; end; - + OnTouch: warp "que_bingo",40,121; end; @@ -905,34 +753,28 @@ OnTouch: que_bingo,49,136,0 script go3#bingo 45,1,1,{ OnTouch: - switch($hu_bingob) - { - case 0: warp "que_bingo",49,125; break; - case 1: warp "que_bingo",53,121; break; - case 2: warp "que_bingo",51,116; break; - case 3: warp "que_bingo",46,116; break; - case 4: warp "que_bingo",45,121; break; + switch($@hu_bingob) { + case 0: warp "que_bingo",49,125; break; + case 1: warp "que_bingo",53,121; break; + case 2: warp "que_bingo",51,116; break; + case 3: warp "que_bingo",46,116; break; + case 4: warp "que_bingo",45,121; break; } - set $hu_bingob,$hu_bingob +1; - if($hu_bingob == 5) set $hu_bingob,0; + set $@hu_bingob,$@hu_bingob +1; + if ($@hu_bingob == 5) set $@hu_bingob,0; end; } function script Func_Bingo { - - - for( set .@i,getarg(0); .@i < 26; set .@i,.@i +1) - { + for(set .@i,getarg(0); .@i < 26; set .@i,.@i +1) { if(@bingoplate[1] < 10) set @bingo_a1$,"0"+@bingoplate[1]+""; else set @bingo_a1$,@bingoplate[1]; if(@bingoplate[2] < 10) set @bingo_a2$,"0"+@bingoplate[2]+""; else set @bingo_a2$,@bingoplate[2]; if(@bingoplate[3] < 10) set @bingo_a3$,"0"+@bingoplate[3]+""; else set @bingo_a3$,@bingoplate[3]; if(@bingoplate[4] < 10) set @bingo_a4$,"0"+@bingoplate[4]+""; else set @bingo_a4$,@bingoplate[4]; if(@bingoplate[5] < 10) set @bingo_a5$,"0"+@bingoplate[5]+""; else set @bingo_a5$,@bingoplate[5]; if(.@i > 5) mes "["+@bingo_a1$+"] ["+@bingo_a2$+"] ["+@bingo_a3$+"] ["+@bingo_a4$+"] ["+@bingo_a5$+"]"; - else - { - switch(.@i) - { + else { + switch(.@i) { case 1: mes "^ff0000[__]^000000 [ ] [ ] [ ] [ ]"; break; case 2: mes "["+@bingo_a1$+"] ^ff0000[__]^000000 [ ] [ ] [ ]"; break; case 3: mes "["+@bingo_a1$+"] ["+@bingo_a2$+"] ^ff0000[__]^000000 [ ] [ ]"; break; @@ -947,10 +789,8 @@ function script Func_Bingo { if(@bingoplate[10] < 10) set @bingo_b5$,"0"+@bingoplate[10]+""; else set @bingo_b5$,@bingoplate[10]; if(.@i > 10) mes "["+@bingo_b1$+"] ["+@bingo_b2$+"] ["+@bingo_b3$+"] ["+@bingo_b4$+"] ["+@bingo_b5$+"]"; else if(.@i < 6) mes "[ ] [ ] [ ] [ ] [ ]"; - else - { - switch(.@i) - { + else { + switch(.@i) { case 6: mes "^ff0000[__]^000000 [ ] [ ] [ ] [ ]"; break; case 7: mes "["+@bingo_b1$+"] ^ff0000[__]^000000 [ ] [ ] [ ]"; break; case 8: mes "["+@bingo_b1$+"] ["+@bingo_b2$+"] ^ff0000[__]^000000 [ ] [ ]"; break; @@ -965,10 +805,8 @@ function script Func_Bingo { if(@bingoplate[15] < 10) set @bingo_c5$,"0"+@bingoplate[15]+""; else set @bingo_c5$,@bingoplate[15]; if(.@i > 15) mes "["+@bingo_c1$+"] ["+@bingo_c2$+"] ["+@bingo_c3$+"] ["+@bingo_c4$+"] ["+@bingo_c5$+"]"; else if(.@i < 11) mes "[ ] [ ] [ ] [ ] [ ]"; - else - { - switch(.@i) - { + else { + switch(.@i) { case 11: mes "^ff0000[__]^000000 [ ] [ ] [ ] [ ]"; break; case 12: mes "["+@bingo_c1$+"] ^ff0000[__]^000000 [ ] [ ] [ ]"; break; case 13: mes "["+@bingo_c1$+"] ["+@bingo_c2$+"] ^ff0000[__]^000000 [ ] [ ]"; break; @@ -983,10 +821,8 @@ function script Func_Bingo { if(@bingoplate[20] < 10) set @bingo_d5$,"0"+@bingoplate[20]+""; else set @bingo_d5$,@bingoplate[20]; if(.@i > 20) mes "["+@bingo_d1$+"] ["+@bingo_d2$+"] ["+@bingo_d3$+"] ["+@bingo_d4$+"] ["+@bingo_d5$+"]"; else if(.@i < 16) mes "[ ] [ ] [ ] [ ] [ ]"; - else - { - switch(.@i) - { + else { + switch(.@i) { case 16: mes "^ff0000[__]^000000 [ ] [ ] [ ] [ ]"; break; case 17: mes "["+@bingo_d1$+"] ^ff0000[__]^000000 [ ] [ ] [ ]"; break; case 18: mes "["+@bingo_d1$+"] ["+@bingo_d2$+"] ^ff0000[__]^000000 [ ] [ ]"; break; @@ -999,10 +835,8 @@ function script Func_Bingo { if(@bingoplate[23] < 10) set @bingo_e3$,"0"+@bingoplate[23]+""; else set @bingo_e3$,@bingoplate[23]; if(@bingoplate[24] < 10) set @bingo_e4$,"0"+@bingoplate[24]+""; else set @bingo_e4$,@bingoplate[24]; if(.@i < 21) mes "[ ] [ ] [ ] [ ] [ ]"; - else - { - switch(.@i) - { + else { + switch(.@i) { case 21: mes "^ff0000[__]^000000 [ ] [ ] [ ] [ ]"; break; case 22: mes "["+@bingo_e1$+"] ^ff0000[__]^000000 [ ] [ ] [ ]"; break; case 23: mes "["+@bingo_e1$+"] ["+@bingo_e2$+"] ^ff0000[__]^000000 [ ] [ ]"; break; @@ -1013,10 +847,8 @@ function script Func_Bingo { next; input .@bingoinput; if(.@bingoinput < 1 || .@bingoinput > 25) { set @bingo_case,.@i; return 0; } - if(.@i > 1) - { - for(set .@j,.@i; .@j > 0; set .@j,.@j -1) - { + if(.@i > 1) { + for(set .@j,.@i; .@j > 0; set .@j,.@j -1) { if(.@bingoinput == @bingoplate[.@j -1]) { set @bingo_case,.@i; return 0; } } } @@ -1026,11 +858,11 @@ function script Func_Bingo { } function script Func_BingoResult { - - if(getarg(0) == 1 || getarg(0) == 21) mapannounce "que_bingo","Eukran: The "+getarg(0)+"st number is "+$bingo[getarg(0) -1]+". Please check your Bingo Plate.",4,0xFFAB54; - else if(getarg(0) == 2 || getarg(0) == 22) mapannounce "que_bingo","Eukran: The "+getarg(0)+"nd number is "+$bingo[getarg(0) -1]+". Please check your Bingo Plate.",4,0xFFAB54; - else if(getarg(0) == 3 || getarg(0) == 23) mapannounce "que_bingo","Eukran: The "+getarg(0)+"rd number is "+$bingo[getarg(0) -1]+". Please check your Bingo Plate.",4,0xFFAB54; - else mapannounce "que_bingo","Eukran: The "+getarg(0)+"th number is "+$bingo[getarg(0) -1]+". Please check your Bingo Plate.",4,0xFFAB54; + if (getarg(0) == 1 || getarg(0) == 21) set .@str$,"st"; + else if (getarg(0) == 2 || getarg(0) == 22) set .@str$,"nd"; + else if (getarg(0) == 3 || getarg(0) == 23) set .@str$,"rd"; + else set .@str$,"th"; + mapannounce "que_bingo","Eukran: The "+getarg(0)+.@str$+" number is "+$bingo[getarg(0) -1]+". Please check your Bingo Plate.",4,0xFFAB54; enablenpc ""+getarg(0)+"a#bingo"; enablenpc ""+getarg(0)+"b#bingo"; enablenpc ""+getarg(0)+"c#bingo"; @@ -1041,26 +873,15 @@ function script Func_BingoResult { } que_bingo,49,31,4 script Arcade Helper#1 47,{ - mes "[Helper]"; mes "If you'd like to play"; mes "a game of bingo, then"; mes "please proceed this way."; close; } - -que_bingo,42,31,4 script Arcade Helper#2 66,{ - - mes "[Helper]"; - mes "If you'd like to spectate"; - mes "a game of bingo, then"; - mes "please proceed this way."; - close; - -} +que_bingo,42,31,4 duplicate(Arcade Helper#1) Arcade Helper#2 66 que_bingo,54,17,5 script Arcade Owner 712,{ - mes "[Arcade Owner]"; mes "Welcome to the"; mes "Bingo Game Arcade."; @@ -1068,8 +889,7 @@ que_bingo,54,17,5 script Arcade Owner 712,{ mes "bingo? If you have any"; mes "questions, feel free to ask."; next; - switch( select( "Rules for Bingo:Bingo Room:Marvelous Medals" ) ) - { + switch(select("Rules for Bingo:Bingo Room:Marvelous Medals")) { case 1: mes "[Arcade Owner]"; mes "The rules for playing bingo"; @@ -1109,7 +929,6 @@ que_bingo,54,17,5 script Arcade Owner 712,{ mes "Anyway, it costs 1,000 zeny"; mes "to play each bingo game~"; close; - break; case 2: mes "[Arcade Owner]"; mes "Ah, if you want to join a"; @@ -1126,7 +945,6 @@ que_bingo,54,17,5 script Arcade Owner 712,{ mes "left door as a spectator"; mes "in the Bingo Room."; close; - break; case 3: mes "[Arcade Owner]"; mes "When you win a bingo"; @@ -1149,7 +967,5 @@ que_bingo,54,17,5 script Arcade Owner 712,{ mes "them for products in the Monster^FFFFFF ^000000 Racing Arena. I hear there's also"; mes "a place in Einbroch where you can^FFFFFF ^000000 use them, but I wouldn't know."; close; - break; } - } diff --git a/npc/other/mail.txt b/npc/other/mail.txt index 95f680704..5c3eadd3a 100644 --- a/npc/other/mail.txt +++ b/npc/other/mail.txt @@ -4,8 +4,8 @@ //= L0ne_W0lf //===== Current Version: ===================================== //= 1.8 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Pickup and write mail from/to players in game. //===== Additional Comments: ================================= //= 1.0 First version, place holders only. [L0ne_W0lf] diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt index 59771c077..88dcabad7 100644 --- a/npc/other/marriage.txt +++ b/npc/other/marriage.txt @@ -1,22 +1,25 @@ //===== Hercules Script ====================================== //= Player Marriage -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Current Version: ===================================== +//= 1.4 +//===== Description: ========================================= +//= [Official Conversion] //= Official Marriage script. //= Added isloggedin() check, even though Aegis doesn't do it. -//= Currently does not support same-sex marriages. +//= Currently does not support same-Sex marriages. //= Old script located in: npc/custom/marriage.txt //= - Variable in use: wedding_sign (max 1) -//= - Variable in use: $Wedding (max 1) -//= - Variab;e in use: $wed_groom$ $wed_bride$ -//===== Additional Comments: ================================= +//= - Variable in use: $@wedding (max 1) +//= - Variable in use: $@wed_groom$ $@wed_bride$ +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] //= 1.1 Fixed a missing ")" [L0ne_W0lf] //= 1.2 Corrected duration of Wedding status. [L0ne_W0lf] +//= 1.3 Changed permanent global variables to temporary ones. [Euphy] +//= Added GM NPCs (commented). +//= 1.4 Added GM management function. [Euphy] //============================================================ prt_church,97,100,4 script Wedding Staff#w 71,{ @@ -179,7 +182,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ case 3: cutin "wedding_marry02",2; - if (sex) { + if (Sex) { mes "[Marry Happy]"; mes "So you'd like to get married?"; mes "As a groom, you need to prepare"; @@ -254,8 +257,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "back after you find it, okay?"; goto L_End; } - else if (sex) { - if (zeny < 1300000) { + else if (Sex) { + if (Zeny < 1300000) { mes "[Marry Happy]"; mes "I'm sorry, but you don't"; mes "have the 1,300,000 zeny"; @@ -275,8 +278,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ goto L_End; } } - else if (sex == 0) { - if (zeny < 1200000) { + else if (Sex == 0) { + if (Zeny < 1200000) { mes "[Marry Happy]"; mes "I'm sorry, but all brides"; mes "must pay the 1,200,000"; @@ -338,17 +341,17 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "process, both of you should"; mes "speak to the Bishop to begin"; mes "the wedding ceremony."; - Emotion e_lv; + emotion e_lv; next; mes "[Marry Happy]"; - if (sex) { + if (Sex) { mes "Since you're the groom,"; mes "you need to speak to the"; mes "Bishop first. When you're"; mes "finished, it will be your"; mes "bride's turn to speak to"; mes "Bishop Vomars."; - set zeny,zeny-1300000; + set Zeny, Zeny-1300000; delitem 7170,1; //Tuxedo } else { @@ -358,7 +361,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "Vomars first. When he's"; mes "finished, it'll be your turn"; mes "to speak to Bishop Vomars."; - set zeny,zeny-1200000; + set Zeny, Zeny-1200000; delitem 2338,1; //Wedding_Dress } delitem 2613,1; //Diamond_Ring @@ -382,7 +385,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ donpcevent "Single Army#Payon::OnEnable"; donpcevent "Single Army#Amatsu::OnEnable"; donpcevent "Single Army#Gonryun::OnEnable"; - Emotion e_omg; + emotion e_omg; mes "[Single Army]"; mes "^CC9933You have to refine"; mes "items on your own to"; @@ -422,7 +425,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ emotion e_rock,0,"Single Army#Gonryun"; close2; cutin "wedding_marry01",255; - Emotion e_swt; + emotion e_swt; donpcevent "Single Army#Prontera::OnInit"; donpcevent "Single Army#Geffen::OnInit"; donpcevent "Single Army#Morocc::OnInit"; @@ -559,13 +562,13 @@ prt_church,100,128,4 script Bishop#w 60,{ } if (!getpartnerid()) { - if (!$wedding) { + if (!$@wedding) { if (wedding_sign == 1) { getpartymember(getcharid(1)); set .@partymembercount,$@partymembercount; if (.@partymembercount == 2) { - if (sex) { - set $wedding,1; + if (Sex) { + set $@wedding,1; initnpctimer; mes "[Vomars]"; mes "Young lovers, please"; @@ -583,23 +586,23 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "her and protect her. Now, may"; mes "I know the name of your bride?"; next; - input $wed_bride$; + input $@wed_bride$; mes "[Vomars]"; mes "Mr. " + strcharinfo(0) + "..."; mes "Do you swear on your life"; mes "that you will forever cherish"; mes "and care for your bride,"; - mes "Miss " + $wed_bride$ + "?"; + mes "Miss " + $@wed_bride$ + "?"; next; select("I do."); - set $wed_groom$,strcharinfo(0); + set $@wed_groom$,strcharinfo(0); mes "[Vomars]"; mes "Now, it is time for"; mes "your bride to make"; mes "her wedding vows."; mes "If she will come forward..."; close2; - mapannounce "prt_church","The groom, Mr. " + strcharinfo(0) + ", has made his vows to Miss " + $wed_bride$ + "...",bc_map; + mapannounce "prt_church","The groom, Mr. " + strcharinfo(0) + ", has made his vows to Miss " + $@wed_bride$ + "...",bc_map; cutin "",255; end; } @@ -630,13 +633,13 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "to prepare for marriage."; goto L_End; } - else if ($wedding == 1) { + else if ($@wedding == 1) { if (wedding_sign == 1) { getpartymember(getcharid(1)); set .@partymembercount,$@partymembercount; if (.@partymembercount == 2) { - if (sex == 0) { - if (strcharinfo(0) == $wed_bride$) { + if (Sex == 0) { + if (strcharinfo(0) == $@wed_bride$) { mes "[Vomars]"; mes "Young lovers, please"; mes "remember this moment for"; @@ -644,11 +647,11 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "and joy. May the love you share"; mes "grow with each passing day."; next; - mapannounce "prt_church","Let's hear what the bride, Miss "+$wed_bride$+", has to say...",bc_map; + mapannounce "prt_church","Let's hear what the bride, Miss "+$@wed_bride$+", has to say...",bc_map; mes "[Vomars]"; - mes "Miss "+$wed_bride$+"..."; + mes "Miss "+$@wed_bride$+"..."; mes "Do you swear to stay"; - mes "true to "+$wed_groom$+","; + mes "true to "+$@wed_groom$+","; mes "to be by his side, no matter"; mes "what the dangers may be?"; next; @@ -656,12 +659,12 @@ prt_church,100,128,4 script Bishop#w 60,{ cutin "wedding_bomars03",2; mapannounce "prt_church","Next couple, please proceed...",bc_map; mes "[Vomars]"; - mes "So "+$wed_groom$; + mes "So "+$@wed_groom$; mes "isn't the one you"; mes "want to marry? Hmm."; mes "I'm truly sorry for this"; mes "misunderstanding..."; - set $wedding,0; + set $@wedding,0; close2; stopnpctimer; cutin "",255; @@ -670,25 +673,25 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "[Vomars]"; mes "Do you truly swear"; mes "fidelity and patience?"; - mes "Will you marry "+$wed_groom$+"?"; + mes "Will you marry "+$@wed_groom$+"?"; next; if (select("Yes, I do.:^FF0000No.^000000") == 1) { - if (isloggedin(getcharid(3,$wed_groom$))) { - if (marriage($wed_groom$)) { + if (isloggedin(getcharid(3,$@wed_groom$))) { + if (marriage($@wed_groom$)) { //Call Wedding effect wedding; //Give ring to Bride, and change to wedding sprite. sc_start SC_Wedding,3600000,1; getitem 2635,1; //Bride_Ring //Give ring to Groom, and change to wedding sprite. - attachrid(getcharid(3,$wed_groom$)); + attachrid(getcharid(3,$@wed_groom$)); sc_start SC_Wedding,3600000,1; getitem 2634,1; //Bridegroom_Ring detachrid; //Switch Script progression back to Bride - attachrid(getcharid(3,$wed_bride$)); + attachrid(getcharid(3,$@wed_bride$)); cutin "wedding_bomars02",2; - mapannounce "prt_church","I now pronounce you, "+$wed_groom$+" and "+$wed_bride$+", husband and wife.",bc_map; + mapannounce "prt_church","I now pronounce you, "+$@wed_groom$+" and "+$@wed_bride$+", husband and wife.",bc_map; mes "[Vomars]"; mes "By the power invested"; mes "in me as Royal Bishop of"; @@ -700,10 +703,10 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "[Vomars]"; mes "And lastly..."; mes "Always be happy,"; - mes "dear "+$wed_bride$+"..."; - set $wed_groom$,""; - set $wed_bride$,""; - set $wedding,0; + mes "dear "+$@wed_bride$+"..."; + set $@wed_groom$,""; + set $@wed_bride$,""; + set $@wedding,0; close2; stopnpctimer; cutin "",255; @@ -722,7 +725,7 @@ prt_church,100,128,4 script Bishop#w 60,{ } else { cutin "wedding_bomars03",2; - mapannounce "prt_church","Alas! "+$wed_bride$+" has rejected "+$wed_groom$+"'s marriage proposal!",bc_map; + mapannounce "prt_church","Alas! "+$@wed_bride$+" has rejected "+$@wed_groom$+"'s marriage proposal!",bc_map; mes "[Vomars]"; mes "Hm. It seems that"; mes "you've changed your"; @@ -731,9 +734,9 @@ prt_church,100,128,4 script Bishop#w 60,{ mes "must do what your heart"; mes "tells you is right. Now, run!"; } - set $wed_groom$,""; - set $wed_bride$,""; - set $wedding,0; + set $@wed_groom$,""; + set $@wed_bride$,""; + set $@wedding,0; close2; stopnpctimer; cutin "",255; @@ -745,7 +748,7 @@ prt_church,100,128,4 script Bishop#w 60,{ } callsub S_Busy; } - if (strcharinfo(0) == $wed_bride$) { + if (strcharinfo(0) == $@wed_bride$) { mes "[Vomars]"; mes "Hm? It appears that"; mes "Happy Marry still hasn't"; @@ -773,11 +776,11 @@ L_End: end; S_Busy: - if ($wed_groom$ != "" && $wed_bride$ != "") { + if ($@wed_groom$ != "" && $@wed_bride$ != "") { mes "[Vomars]"; mes "The wedding of"; - mes "Miss "+ $wed_bride$ +" and"; - mes "Mister "+ $wed_groom$; + mes "Miss "+ $@wed_bride$ +" and"; + mes "Mister "+ $@wed_groom$; mes "is currently in progress."; mes "Please keep your voice down."; goto L_End; @@ -789,25 +792,169 @@ S_Busy: mes "turn. Thanks for understanding... ^FFFFFF ^000000"; goto L_End; -OnInit: - set $wedding,0; - end; - OnStop: stopnpctimer; end; OnReset: - set $wed_groom$,""; - set $wed_bride$,""; - set $wedding,0; + set $@wed_groom$,""; + set $@wed_bride$,""; + set $@wedding,0; end; OnTimer180000: mapannounce "prt_church","You've responded too slowly... Next couple, please proceed.",bc_map; - set $wed_groom$,""; - set $wed_bride$,""; - set $wedding,0; + donpcevent "Bishop#w::OnReset"; stopnpctimer; end; } + +prt_church,28,178,4 script The King of Midgart 108,{ + callfunc "F_GM_NPC"; + mes "[Vomars]"; + mes "Wh-who are you?"; + mes "You must know the"; + mes "password to invoke"; + mes "my awesome powers."; + next; + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "[Vomars]"; + mes "This is"; + mes "no place for"; + mes "fooling around."; + close2; + warp "prt_church",101,102; + end; + } + mes "[Wedding Switch]"; + mes "Is there a problem with"; + mes "the wedding ceremony?"; + mes "I can reset the Bishop"; + mes "Vomars NPC if you like."; + next; + switch(select("No, thanks:RESET")) { + case 1: + mes "[Wedding Switch]"; + mes "Alright, then."; + mes "However, if the"; + mes "Bishop Vomars"; + mes "NPC is stuck, it may"; + mes "be best to reset it."; + close; + case 2: + donpcevent "Bishop#w::OnStop"; + donpcevent "Bishop#w::OnReset"; + mapannounce "prt_church","You've responded too slowly... Next couple, please proceed.",bc_map; + mes "[Wedding Switch]"; + mes "The Bishop Vomars NPC"; + mes "has now been reactivated."; + mes "It should now be possible"; + mes "to proceed with weddings."; + close; + } +} + +prt_church,20,179,4 script Divorce Staff 71,{ + callfunc "F_GM_NPC"; + mes "[Bad Ending]"; + mes "Uh oh..."; + mes "You know I can't"; + mes "do anything for you."; + next; + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "[Bad Ending]"; + mes "Hmm..."; + mes "You really"; + mes "shouldn't be"; + mes "in this place..."; + close; + } + mes "[Bad Ending]"; + mes "Great, you know the"; + mes "password! Now, did you"; + mes "want me to remove the"; + mes "Wedding Ring in your"; + mes "inventory?"; + next; + switch(select("Drop 1 Wedding Ring.:Keep it.")) { + case 1: + set .@ring, (Sex)?2634:2635; //Bridegroom_Ring, Bride_Ring + if (countitem(.@ring)) { + delitem .@ring,1; + mes "[Bad Ending]"; + mes "It's done!"; + } else { + mes "[Bad Ending]"; + mes "I couldn't find"; + mes "the Wedding Ring..."; + mes "Please make sure"; + mes "that it's not equipped."; + } + close; + case 2: + mes "[Bad Ending]"; + mes "You sure you want"; + mes "to keep that ring?"; + mes "Alright, but if it becomes"; + mes "a problem, you come to me."; + close; + } +} + +prt_church,22,179,4 script Remarry Staff 71,{ + callfunc "F_GM_NPC"; + mes "[Wedding Again]"; + mes "Hmm...?"; + mes "What exactly are"; + mes "you doing here?"; + next; + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "[Wedding Again]"; + mes "Ahk!"; + mes "An adventurer"; + mes "like you shouldn't"; + mes "be in this place!"; + close; + } + if (getpartnerid()) { + mes "[Wedding Again]"; + mes "Hmm..."; + mes "I can only create"; + mes "a Wedding Ring if the"; + mes "character is married."; + close; + } + mes "[Wedding Again]"; + mes "Ah, I see that you"; + mes "know the password."; + mes "Alright, if you somehow"; + mes "lost your Wedding Ring,"; + mes "I can make you a new one."; + next; + switch(select("Make new Wedding Ring.:Cancel.")) { + case 1: + set .@ring, (Sex)?2634:2635; //Bridegroom_Ring, Bride_Ring + if (countitem(.@ring) || isequipped(.@ring)) { + mes "[Wedding Again]"; + mes "Wait, wait..."; + mes "You're wearing your"; + mes "Wedding Ring. I better"; + mes "not make you another since"; + mes "you don't need more than one."; + } else { + getitem .@ring,1; + mes "[Wedding Again]"; + mes "Here you go~"; + mes "It's your brand"; + mes "new Wedding Ring!"; + } + close; + case 2: + mes "[Wedding Again]"; + mes "Alright. If you ever"; + mes "lose your Wedding Ring,"; + mes "come to me if you happen"; + mes "to need a new one, okay?"; + close; + } +} diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index 28221ad34..418e7e8b0 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -1,29 +1,29 @@ //===== Hercules Script ====================================== //= Mercenary related NPCs -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.4 -//===== Description: ========================================= +//===== Description: ========================================= //= [Official Conversion] //= Sells Lancer, Sword, and Archer mercenaries, //= along with related mercenary items. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] //= 1.1 Optimization. [Zephyrus] //= 1.2 Removed redundent input. [L0ne_W0lf] //= 1.3 Duplicates now spawned from floating NPCs. [L0ne_W0lf] //= 1.4 Optimized and fixed wrong item id. [Joseph] -//============================================================ +//============================================================ - script Mercenary Manager#main -1,{ setarray .@name$, "Spear", "Sword", "Bow"; setarray .@faith$, "SPEAR_MERC_GUILD", "SWORD_MERC_GUILD", "ARCH_MERC_GUILD"; setarray .@item, 12182, 12172, 12162; - set .@faith_lancer, mercenary_get_faith(getd(.@faith$[.@type])); set .@npc$, strnpcinfo(2); for (set .@size, getarraysize(.@name$); .@i < .@size; set .@i, .@i + 1) if (.@npc$ == .@name$[.@i]) set .@type, .@i; + set .@faith_merc, mercenary_get_faith(getd(.@faith$[.@type])); mes "[Mercenary Manager]"; mes "Welcome to the"; mes .@npc$ + " Mercenary Guild."; @@ -62,7 +62,7 @@ mes "free to come back if your"; mes "needs change. Thank you~"; } - else if(.@FaithCost && .@faith_lancer < .@FaithCost) { + else if(.@FaithCost && .@faith_merc < .@FaithCost) { mes "[Mercenary Manager]"; mes "Oh... Your Loyalty rating"; mes "with the " + .@npc$ + " Mercenary"; @@ -176,7 +176,7 @@ mes "Mercenary. Have you considered"; mes "hiring a lower grade Mercenary?"; } - else if (.@faith_lancer < 500) { + else if (.@faith_merc < 500) { mes "[Mercenary Manager]"; mes "I'm sorry, but your"; mes "Loyalty rating is too"; diff --git a/npc/other/monster_museum.txt b/npc/other/monster_museum.txt index d1202b33d..ff18c4e30 100644 --- a/npc/other/monster_museum.txt +++ b/npc/other/monster_museum.txt @@ -1,15 +1,15 @@ //===== Hercules Script ====================================== //= Juno Monster Museum -//===== By: ================================================== +//===== By: ================================================== //= Muad_Dib (The Prometheus Project) //= L0ne_W0lf -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.4 -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Description: ========================================= +//= [Official Conversion] //= Juno Monster Museum - Non Player Character Locations //= - Information about various monsters -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= // 07/06/05 : Added 1st Version. [Muad_Dib] //= Adapted to rAthena Scripting Language by [Lance] //= 1.1a Fixed typos [Haplo] @@ -18,7 +18,7 @@ // -Thanks to Dr.Evil //= 1.4 Corrected a few typos. (bugreport:1077) [L0ne_W0lf] //= 1.4a "S_BonusREward" -> "S_BonusReward" [Paradox924X] -//============================================================ +//============================================================ yuno_in03,32,15,3 script Museum Guide 67,{ mes "[Cenia]"; diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt index 273df9345..f52391d19 100644 --- a/npc/other/monster_race.txt +++ b/npc/other/monster_race.txt @@ -3,13 +3,12 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.8 +//= 2.0 //===== Description: ========================================= //= [Official Conversion] //= - Hugel Monster Races (Single and Double) //= - Prize Medal Exchanging, and Monster Track NPCs. //= - Contains both euRO and iRO dialog. -//= - There are no permenent variables. //===== Additional Comments: ================================= //= 1.0 First version. Please report bugs. [L0ne_W0lf] //= 1.1 Corrected a minor typo. [L0ne_W0lf] @@ -20,10 +19,12 @@ //= 1.6 Updated experience rewards. [L0ne_W0lf] //= 1.7 Optimization, -4000 lines (more can still be done). [Euphy] //= 1.8 Optimized. -//= Fixed Medal Distributor (Dual Race) disappears accordingly. [Joseph] +//= Fixed Medal Distributor (Dual Race) disappears accordingly. [Joseph] +//= 1.9 Updated RE/Pre-RE EXP. [Euphy] +//= 2.0 Added GM management NPC. [Euphy] //============================================================ -// Monstrer Race - Single Monster Race +// Monster Race - Single Monster Race //============================================================ hugel,51,61,0 script #race_timer1-1 -1,{ OnInit: @@ -656,7 +657,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "that you enjoy the race~"; mes "Let me guide you inside"; mes "the Monster Race Arena now."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -677,7 +678,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "you enjoy this race."; mes "Let me guide you now"; mes "to the Monster Race Arena."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -714,7 +715,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "Thank you~"; mes "I hope you enjoy"; mes "watching this race!"; - set zeny,zeny-500; + set Zeny, Zeny-500; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -733,7 +734,13 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "which the winners can claim"; mes "their Prize Medals. The gate"; mes "will open soon, so please wait."; - close; + close; +OnEnable: + enablenpc "Eckar Ellebird#single"; + end; +OnDisable: + disablenpc "Eckar Ellebird#single"; + end; } p_track01,39,49,3 script Game Guide#single 845,{ @@ -993,7 +1000,7 @@ p_track01,55,28,0 duplicate(Tire_1) Tire6#4 -1,0,0 p_track01,51,28,0 duplicate(Tire_1) Tire6#5 -1,0,0 p_track01,47,28,0 duplicate(Tire_1) Tire6#6 -1,0,0 -// Monstrer Race - Dual Monster Race +// Monster Race - Dual Monster Race //============================================================ hugel,47,56,0 script #race_timer2-1 -1,{ OnEnable: @@ -1274,7 +1281,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "that you enjoy the race~"; mes "Let me guide you inside"; mes "the Monster Race Arena now."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -1297,7 +1304,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "you enjoy this race."; mes "Let me guide you now"; mes "to the Monster Race Arena."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -1335,7 +1342,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "Thank you~"; mes "I hope you enjoy"; mes "watching this race!"; - set zeny,zeny-500; + set Zeny, Zeny-500; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -1346,7 +1353,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "I'm sorry, but you don't"; mes "have enough money to pay"; mes "the 500 zeny spectator fee."; - close; + close; } mes "[Eckar Erenes]"; mes "I'm sorry, but a monster"; @@ -1356,6 +1363,12 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "their Prize Medals. The gate"; mes "will open soon, so please wait."; close; +OnEnable: + enablenpc "Eckar Erenes#double"; + end; +OnDisable: + disablenpc "Eckar Erenes#double"; + end; } p_track02,73,22,1 script Ticket Helper#2 899,{ @@ -1412,12 +1425,12 @@ p_track02,73,22,1 script Ticket Helper#2 899,{ set .@m, 0; set .@m, select (.@m$); switch (.@m) { - Case 1: setarray .@w$, "a friendly","Poring type monster"; break; - Case 2: setarray .@w$, "an adorable","Lunatic type monster"; break; - Case 3: setarray .@w$, "a darling","Savage Babe monster"; break; - Case 4: setarray .@w$, "a gentle baby","Desert Wolf monster"; break; - Case 5: setarray .@w$, "a small, yet","demonic, Deviruchi"; break; - Case 6: setarray .@w$, "a naughty","Baphomet Jr. monster"; break; + case 1: setarray .@w$, "a friendly","Poring type monster"; break; + case 2: setarray .@w$, "an adorable","Lunatic type monster"; break; + case 3: setarray .@w$, "a darling","Savage Babe monster"; break; + case 4: setarray .@w$, "a gentle baby","Desert Wolf monster"; break; + case 5: setarray .@w$, "a small, yet","demonic, Deviruchi"; break; + case 6: setarray .@w$, "a naughty","Baphomet Jr. monster"; break; } mes "[Ticket Helper]"; mes "You've chosen"; @@ -1717,12 +1730,12 @@ p_track02,67,45,5 script Medal Distributor#medal 845,{ mes "wager on the monster races!"; close; } else if (monster_race_2_1 == 7 && monster_race_2_2 == 7) { - mes "[Medal Distributor]"; - mes "Thanks for visiting the"; - mes "Monster Race Arena, and"; - mes "I hope you enjoy your time"; - mes "here. I'll see you next time~"; - close; + mes "[Medal Distributor]"; + mes "Thanks for visiting the"; + mes "Monster Race Arena, and"; + mes "I hope you enjoy your time"; + mes "here. I'll see you next time~"; + close; } else if (monster_race_2_1 != $@mon_race_2_1 || monster_race_2_2 != $@mon_race_2_2) { mes "[Medal Distributor]"; mes "You may not have wagered"; @@ -2265,11 +2278,11 @@ ein_in01,85,208,5 script Ei'felle#repay01 854,{ next; switch (select("Glittering Jacket:Fire Property Armor:Earth Property Armor:Wind Property Armor:Water Property Armor:Cancel")) { case 1: callsub S_BonusReward,500,2319; end; - case 2: callsub S_BonusReward,1000,2345; end; + case 2: callsub S_BonusReward,1000,2345; end; case 3: callsub S_BonusReward,1000,2351; end; - case 4: callsub S_BonusReward,1000,2349; end; - case 5: callsub S_BonusReward,1000,2347; end; - case 6: close; + case 4: callsub S_BonusReward,1000,2349; end; + case 5: callsub S_BonusReward,1000,2347; end; + case 6: close; } } setarray .@m$, "Dagger","One Handed Sword","Two Handed Sword","Axe","Mace","Bow","Staff","Book","Spear","Katar","Knuckle","Whip","Musical Instrument"; @@ -2281,54 +2294,54 @@ ein_in01,85,208,5 script Ei'felle#repay01 854,{ mes "that you want me to create."; next; switch (.@m) { - Case 0: + case 0: setarray .@mw$, "Ginnungagap:Grimtooth:Dragon Killer:Mail Breaker:Bazerald:Sword Breaker:Ice Pick:Sucsamad:Kitchen Knife:Azoth:Exorciser:Assassin Dagger:Moonlight Dagger:Weeder Knife:Cursed Dagger:Dagger of Counter:Combat Knife:Fortune Sword"; setarray .@mw, 13002,1237,13001,1225,1231,1224,1230,1236,1229,1235,1233,1232,1234,1227,1241,1242,1228,1223; break; - Case 1: + case 1: setarray .@mw$, "Nagan:Immaterial Sword:Mysteltainn:Byeollungum:Star Dust Blade:Caesar's Sword:Ice Falchion:Excalibur:Edge:Cutlus:Solar Sword:Tirfing:Fireblend"; setarray .@mw, 1130,1141,1138,1140,1148,1134,1131,1137,1132,1135,1136,1139,1133; break; - Case 2: + case 2: setarray .@mw$, "Dragon Slayer:Masamune:Muramasa:Schweizersabel:Executioner:Zweihander:Katzbalger"; setarray .@mw, 1166,1165,1164,1167,1169,1168,1170; break; - Case 3: + case 3: setarray .@mw$, "Great Axe:Guillotine:Light Epsilon:Bloody Axe:Sabbath:Slaughter:Cleaver:Tomahawk"; setarray .@mw, 1364,1369,1366,1363,1365,1367,1305,1368; break; - Case 4: + case 4: setarray .@mw$, "Golden Mace:Grand Cross:Long Mace:Spike:Slash:Quadrille"; setarray .@mw, 1524,1528,1525,1523,1526,1527; break; - Case 5: + case 5: setarray .@mw$, "Roguemaster's Bow:Dragon Wing:Rudra's Bow:Ballista"; setarray .@mw, 1719,1724,1720,1722; break; - Case 6: + case 6: setarray .@mw$, "Wing Staff:Wizardry Staff"; setarray .@mw, 1616,1473; - Case 7: + case 7: setarray .@mw$, "Legacy of Dragon:Book of the Apocalypse:Girl's Diary:Hardcover Book"; setarray .@mw, 1559,1557,1558,1561; break; - Case 8: + case 8: setarray .@mw$, "Gae Bolg:Gelerdria:Gungnir:Skewer:Longinus's Spear:Brionac:Bill Guisarme:Zephyrus:Crescent Scythe:Tjungkuletti:Hellfire"; setarray .@mw, 1474,1414,1413,1415,1469,1470,1467,1468,1466,1416,1471; break; - Case 9: + case 9: setarray .@mw$, "Infiltrator:Bloody Roar:Unholy Touch"; setarray .@mw, 1261,1265,1263; break; - Case 10: + case 10: setarray .@mw$, "Hatii Claw:Berserk:Kaiser Knuckle"; setarray .@mw, 1815,1814,1813; break; - Case 11: + case 11: setarray .@mw$, "Lariat:Rapture Rose:Blade Whip:Chemeti:Queen's Whip"; setarray .@mw, 1962,1963,1969,1964,1970; break; - Case 12: + case 12: setarray .@mw$, "Oriental Lute:Electric Guitar"; setarray .@mw, 1918,1913; break; @@ -2383,18 +2396,41 @@ S_Reward: mes "Now do you see the"; mes "power of hope?"; delitem 7515,1; //Marvelous_Medal - if (BaseLevel < 21) getexp 200,0; - else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 300,0; - else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 1000,0; - else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 1800,0; - else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 2500,0; - else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 4700,0; - else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 5500,0; - else if ((BaseLevel > 80) && (BaseLevel < 96)) getexp 7000,0; - else if ((BaseLevel > 95) && (BaseLevel < 111)) getexp 8800,0; - else if ((BaseLevel > 110) && (BaseLevel < 126)) getexp 10900,0; - else if ((BaseLevel > 125) && (BaseLevel < 141)) getexp 13300,0; - else getexp 16000,0; + if (checkre(3)) { + if (BaseLevel < 21) getexp 110,0; + else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 280,0; + else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 1000,0; + else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 1200,0; + else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 1500,0; + else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 2800,0; + else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 4500,0; + else getexp 8500,0; + + /* iRO EXP Table: + if (BaseLevel < 21) getexp 200,0; + else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 300,0; + else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 1000,0; + else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 1800,0; + else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 2500,0; + else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 4700,0; + else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 5500,0; + else if ((BaseLevel > 80) && (BaseLevel < 96)) getexp 7000,0; + else if ((BaseLevel > 95) && (BaseLevel < 111)) getexp 8800,0; + else if ((BaseLevel > 110) && (BaseLevel < 126)) getexp 10900,0; + else if ((BaseLevel > 125) && (BaseLevel < 141)) getexp 13300,0; + else getexp 16000,0; + */ + + } else { + if (BaseLevel < 21) getexp 150,0; + else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 300,0; + else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 2000,0; + else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 8000,0; + else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 25000,0; + else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 47000,0; + else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 55000,0; + else getexp 65000,0; + } close; case 2: mes "[Ei'felle]"; @@ -2422,18 +2458,87 @@ S_Reward: mes "whatever you feed it."; mes "Placebos and psychosomatic symptoms-- it all ties together."; delitem 7515,1; //Marvelous_Medal - if (BaseLevel < 21) getexp 0,150; - else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 0,200; - else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 0,750; - else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 0,1800; - else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 0,2500; - else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 0,3525; - else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 0,4125; - else if ((BaseLevel > 80) && (BaseLevel < 96)) getexp 0,5250; - else if ((BaseLevel > 95) && (BaseLevel < 111)) getexp 0,6600; - else if ((BaseLevel > 110) && (BaseLevel < 126)) getexp 0,8175; - else if ((BaseLevel > 125) && (BaseLevel < 141)) getexp 0,9975; - else getexp 0,12000; + if (checkre(3)) { + if (Class == Job_Novice) { + getexp 0,15; + } else if (Class == Job_Novice_High) { + getexp 0,25; + } else if ((Class >= Job_Swordman && Class <= Job_Thief) || Class == Job_Taekwon) { + if (JobLevel < 11) getexp 0,25; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,200; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,300; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,950; + else getexp 0,1800; + } else if ((Class >= Job_Knight && Class <= Job_Crusader2) || (Class >= Job_Swordman_High && Class <= Job_Thief_High)) { + if (JobLevel < 11) getexp 0,40; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,300; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,550; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,1080; + else getexp 0,2150; + } else { + if (JobLevel < 11) getexp 0,55; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,330; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,600; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,1200; + else if ((JobLevel > 40) && (JobLevel < 51)) getexp 0,1750; + else getexp 0,2950; + } + + /* iRO JEXP Table: + if (BaseLevel < 21) getexp 0,150; + else if ((BaseLevel > 20) && (BaseLevel < 31)) getexp 0,200; + else if ((BaseLevel > 30) && (BaseLevel < 41)) getexp 0,750; + else if ((BaseLevel > 40) && (BaseLevel < 51)) getexp 0,1800; + else if ((BaseLevel > 50) && (BaseLevel < 61)) getexp 0,2500; + else if ((BaseLevel > 60) && (BaseLevel < 71)) getexp 0,3525; + else if ((BaseLevel > 70) && (BaseLevel < 81)) getexp 0,4125; + else if ((BaseLevel > 80) && (BaseLevel < 96)) getexp 0,5250; + else if ((BaseLevel > 95) && (BaseLevel < 111)) getexp 0,6600; + else if ((BaseLevel > 110) && (BaseLevel < 126)) getexp 0,8175; + else if ((BaseLevel > 125) && (BaseLevel < 141)) getexp 0,9975; + else getexp 0,12000; + */ + + } else { + if (Class == Job_Novice) { + getexp 0,30; + } else if ((Class >= Job_Swordman && Class <= Job_Thief) || Class == Job_Taekwon) { + if (JobLevel < 11) getexp 0,50; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,250; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,1500; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,7000; + else getexp 0,20000; + } else if (Class >= Job_Knight && Class <= Job_Crusader2) { + if (JobLevel < 11) getexp 0,80; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,2000; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,10000; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,25000; + else getexp 0,38000; + } else if (Class == Job_Novice_High) { + getexp 0,40; + } else if (Class >= Job_Swordman_High && Class <= Job_Thief_High) { + if (JobLevel < 11) getexp 0,65; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,300; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,2500; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,10000; + else getexp 0,25000; + } else if (Class >= Job_Lord_Knight && Class <= Job_Paladin_2) { + if (JobLevel < 11) getexp 0,150; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,2200; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,13000; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,27000; + else if ((JobLevel > 40) && (JobLevel < 51)) getexp 0,38000; + else getexp 0,40000; + } else { + if (JobLevel < 11) getexp 0,50; + else if ((JobLevel > 10) && (JobLevel < 21)) getexp 0,250; + else if ((JobLevel > 20) && (JobLevel < 31)) getexp 0,1500; + else if ((JobLevel > 30) && (JobLevel < 41)) getexp 0,7000; + else if ((JobLevel > 40) && (JobLevel < 51)) getexp 0,20000; + else if ((JobLevel > 50) && (JobLevel < 61)) getexp 0,30000; + else getexp 0,38000; + } + } close; case 3: mes "[Ei'felle]"; @@ -2504,7 +2609,7 @@ S_Reward: mes "enter a number from 1 to 100."; mes "If you want to give me more"; mes "medals, then perhaps you"; - mes "should just give them all to me~ ^FFFFFF ^000000"; + mes "should just give them all to me~"; next; } else break; } @@ -2538,9 +2643,6 @@ S_Reward: mes "come back as soon as you can."; close; } - delitem 7515,1; //Marvelous_Medal - set ein_medal01,1; - close; case 4: mes "[Ei'felle]"; mes "Well, I've been able to"; @@ -2702,35 +2804,35 @@ hugel,71,83,4 script Wayne 900,{ set .@m$, .@m$ + .@pm[.@i] + " Prize medal:"; set .@m, select (.@m$) - 1; switch (.@m) { - Case 0: + case 0: setarray .@mr$, "2 Hinale Leaflets:2 Aloe Leaflets:1 Mastela Fruit:5 Witch Starsands:4 Condensed Red Potions"; setarray .@mr, 520,2,521,2,522,1,1061,5,545,4; break; - Case 1: + case 1: setarray .@mr$, "1 Royal Jelly:6 Holy Waters"; setarray .@mr, 526,1,523,6; break; - Case 2: + case 2: setarray .@mr$, "1 Cookie Bag:1 First Aid Kit"; setarray .@mr, 12130,1,12110,1; break; - Case 3: + case 3: set .@mr$, "1 Gift Box"; setarray .@mr, 644,1; break; - Case 4: + case 4: set .@mr$, "1 Old Blue Box"; setarray .@mr, 603,1; break; - Case 5: + case 5: set .@mr$, "1 Taming Gift Set"; setarray .@mr, 12105,1; break; - Case 6: + case 6: set .@mr$, "1 Old Purple Box"; setarray .@mr, 617,1; break; - Case 7: + case 7: set .@mr$, "1 Poring Box"; setarray .@mr, 12109,1; break; @@ -2764,7 +2866,7 @@ hugel,71,83,4 script Wayne 900,{ } } -// Monstrer Race Affiliated NPCs +// Monster Race Affiliated NPCs //============================================================ airplane,246,47,1 script Eocatt#decoy01 878,{ mes "[Eocatt]"; @@ -2963,3 +3065,54 @@ p_track01,45,42,3 script Absent Minded Man#single 881,{ mes "right? What's going on?!"; close; } + +hugel,5,5,3 script Monster Race Manager 868,{ + callfunc "F_GM_NPC"; + mes "[Monster Race Manager]"; + mes "I can activate and"; + mes "deactivate the Arena"; + mes "Entry NPCs for the Single"; + mes "and Dual Monster Races."; + next; + set .@select, select("Single Race Entry - ON:Dual Race Entry - ON:Single Race Entry - OFF:Dual Race Entry - OFF"); + mes "[Monster Race Manager]"; + mes "Please enter"; + mes "the password."; + next; + set .@i, callfunc("F_GM_NPC",1854,0,0,2000); + if (.@i == -2) { + mes "[Monster Race Manager]"; + mes "Error."; + close; + } else if (.@i == -1) { + mes "[Monster Race Manager]"; + mes "Incorrect password."; + close; + } else if (.@i == 0) { + close; + } else { + mes "[Monster Race Manager]"; + switch(.@select) { + case 1: + mes "The Single Monster"; + mes "Race Entry NPC is ON."; + donpcevent "Eckar Ellebird#single::OnEnable"; + close; + case 2: + mes "The Dual Monster"; + mes "Race Entry NPC is ON."; + donpcevent "Eckar Erenes#double::OnEnable"; + close; + case 3: + mes "The Single Monster"; + mes "Race Entry NPC is OFF."; + donpcevent "Eckar Ellebird#single::OnDisable"; + close; + case 4: + mes "The Dual Monster"; + mes "Race Entry NPC is OFF."; + donpcevent "Eckar Erenes#double::OnDisable"; + close; + } + } +} diff --git a/npc/other/msg_boards.txt b/npc/other/msg_boards.txt index eef063dff..d4e3e7e32 100644 --- a/npc/other/msg_boards.txt +++ b/npc/other/msg_boards.txt @@ -1,11 +1,11 @@ //===== Hercules Script ====================================== //= Misc. Message Boards -//===== By: ================================================== +//===== By: ================================================== //= kobra_k88 //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.6 -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.7 +//===== Description: ========================================= //= Misc. Message Boards for: //= - Prontera //= - Morroc @@ -13,7 +13,7 @@ //= - Al De Baran //= - Izlude //= - Alberta -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= Rearranged [Lupus] //= Fixed spelling mistakes. [Nexon] //= 1.3 Removed Duplicates [Silent] @@ -21,6 +21,7 @@ //= 1.5 Removed a duplicate related to the Sign Quest. [SinSloth] //= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 1.6 Commented out conflicting npcs. (bugreport:4093) [L0ne_W0lf] +//= 1.7 Moved Izlude NPCs to Pre-RE path. [Euphy] //============================================================ // Prontera @@ -234,20 +235,6 @@ aldebaran,217,222,1 script Sign#Alde5 111,{ close; } -// Izlude -//============================================================ -izlude,54,139,1 script Sign#Iz1 111,{ - mes "^993300- The Sign Reads -^000000"; - mes "Welcome to the Swordsman Academy."; - close; -} - -izlude,144,148,1 script Sign#Iz2 111,{ - mes "^993300- The Sign Reads -^000000"; - mes "Welcome."; - close; -} - // Alberta //============================================================ alberta,35,241,1 script Billboard#Alb1 111,{ diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt index 95a17d241..d62f41654 100644 --- a/npc/other/poring_war.txt +++ b/npc/other/poring_war.txt @@ -1,13 +1,13 @@ -//===== Hercules Script ====================================== +//===== Hercules Script ====================================== //= Poring War -//===== By: ================================================== +//===== By: ================================================== //= Kisuka -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.2 -//===== Description: ========================================= -//= [Aegis Conversion] -//= Poring War -//===== Additional Comments: ================================= +//===== Description: ========================================= +//= [Official Conversion] +//= Join a team in battle between Angeling and Deviling. +//===== Additional Comments: ================================= //= 1.0 First version. [Kisuka][5511] //= 1.1 Fixed some typos/bugs. [CalciumKid] //= 1.1a Fixed Waiting rooms witht he default MAX_LEVEL [Slim] @@ -45,7 +45,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 909,{ close2; warp "poring_w01",112,138; end; - }else{ + } else { mes "[Poring]"; mes "Oh, and there's an entrance fee of 500 zeny, ring."; mes "..........."; @@ -123,7 +123,7 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ mes "1 of 7 diffeent kinds of figures will be selected."; next; if(select("Draw:Cancel") == 1) { - if(countitem(7539) >= 50) { + if (countitem(7539) >= 50) { mes "Insert the Poring coin and pull the lever."; mes "Click~ The item came out of the mouth of the Poring with a rumbling sound."; mes "What could it be?"; @@ -141,7 +141,7 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ delitem 7539,50; // Poring_Coin getitem .@Random_Figure,1; close; - }else{ + } else { mes "Not enough coins."; close; } @@ -208,11 +208,11 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ end; S_PoringVending: - if(countitem(7539) >= getarg(1)) { + if (countitem(7539) >= getarg(1)) { mes "Click~ The item came out of the mouth of the Poring with a rumbling sound."; delitem 7539,getarg(1); // Poring_Coin getitem getarg(0),1; - }else{ + } else { mes "Not enough coins."; } close; @@ -289,7 +289,7 @@ poring_w01,96,97,3 script Sweet Devi#wop 738,{ mes "Oh, Alright. I can help."; mes "I'll send you back to your savepoint."; close2; - if(WoP_SaveMap$ != "") { + if (WoP_SaveMap$ != "") { savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y; set WoP_SaveMap$,""; set WoP_SaveMap_X,0; @@ -302,7 +302,7 @@ poring_w01,96,97,3 script Sweet Devi#wop 738,{ OnPCLogoutEvent: getmapxy .@map$,.@x,.@y,0; if (.@map$ == "poring_w02") { - if(WoP_SaveMap$ != "") { + if (WoP_SaveMap$ != "") { savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y; set WoP_SaveMap$,""; set WoP_SaveMap_X,0; @@ -316,7 +316,7 @@ OnPCLogoutEvent: OnPCDieEvent: getmapxy .@map$,.@x,.@y,0; if (.@map$ == "poring_w02" && wop_team) { - if(getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") { + if (getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") { set WoP_SaveMap$,getsavepoint(0); set WoP_SaveMap_X,getsavepoint(1); set WoP_SaveMap_Y,getsavepoint(2); @@ -388,12 +388,12 @@ OnInit: OnStartArena: warpwaitingpc "poring_w02",26,175; disablewaitingroomevent; - if($@wop_teamcount == 0) { + if ($@wop_teamcount == 0) { set $@wop_teamcount,1; donpcevent "Poring#wop_door_d::OnDevilingStart"; donpcevent "#wop_warp_rtry::OnStop"; } - else if($@wop_teamcount == 1) { + else if ($@wop_teamcount == 1) { donpcevent "#wop_master::OnStart"; donpcevent "Poring#wop_door_d::OnStop"; stopnpctimer; @@ -480,12 +480,12 @@ OnInit: OnStartArena: warpwaitingpc "poring_w02",170,175; disablewaitingroomevent; - if($@wop_teamcount == 0) { + if ($@wop_teamcount == 0) { set $@wop_teamcount,1; donpcevent "Poring#wop_door_a::OnAngelingStart"; donpcevent "#wop_warp_rtry::OnStop"; } - else if($@wop_teamcount == 1) { + else if ($@wop_teamcount == 1) { donpcevent "#wop_master::OnStart"; donpcevent "Poring#wop_door_a::OnStop"; stopnpctimer; @@ -629,7 +629,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ } set .@a_tname$,getpartyname($@wop_team_a); set .@pname$,getpartyname(getcharid(1)); - if($@wop_team_a != 0 && $@wop_team_a == getcharid(1)) { + if ($@wop_team_a != 0 && $@wop_team_a == getcharid(1)) { mes "[Mr. Doppel]"; mes "So, everyone joined the party?"; mes "The name of the party is... " + .@pname$ + ", right?"; @@ -646,7 +646,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ mes "If you don't get there in time, you won't make it to the battle."; close; case 2: - if((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { mes "[Mr. Doppel]"; mes "So, you are the leader. Before going to the battlefield, you should check all your members."; next; @@ -678,8 +678,8 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ } } else { - if((getpartyleader(getcharid(1),2) == getcharid(0))) { - if($@wop_team_a == 0) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ($@wop_team_a == 0) { mes "[Mr. Doppel]"; mes "So, you are the party leader of Angeling Team."; mes "Are you sure all the members are in your party?"; @@ -760,7 +760,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ } set .@d_tname$,getpartyname($@wop_team_d); set .@pname$,getpartyname(getcharid(1)); - if($@wop_team_d != 0 && $@wop_team_d == getcharid(1)) { + if ($@wop_team_d != 0 && $@wop_team_d == getcharid(1)) { mes "[Mr. Doppel]"; mes "So, everyone joined the party?"; mes "The name of the party is... " + .@pname$ + ", right?"; @@ -777,7 +777,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "If you don't get there in time, you won't make it to the battle."; close; case 2: - if((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { mes "[Mr. Doppel]"; mes "So, you are the leader. Before going to the battlefield, you should check all your members."; next; @@ -795,7 +795,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ warp "poring_w02",153,82; end; } - }else{ + } else { mes "[Mr. Doppel]"; mes "Right. I'm gonna send you to the battle staging area."; mes "Wait for all the other party members there."; @@ -806,9 +806,9 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ end; } } - }else{ - if((getpartyleader(getcharid(1),2) == getcharid(0))) { - if($@wop_team_d == 0) { + } else { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ($@wop_team_d == 0) { mes "[Mr. Doppel]"; mes "So, you are the party leader of Deviling Team."; mes "Are you sure all the members are in your party?"; @@ -840,7 +840,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "The clock is ticking. Make up your mind and register as soon as you can."; close; } - }else{ + } else { mes "[Mr. Doppel]"; mes "So, you are the leader of the party."; mes "Haven't you finished the party registration yet?"; @@ -852,7 +852,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "Please, confirm."; close; } - }else{ + } else { mes "[Mr. Doppel]"; mes "If you aren't a registered member of the party, you can't join the battle."; next; @@ -905,7 +905,7 @@ OnReset: stopnpctimer; end; -Onstart: +OnStart: initnpctimer; end; @@ -1087,7 +1087,7 @@ OnAngelingSpawn: OnMyMobDead: set $@wop_deadcount_a,$@wop_deadcount_a + 1; - if($@wop_deadcount_a == 1) { + if ($@wop_deadcount_a == 1) { mapannounce "poring_w02","Mr. Doppel: The Angeling on the 1st base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1121,7 +1121,7 @@ OnAngelingSpawn: OnMyMobDead: set $@wop_deadcount_a,$@wop_deadcount_a + 1; - if($@wop_deadcount_a == 1) { + if ($@wop_deadcount_a == 1) { mapannounce "poring_w02","Mr. Doppel: The Angeling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1156,7 +1156,7 @@ OnDevilingSpawn: OnMyMobDead: set $@wop_deadcount_d,$@wop_deadcount_d + 1; - if($@wop_deadcount_d == 1) { + if ($@wop_deadcount_d == 1) { mapannounce "poring_w02","Mr. Doppel: The Deviling on the 1st base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1191,7 +1191,7 @@ OndevilingSpawn: OnMyMobDead: set $@wop_deadcount_d,$@wop_deadcount_d + 1; - if($@wop_deadcount_d == 1) { + if ($@wop_deadcount_d == 1) { mapannounce "poring_w02","Mr. Doppel: The deviling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1224,14 +1224,14 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } set .@a_point,$@wop_deadcount_a; set .@d_point,$@wop_deadcount_d; - if(getcharid(1) == $@wop_team_a) { - if(.@a_point < .@d_point) { + if (getcharid(1) == $@wop_team_a) { + if (.@a_point < .@d_point) { mes "[Devi]"; mes "Good work!"; mes "Thanks to you, we increased our chances of victory."; mes "Please, accept these Poring Coins as a sign of our appreciation."; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1251,13 +1251,13 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ end; } } - else if(.@a_point == .@d_point) { + else if (.@a_point == .@d_point) { mes "[Devi]"; mes "You did the best you could."; mes "I' ts a shame the battle was tied..."; mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin."; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1279,7 +1279,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } else { - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Well, I guess we had bad luck..."; mes "I cant give you anything, since we lost and everything..."; @@ -1305,7 +1305,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } } - else if(getcharid(1) == $@wop_team_d) { + else if (getcharid(1) == $@wop_team_d) { if (.@a_point > .@d_point) { mes "[Devi]"; mes "Good work!"; @@ -1332,13 +1332,13 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ end; } } - else if(.@a_point == .@d_point) { + else if (.@a_point == .@d_point) { mes "[Devi]"; mes "You did the best you could."; mes "It's a shame the battle was tied..."; mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin."; next; - if(wop_team == 2) { + if (wop_team == 2) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1360,7 +1360,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } else { - if(wop_team == 2) { + if (wop_team == 2) { mes "[Devi]"; mes "Well, I guess we had bad luck..."; mes "I cant give you anything, since we lost and everything..."; @@ -1450,20 +1450,20 @@ OnTimer68100: //============================================================ poring_w02,99,52,0 script Angeling Guardian#wop_da 111,{ cutin "wop_emb0" + $@wop_doorcount_a,1; - if($@wop_doorcount_a < 4) { + if ($@wop_doorcount_a < 4) { if (wop_team == 2) { mes "There is a device to equip the War Badges."; mes "I can see the empty slots to equip the Badges."; next; switch(select("Equip War Badge.:Cancel.")) { case 1: - if(countitem(7773)) { - if($@wop_doorcount_a < 4) { + if (countitem(7773)) { + if ($@wop_doorcount_a < 4) { mes "War Badge equipped."; delitem 7773,1; // War_Badge set $@wop_doorcount_a,$@wop_doorcount_a + 1; cutin "wop_emb0" + $@wop_doorcount_a,1; - if($@wop_doorcount_a == 4) { + if ($@wop_doorcount_a == 4) { next; mes "Gate Activated."; donpcevent "#aroom_ingate_wop::OnEnable"; @@ -1547,20 +1547,20 @@ OnTouch: poring_w02,98,113,0 script Deviling Guardian#wop_dd 111,{ cutin "wop_emb0" + $@wop_doorcount_d,1; - if($@wop_doorcount_d < 4) { + if ($@wop_doorcount_d < 4) { if (wop_team == 1) { mes "There is a device to equip the War Badges."; mes "I can see the empty slots to equip the Badges."; next; switch(select("Equip War Badge.:Cancel.")) { case 1: - if(countitem(7773)) { - if($@wop_doorcount_d < 4) { + if (countitem(7773)) { + if ($@wop_doorcount_d < 4) { mes "War Badge equipped."; delitem 7773,1; // War_Badge set $@wop_doorcount_d,$@wop_doorcount_d + 1; cutin "wop_emb0" + $@wop_doorcount_d,1; - if($@wop_doorcount_d == 4) { + if ($@wop_doorcount_d == 4) { next; mes "Gate Activated."; donpcevent "#droom_ingate_wop::OnEnable"; @@ -1681,14 +1681,14 @@ OnTouch: emotion e_go,0,"Angeling Side Poring#wa4"; emotion e_go,0,"Angeling Side Poring#wa5"; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Porings]"; mes "Ohhhhhh, there he is, the warrior that fought for us!!"; mes "Oh my god... Nice, ring!"; mes "Poring~ Poring~ Poooooo~"; mes "Party of Angeling~ Popopo, Poring!"; } - else if(wop_team == 2) { + else if (wop_team == 2) { mes "[Porings]"; mes "Wait, YOU! Aren't you on the side of the Devilings?!"; mes "Get out now! Leave!!"; @@ -1734,13 +1734,13 @@ OnTouch: emotion e_go,0,"Deviling Side Marin#wd4"; emotion e_go,0,"Deviling Side Marin#wd5"; next; - if(wop_team == 2) { + if (wop_team == 2) { mes "[Marins]"; mes "Ohhhh... Here is the warrior that fought for us!!"; mes "Amazing!"; mes "This proves that humans recognize us as true monsters!!"; } - else if(wop_team == 1) { + else if (wop_team == 1) { mes "[Marins]"; mes "Wait, YOU! Aren't you on the side of the Angelings?!"; mes "Get out now! Leave!!"; diff --git a/npc/other/powernpc.txt b/npc/other/powernpc.txt index 7ed2b2f14..b9e40ff7e 100644 --- a/npc/other/powernpc.txt +++ b/npc/other/powernpc.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.2 //===== Additional Comments: ================================= -//= [Aegis Conversion] +//= [Official Conversion] //= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 1.2 Cleaning. [Euphy] //============================================================ @@ -161,16 +161,16 @@ gon_test,42,89,4 script Summoner#gnp 774,{ mes "Welcome."; mes "Which monster will you recall?"; next; - set @gnpGroup,select("Group 1:Group 2:Group 3:Group 4:Group 5:Group 6:Group 7:Group 8:Group 9:Group 10:Group 11"); - set @gnpGroupMob$,.gnpMobsName$[(@gnpGroup-1)*6]; - for (set @i,1; @i < 6; set @i, @i+1) - set @gnpGroupMob$, @gnpGroupMob$ + ":" + .gnpMobsName$[(@gnpGroup-1)*6 + @i]; - set @gnpMob,select(@gnpGroupMob$); + set .@gnpGroup, select("Group 1:Group 2:Group 3:Group 4:Group 5:Group 6:Group 7:Group 8:Group 9:Group 10:Group 11"); + set .@gnpGroupMob$,.gnpMobsName$[(.@gnpGroup-1)*6]; + for (set .@i,1; .@i < 6; set .@i, .@i+1) + set .@gnpGroupMob$, .@gnpGroupMob$ + ":" + .gnpMobsName$[(.@gnpGroup-1)*6 + .@i]; + set .@gnpMob, select(.@gnpGroupMob$); mes "[SongYeunWoo]"; mes "Let the fight begin!"; close2; set in_battle,2; - if (getnpctimer(0) < 180000) monster "gon_test",56,86,.gnpMobsName$[(@gnpGroup-1)*6 + @gnpMob - 1],.gnpMobsId[(@gnpGroup-1)*6 + @gnpMob - 1],1,"Summoner#gnp::OnGnpMobDead"; + if (getnpctimer(0) < 180000) monster "gon_test",56,86,.gnpMobsName$[(.@gnpGroup-1)*6 + .@gnpMob - 1],.gnpMobsId[(.@gnpGroup-1)*6 + .@gnpMob - 1],1,"Summoner#gnp::OnGnpMobDead"; end; OnInit: initnpctimer; diff --git a/npc/other/pvp.txt b/npc/other/pvp.txt index 94ea7cf10..2e12f379f 100644 --- a/npc/other/pvp.txt +++ b/npc/other/pvp.txt @@ -3,17 +3,21 @@ //===== By: ================================================== //= kobra_k88; L0ne_W0lf, Elias (og2) //===== Current Version: ===================================== -//= 2.3 +//= 2.5 //===== Description: ========================================= //= PvP NPCs that are found in the Inns in major cities. //= Includes Yoyo Mode, Nightmare Mode, and Event Mode. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 2.0 Narrators/GateKeepers,etc. Translated from the Official 2011 [Elias] //= 2.1 Changed PVP Narrator and GateKeeper to Floating NPC [Elias] //= 2.2 Some cleaning. [Euphy] //= 2.3 Fixed grammatical errors. [Joseph] +//= 2.4 Fixed incorrect use of 'close' and some cleaning. [Joseph] +//= 2.5 Renewal/Pre-Renewal split. [Euphy] //============================================================ +// Information +//============================================================ - script PVP Narrator::pvpe -1,{ mes "[PVP Narrator]"; mes "Hello and welcome!"; @@ -21,147 +25,145 @@ mes "explaining the PVP Modes."; mes "I am the PVP Narrator!"; next; - switch(select("What is PVP?","What are the PVP Modes?","What are the rules for PVP?","Save Position.","End Dialog.")) { - case 1: - mes "[PVP Narrator]"; - mes "In short, PVP means"; - mes "' Player VS Player Mode '"; - mes "It's a unique place for people"; - mes "to duel with each other."; - next; - mes "[PVP Narrator]"; - mes "Just tell the"; - mes "^3355FFGate Keeper^000000"; - mes "that you want to try. He will"; - mes "let you enter the PVP square."; - next; - mes "[PVP Narrator]"; - mes "But, you need to be at"; - mes "least level 31. And you"; - mes "must pay 500 zeny entrance fee in order"; - mes "to enter a PVP fight square."; - break; - case 2: - mes "[PVP Narrator]"; - mes "When you are qualified, you"; - mes "can choose one of the two modes."; - mes "Yoyo Mode or Nightmare Mode."; - next; - mes "[PVP Narrator]"; - mes "Yoyo Mode is risk free."; - mes "You can experience PVP"; - mes "without any restriction or"; - mes "punishment. It is recommended"; - mes "that you practice your skills"; - mes "here before you move on."; - next; - mes "[PVP Narrator]"; - mes "Nightmare Mode is very"; - mes "dangerous! Please be cautious,"; - mes "you will lose some of your"; - mes "EXP when you are defeated. And"; - mes "there is a small chance that"; - mes "you will drop some equipment."; - next; - mes "[PVP Narrator]"; - mes "However, if you win, the"; - mes "rewards can be great!"; - mes "To avoid misunderstanding,"; - mes "you should think twice"; - mes "before you go there..."; - mes "Good Luck!"; - break; - case 3: - mes "[PVP Narrator]"; - mes "Each of the fight squares"; - mes "have a row of Narrators and"; - mes "choose them based on your"; - mes "qualifications."; - next; - mes "[PVP Narrator]"; - mes "Each Narrator will ask"; - mes "which of the five PVP maps"; - mes "you wish to go to."; - mes "Choose, and go in!"; - next; - mes "[PVP Narrator]"; - mes "Each map has a limitation on"; - mes "the number of people who can"; - mes "participate. So you will see"; - mes "figures in the corner showing"; - mes "'Attendee/Total'."; - next; - mes "[PVP Narrator]"; - mes "Also, there is a hidden EXP"; - mes "value in PVP mode. This EXP"; - mes "score will only apply inside"; - mes "of the PVP zone, so do not"; - mes "worry."; - next; - mes "[PVP Narrator]"; - mes "Every player's EXP at the"; - mes "beginning is usually 5 points."; - mes "If you win, it will"; - mes "increase by 1 point"; - next; - mes "[PVP Narrator]"; - mes "In the same way, when you"; - mes "lose... Your EXP will"; - mes "drop by 5 points."; - mes "So be careful!"; - next; - mes "[PVP Narrator]"; - mes "When you are defeated"; - mes "And your EXP is equal"; - mes "to or less than 0,"; - mes "You will be removed from PVP"; - mes "and your duel is finished!"; - next; - mes "[PVP Narrator]"; - mes "However, if your EXP is more"; - mes "than 0. You can still get help"; - mes "through other players healing..."; - mes "Do you get it?"; - next; - mes "[PVP Narrator]"; - mes "The fighting commands inside of"; - mes "PVP are the same as the normal."; - mes "All the basic controls are the"; - mes "same."; - next; - mes "[PVP Narrator]"; - mes "However, there is one thing..."; - mes "Within the PVP fight square"; - mes "and PVP fighting zones,"; - mes "you cannot save your position."; - mes "Remember well... These rules"; - mes "can help to ensure your victory."; - break; - case 4: - mes "[PVP Narrator]"; - mes "Position successfully saved..."; - mes "Thank you very much!"; - mes "We will see you again soon."; - if(strnpcinfo(4) == "morocc_in") { savepoint "morocc_in",141,139; } - if(strnpcinfo(4) == "alberta_in") { savepoint "alberta_in",22,148; } - if(strnpcinfo(4) == "prt_in") { savepoint "prt_in",54,137; } - if(strnpcinfo(4) == "geffen_in") { savepoint "geffen_in",70,59; } - if(strnpcinfo(4) == "payon_in01") { savepoint "payon_in01",142,46; } - break; - case 5: - mes "[PVP Narrator]"; - mes "With war raging between monsters"; - mes "and humans, this competition"; - mes "among people - PVP -"; - mes "encourages us all to get"; - mes "stronger. Come again,"; - mes "we welcome your challenge!"; - break; + switch(select("What is PVP?:What are the PVP Modes?:What are the rules for PVP?:Save Position.:End Dialog.")) { + case 1: + mes "[PVP Narrator]"; + mes "In short, PVP means"; + mes "' Player VS Player Mode '"; + mes "It's a unique place for people"; + mes "to duel with each other."; + next; + mes "[PVP Narrator]"; + mes "Just tell the"; + mes "^3355FFGate Keeper^000000"; + mes "that you want to try. He will"; + mes "let you enter the PVP square."; + next; + mes "[PVP Narrator]"; + mes "But, you need to be at"; + mes "least level 31. And you"; + mes "must pay 500 zeny entrance fee in order"; + mes "to enter a PVP fight square."; + break; + case 2: + mes "[PVP Narrator]"; + mes "When you are qualified, you"; + mes "can choose one of the two modes."; + mes "Yoyo Mode or Nightmare Mode."; + next; + mes "[PVP Narrator]"; + mes "Yoyo Mode is risk free."; + mes "You can experience PVP"; + mes "without any restriction or"; + mes "punishment. It is recommended"; + mes "that you practice your skills"; + mes "here before you move on."; + next; + mes "[PVP Narrator]"; + mes "Nightmare Mode is very"; + mes "dangerous! Please be cautious,"; + mes "you will lose some of your"; + mes "EXP when you are defeated. And"; + mes "there is a small chance that"; + mes "you will drop some equipment."; + next; + mes "[PVP Narrator]"; + mes "However, if you win, the"; + mes "rewards can be great!"; + mes "To avoid misunderstanding,"; + mes "you should think twice"; + mes "before you go there..."; + mes "Good Luck!"; + break; + case 3: + mes "[PVP Narrator]"; + mes "Each of the fight squares"; + mes "have a row of Narrators and"; + mes "choose them based on your"; + mes "qualifications."; + next; + mes "[PVP Narrator]"; + mes "Each Narrator will ask"; + mes "which of the five PVP maps"; + mes "you wish to go to."; + mes "Choose, and go in!"; + next; + mes "[PVP Narrator]"; + mes "Each map has a limitation on"; + mes "the number of people who can"; + mes "participate. So you will see"; + mes "figures in the corner showing"; + mes "'Attendee/Total'."; + next; + mes "[PVP Narrator]"; + mes "Also, there is a hidden EXP"; + mes "value in PVP mode. This EXP"; + mes "score will only apply inside"; + mes "of the PVP zone, so do not"; + mes "worry."; + next; + mes "[PVP Narrator]"; + mes "Every player's EXP at the"; + mes "beginning is usually 5 points."; + mes "If you win, it will"; + mes "increase by 1 point"; + next; + mes "[PVP Narrator]"; + mes "In the same way, when you"; + mes "lose... Your EXP will"; + mes "drop by 5 points."; + mes "So be careful!"; + next; + mes "[PVP Narrator]"; + mes "When you are defeated"; + mes "And your EXP is equal"; + mes "to or less than 0,"; + mes "You will be removed from PVP"; + mes "and your duel is finished!"; + next; + mes "[PVP Narrator]"; + mes "However, if your EXP is more"; + mes "than 0. You can still get help"; + mes "through other players healing..."; + mes "Do you get it?"; + next; + mes "[PVP Narrator]"; + mes "The fighting commands inside of"; + mes "PVP are the same as the normal."; + mes "All the basic controls are the"; + mes "same."; + next; + mes "[PVP Narrator]"; + mes "However, there is one thing..."; + mes "Within the PVP fight square"; + mes "and PVP fighting zones,"; + mes "you cannot save your position."; + mes "Remember well... These rules"; + mes "can help to ensure your victory."; + break; + case 4: + mes "[PVP Narrator]"; + mes "Position successfully saved..."; + mes "Thank you very much!"; + mes "We will see you again soon."; + if(strnpcinfo(4) == "morocc_in") { savepoint "morocc_in",141,139; } + if(strnpcinfo(4) == "alberta_in") { savepoint "alberta_in",22,148; } + if(strnpcinfo(4) == "prt_in") { savepoint "prt_in",54,137; } + if(strnpcinfo(4) == "geffen_in") { savepoint "geffen_in",70,59; } + if(strnpcinfo(4) == "payon_in01") { savepoint "payon_in01",142,46; } + break; + case 5: + mes "[PVP Narrator]"; + mes "With war raging between monsters"; + mes "and humans, this competition"; + mes "among people - PVP -"; + mes "encourages us all to get"; + mes "stronger. Come again,"; + mes "we welcome your challenge!"; + break; } close; } - -//PVP Narrator's Duplicates morocc_in,144,138,4 duplicate(pvpe) PVP Narrator#pe1 84 alberta_in,22,146,4 duplicate(pvpe) PVP Narrator#pe2 84 prt_in,56,140,4 duplicate(pvpe) PVP Narrator#pe3 84 @@ -169,7 +171,8 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe4 84 payon_in01,142,50,4 duplicate(pvpe) PVP Narrator#pe5 84 geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 -//Gate Keeper (Floating NPC, Locations below) +// Mode Select +//============================================================ - script Gate Keeper::gkut -1,{ mes "[Gate Keeper]"; mes "Glad to be of service."; @@ -179,7 +182,7 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 mes "modes or rules, Please ask"; mes "the Narrator..."; next; - switch(select("^FF5533' PvP Nightmare Mode'^000000","^3355FF' PvP Yoyo Mode'^000000","^3355FF' PvP Event Mode'^000000","Quit")) { + switch(select("^FF5533' PvP Nightmare Mode'^000000:^3355FF' PvP Yoyo Mode'^000000:^3355FF' PvP Event Mode'^000000:Quit")) { case 1: mes "[Gate Keeper]"; mes "I am sorry, but currently the Nightmare mode service is not available."; @@ -192,10 +195,11 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 mes "to the Yoyo Mode"; mes "fight square?"; next; - if(select("Move","Cancel")==1) { + switch(select("Move:Cancel")) { + case 1: if ((Zeny > 499) && (BaseLevel > 30)) { set Zeny, Zeny - 500; - warp "pvp_y_room",51,23; + callsub L_Warp,"pvp_y_room"; } else { mes "[Gate Keeper]"; @@ -206,15 +210,16 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 mes "that you are at least level 31!"; } close; + case 2: + mes "[Gate Keeper]"; + mes "With war raging between monsters"; + mes "and humans, this competition"; + mes "among people - PVP -"; + mes "encourages us all to get"; + mes "stronger. Come again,"; + mes "we welcome your challenge!"; + close; } - mes "[Gate Keeper]"; - mes "With war raging between monsters"; - mes "and humans, this competition"; - mes "among people - PVP -"; - mes "encourages us all to get"; - mes "stronger. Come again,"; - mes "we welcome your challenge!"; - close; case 3: mes "[Gate Keeper]"; mes "Welcome!"; @@ -232,7 +237,8 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 } mes "[Gate Keeper]"; mes "Yes, thank you for participating. Have fun!"; - warp "pvp_room",51,23; + if (Zeny >= 500) set Zeny, Zeny - 500; + callsub L_Warp,"pvp_room"; break; case 4: mes "[Gate Keeper]"; @@ -245,25 +251,54 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 84 break; } close; -} -//Gate Keeper Duplicates +L_Warp: + set .@map$,getarg(0); + if (checkre(0)) { + switch(rand(1,10)) { + case 1: warp .@map$,34,38; break; + case 2: warp .@map$,46,38; break; + case 3: warp .@map$,58,38; break; + case 4: warp .@map$,70,38; break; + case 5: warp .@map$,82,38; break; + case 6: warp .@map$,82,58; break; + case 7: warp .@map$,65,58; break; + case 8: warp .@map$,49,58; break; + case 9: warp .@map$,33,58; break; + case 10: warp .@map$,52,24; break; + } + } else + warp .@map$,51,23; + return; +} morocc_in,144,142,4 duplicate(gkut) Gate Keeper#gke1 83 alberta_in,26,146,4 duplicate(gkut) Gate Keeper#gke2 83 prt_in,52,140,4 duplicate(gkut) Gate Keeper#gke3 83 geffen_in,63,63,4 duplicate(gkut) Gate Keeper#gke4 83 payon_in01,140,53,4 duplicate(gkut) Gate Keeper#gke5 83 -//Fight square Reception Staff (Locations below) -- script FSRS::fsr -1,{ - if(strnpcinfo(4) == "pvp_y_room") { - setarray .@Maps$[0],"pvp_y_8-1","pvp_y_8-2","pvp_y_8-3","pvp_y_8-4","pvp_y_8-5"; - setarray .@Name$[0],"Prontera","Izlude","Payon","Alberta","Morroc"; - setarray .@Limit[0],128,128,128,128,128; +// PVP Warper Function +//============================================================ +// Note: The warper NPCs are in the pre-re/re paths. + +//callfunc "F_PVP_FSRS"{,<min_lvl>,<max_lvl>}; +function script F_PVP_FSRS { + if (getargcount()) { + if (BaseLevel < getarg(0) || BaseLevel > getarg(1)) { + mes "[PVP Fight Square Reception Staff]"; + mes "Sorry, but you base level has to be between LV "+getarg(0)+" and LV "+getarg(1)+"."; + close; + } + } + if (strnpcinfo(4) == "pvp_y_room") { + set .@base$, "pvp_y_"+strnpcinfo(2); + setarray .@Maps$[0], .@base$+"-1", .@base$+"-2", .@base$+"-3", .@base$+"-4", .@base$+"-5"; + setarray .@Name$[0], "Prontera", "Izlude", "Payon", "Alberta", "Morroc"; + setarray .@Limit[0], 128, 128, 128, 128, 128; } else { - setarray .@Maps$[0],"pvp_n_8-1","pvp_n_8-2","pvp_n_8-3","pvp_n_8-4","pvp_n_8-5"; - setarray .@Name$[0],"Sandwich","Lock on","Four Room","Under cross","Compass Room"; - setarray .@Limit[0],64,32,32,32,32; + setarray .@Maps$[0], "pvp_n_8-1", "pvp_n_8-2", "pvp_n_8-3", "pvp_n_8-4", "pvp_n_8-5"; + setarray .@Name$[0], "Sandwich", "Lock on", "Four Room", "Under cross", "Compass Room"; + setarray .@Limit[0], 64, 32, 32, 32, 32; } for(set .@i,0; .@i<5; set .@i,.@i+1) set .@menu$, .@menu$+.@Name$[.@i]+" ["+getmapusers(.@Maps$[.@i])+" / "+.@Limit[.@i]+"]:"; @@ -273,31 +308,16 @@ payon_in01,140,53,4 duplicate(gkut) Gate Keeper#gke5 83 if (getmapusers(.@Maps$[.@i]) >= .@Limit[.@i]) { mes "[PVP Fight Square Reception Staff]"; mes "This map is currently full."; + close; } - else warp .@Maps$[.@i],0,0; - close; - -OnInit: - waitingroom "Free for all",0; -end; + warp .@Maps$[.@i],0,0; + end; } -//Fight Square Reception Staff -pvp_y_room,86,85,4 duplicate(fsr) Fight SQ Reception#f1 105 -pvp_n_room,30,85,4 duplicate(fsr) Fight SQ Reception#f2 105 -pvp_n_8-4,33,122,0 warp Link_1-11 0,2,pvp_n_8-4,0,0 -pvp_n_8-4,62,84,0 warp Link_1-12 1,1,pvp_n_8-4,0,0 -pvp_n_8-4,49,71,0 warp Link_1-21 1,1,pvp_n_8-4,0,0 -pvp_n_8-4,56,166,0 warp Link_1-22 1,1,pvp_n_8-4,0,0 -pvp_n_8-4,99,180,0 warp Link_1-31 2,1,pvp_n_8-4,0,0 -pvp_n_8-4,137,84,0 warp Link_1-32 1,1,pvp_n_8-4,0,0 -pvp_n_8-4,150,71,0 warp Link_1-41 1,1,pvp_n_8-4,0,0 -pvp_n_8-4,144,166,0 warp Link_1-42 1,1,pvp_n_8-4,0,0 -pvp_n_8-5,30,30,0 warp Link_1-99 3,3,pvp_n_8-5,100,100 // Event Contestant Entrance -//============================================================ +//============================================================ pvp_room,54,85,4 script Registration Staff#1 105,{ if (countitem(7028) == 0) { mes "[PVP Combat Square Register Staff]"; @@ -306,15 +326,12 @@ pvp_room,54,85,4 script Registration Staff#1 105,{ mes "For details about viewers please proceed to the Register Staff on your right."; close; } - - if (.pvp_close_n_room == 1 && .pvp_close_s_room == 1 && .pvp_close_w_room == 1 && .pvp_close_e_room == 1) { - Set .pvp_close_n_room,0; - Set .pvp_close_s_room,0; - Set .pvp_close_w_room,0; - Set .pvp_close_e_room,0; + set .@size, getarraysize(.warp_x); + if (.@size == 0) { + setarray .warp_x,40,59,20,40; + setarray .warp_y,59,40,40,20; } - - if (select("Combat Square one :Cancel") == 1) { + if (select("Combat Square one:Cancel") == 1) { mes "[PVP Combat Square Register Staff]"; mes "'"+ strcharinfo(0) +"'"; mes "Are you ready?!"; @@ -325,34 +342,11 @@ pvp_room,54,85,4 script Registration Staff#1 105,{ mes "Good luck!"; close2; delitem 7028,1; //Invite_For_Duel - while(1) { - switch(rand(1,4)) { - case 1: - if (.pvp_close_n_room == 0) { - set .pvp_close_n_room,1; - warp "pvp_2vs2",40,59; - end; - } - case 2: - if (.pvp_close_s_room == 0) { - set .pvp_close_s_room,1; - warp "pvp_2vs2",59,40; - end; - } - case 3: - if (.pvp_close_w_room == 0) { - set .pvp_close_w_room,1; - warp "pvp_2vs2",20,40; - end; - } - case 4: - if (.pvp_close_e_room == 0) { - set .pvp_close_e_room,1; - warp "pvp_2vs2",40,20; - end; - } - } - } + set .@rand, rand(.@size); + warp "pvp_2vs2", .warp_x[.@rand], .warp_y[.@rand]; + deletearray .warp_x[.@rand],1; + deletearray .warp_y[.@rand],1; + end; } mes "[PVP Combat Square Register Staff]"; mes "Come back anytime you are ready."; @@ -361,16 +355,12 @@ pvp_room,54,85,4 script Registration Staff#1 105,{ close; OnInit: - Set .pvp_close_n_room,0; - Set .pvp_close_s_room,0; - Set .pvp_close_w_room,0; - Set .pvp_close_e_room,0; waitingroom "Combat Square players entrance only",0; end; } // Spectator Entrance -//============================================================ +//============================================================ - script Spectator's Entrance#dum::PVPSpectator -1,{ if (countitem(7029) == 0) { mes "[PVP Compete Square Register Staff]"; @@ -378,17 +368,16 @@ OnInit: mes "For details about players entrance please proceed to the Register Staff on your left."; close; } - if (select("Compete Square one:Cancel") == 1) { mes "[PVP Combat Square Register Staff]"; mes "You got it, thanks for participating. Have fun!"; close2; delitem 7029,1; //Admission_For_Duel switch(rand(1,4)) { - case 1: warp "pvp_2vs2",39,7; end; - case 2: warp "pvp_2vs2",39,73; end; - case 3: warp "pvp_2vs2",7,39; end; - case 4: warp "pvp_2vs2",73,39; end; + case 1: warp "pvp_2vs2",39,7; end; + case 2: warp "pvp_2vs2",39,73; end; + case 3: warp "pvp_2vs2",7,39; end; + case 4: warp "pvp_2vs2",73,39; end; } } close; @@ -397,14 +386,13 @@ OnInit: waitingroom "Compete Square viewer's entrance",0; end; } - pvp_room,62,85,4 duplicate(PVPSpectator) Spectator's Entrance#1 105 pvp_room,70,85,4 duplicate(PVPSpectator) Spectator's Entrance#2 105 pvp_room,78,85,4 duplicate(PVPSpectator) Spectator's Entrance#3 105 pvp_room,86,85,4 duplicate(PVPSpectator) Spectator's Entrance#4 105 // Spectator Warps -//============================================================ +//============================================================ - script Combat Square Staff#dum::PVPSpecWarp -1,{ OnTouch: mes "[Combat Square Staff]"; @@ -416,27 +404,30 @@ OnTouch: warp "pvp_room",84,39; end; } - pvp_2vs2,5,4,0 duplicate(PVPSpecWarp) Combat Square Staff#1 45,1,1 pvp_2vs2,5,74,0 duplicate(PVPSpecWarp) Combat Square Staff#2 45,1,1 pvp_2vs2,74,74,0 duplicate(PVPSpecWarp) Combat Square Staff#3 45,1,1 pvp_2vs2,74,5,0 duplicate(PVPSpecWarp) Combat Square Staff#4 45,1,1 + pvp_2vs2,40,40,0 script Combat Square Staff#5 45,1,1,{ mes "[Combat Square Staff]"; mes "May I help you?"; - if (select("To the side viewer seat.:Leave Combat Square.") == 1) + switch(select("To the side viewer seat.:Leave Combat Square.")) { + case 1: switch(rand(1,4)) { - case 1: warp "pvp_2vs2",39,7; end; - case 2: warp "pvp_2vs2",39,73; end; - case 3: warp "pvp_2vs2",7,39; end; - case 4: warp "pvp_2vs2",73,39; end; + case 1: warp "pvp_2vs2",39,7; end; + case 2: warp "pvp_2vs2",39,73; end; + case 3: warp "pvp_2vs2",7,39; end; + case 4: warp "pvp_2vs2",73,39; end; } - warp "pvp_c_room",84,39; - end; + case 2: + warp "pvp_c_room",84,39; + end; + } } // PVP Area Exit warp -//============================================================ +//============================================================ pvp_room,51,19,0 script out#eventpvp 45,4,2,{ OnTouch: mes "[Combat Square Staff]"; @@ -444,11 +435,11 @@ OnTouch: mes "May I ask where you want to go?"; next; switch(select("Prontera.:Morocc.:Geffen.:Payon.:Alberta.:Cancel.")) { - case 1: warp "prontera",107,60; end; - case 2: warp "morocc",157,96; end; - case 3: warp "geffen",120,36; end; - case 4: warp "payon",96,100; end; - case 5: warp "alberta",41,243; end; - case 6: close; + case 1: warp "prontera",107,60; end; + case 2: warp "morocc",157,96; end; + case 3: warp "geffen",120,36; end; + case 4: warp "payon",96,100; end; + case 5: warp "alberta",41,243; end; + case 6: close; } } diff --git a/npc/other/resetskill.txt b/npc/other/resetskill.txt deleted file mode 100644 index 4d1a6f2c7..000000000 --- a/npc/other/resetskill.txt +++ /dev/null @@ -1,142 +0,0 @@ -//===== Hercules Script ====================================== -//= Hypnotist -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Aegis conversion] -//= Permenent first class, base level 40 and under skill resetter. -//= First Class characters and expanded classes only. -//= Baby Classes and First Class trans can't use this service. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//============================================================ - -prontera,146,232,4 script Hypnotist#2 124,{ - mes "[Hypnotist]"; - mes "Greetings, adventurer."; - mes "I'm a member of the Hypnotist"; - mes "Academy sent here to Prontera"; - mes "to provide Skill Reset services"; - mes "to certain First Class characters for a really good price: free!"; - next; - mes "[Hypnotist]"; - mes "Although I offer unlimited"; - mes "skill resets for now, I have"; - mes "two conditions that must be"; - mes "fulfilled. First, you must be"; - mes "lower than ^FF0000Base Level 40^000000."; - next; - mes "[Hypnotist]"; - mes "Second, you must be a"; - mes "^FF0000Swordman, Acolyte, Mage,"; - mes "Thief, Archer, Merchant,"; - mes "Taekwon Boy, Taekwon Girl, Gunslinger and Ninja^000000"; - mes "Job character to qualify."; - mes "Now, do you have any questions?"; - next; - switch(select("Skill Reset?:I want a Skill Reset:Nothing")) { - - case 1: - mes "[Hypnotist]"; - mes "Skill Resets allow adventuers"; - mes "to redistribute their Skill"; - mes "Points if they are unhappy"; - mes "with their current skills."; - next; - mes "[Hypnotist]"; - mes "Before proceeding with"; - mes "a Skill Reset, you must"; - mes "reduce all of the weight"; - mes "of all carried items on your"; - mes "character to 0. You can put"; - mes "extra items in Kafra Storage."; - next; - mes "[Hypnotist]"; - mes "Ah, it's also important"; - mes "to remove your ^FF0000Pushcart^000000"; - mes "if you have one equipped."; - mes "Otherwise, hypnosis won't"; - mes "work, or will backfire..."; - close; - - case 2: - mes "[Hypnotist]"; - mes "Are you sure that you"; - mes "want to proceed with"; - mes "my ^FF0000Skill Reset^000000 service?"; - next; - if (select("Yes:Cancel") == 1) { - if (BaseLevel > 40) { - mes "[Hypnotist]"; - mes "I'm sorry, but characters"; - mes "with Base Levels higher"; - mes "than 40 are ineligible for the"; - mes "Skill Reset service I provide."; - close; - } - if ((Class > 0 && Class < 7 && Upper == 0) || (Class == Job_Gunslinger) || (Class == Job_Ninja) || (Class == Job_Taekwon)) { - if (checkcart()) { - mes "[Hypnotist]"; - mes "Oh! Please remove your"; - mes "Pushcart before proceeding"; - mes "with the Skill Reset service."; - mes "Thanks for cooperating~"; - close; - } - if (Weight) { - mes "[Hypnotist]"; - mes "If you're here for my Skill"; - mes "Reset service, please"; - mes "remember that you can't"; - mes "reset your skills until the"; - mes "^FF0000weight of your carried items in"; - mes "your Inventory is reduced to 0^000000."; - next; - mes "[Hypnotist]"; - mes "Why don't you place your"; - mes "things into the Kafra Storage"; - mes "for now? That way, you can"; - mes "safely keep all of your goods."; - close; - } - mes "[Hypnotist]"; - mes "Thank you for using"; - mes "my Skill Redistribution"; - mes "services. Oh, and best"; - mes "of luck to you on your"; - mes "travels, adventurer."; - ResetSkill; - close; - } - mes "[Hypnotist]"; - mes "I'm sorry, but your"; - mes "Job Class doesn't qualify"; - mes "for the Skill Reset service"; - mes "that I provide. I can only"; - mes "offer Skill Resets to the"; - mes "following Jobs..."; - next; - mes "[Hypnotist]"; - mes "^FF0000Swordman, Acolyte,"; - mes "Mage, Thief, Archer,"; - mes "Merchant, Taekwon"; - mes "Boy, Taekwon Girl, Gunslinger and Ninja^000000."; - close; - } - mes "[Hypnotist]"; - mes "Thank you, and good"; - mes "luck on your adventures."; - mes "Please travel in safety~"; - close; - - case 3: - mes "[Hypnotist]"; - mes "Thank you, and good"; - mes "luck on your adventures."; - mes "Please travel in safety~"; - close; - } - -} diff --git a/npc/other/sealstatus.txt b/npc/other/sealstatus.txt deleted file mode 100644 index cb2806c6a..000000000 --- a/npc/other/sealstatus.txt +++ /dev/null @@ -1,35 +0,0 @@ -//===== Hercules Script ====================================== -//= God Item Seal Status -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= Goid Item Seal Status. -//===== Additional Comments: ================================= -//= 1.0 Translated from the official. [L0ne_W0lf] -//= 1.1 Now checks proper char vars. [L0ne_W0lf] -//= 1.2 Cleaning. [Euphy] -//============================================================ - -prontera,113,294,3 script Sign Post 837,{ - mes "======== God Seal Status ========"; - setarray .@n$[1], "Sleipnir","Megingjard","Brisingamen","Mjolnir"; - for(set .@i,1; .@i<5; set .@i,.@i+1) { - if (getd("$god"+.@i) == 0) mes .@n$[.@i]+" Seal: Unseen"; - else if (getd("$god"+.@i) < 50) mes .@n$[.@i]+" Seal: Active"; - else if (getd("$god"+.@i) < 100) mes .@n$[.@i]+" Seal: Appeared"; - else mes .@n$[.@i]+" Seal: Released"; - } - mes " "; - mes "======= Your Seal Status ========"; - if (god_sl_1 < 51) mes "^ff0000Sleipnir Seal: Not Completed^000000"; - else mes "^00ff00Sleipnir Seal: Completed^000000"; - if (god_eremes < 28) mes "^ff0000Megingjard Seal: Not Completed^000000"; - else mes "^00ff00Megingjard Seal: Completed^000000"; - if (god_brising < 50) mes "^ff0000Brisingamen Seal: Not Completed^000000"; - else mes "^00ff00Brisingamen Seal: Completed^000000"; - if (god_mjo_0 < 11) mes "^ff0000Mjolnir Seal: Not Completed^000000"; - else mes "^00ff00Mjolnir Seal: Completed^000000"; - close; -} diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 329d9b3f0..fed2efd4c 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -3,8 +3,9 @@ //===== By: ================================================== //= Joseph //===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= +//= 1.2 +//===== Description: ========================================= +//= [Official Conversion] //= Turbo Track Course: //= - Solo Mode/Time Attack //= - Normal (Non-PVP) - 4/8/16 Person @@ -12,6 +13,8 @@ //===== Additional Comments: ================================= //= 0.x Previous authors: L0ne_W0lf, Kisuka, Elias //= 1.0 Merged Turbo Track. [Joseph] +//= 1.1 Updated RE/Pre-RE EXP. [Euphy] +//= 1.2 Added Renewal features. [Euphy] //============================================================ function script F_tt { @@ -376,8 +379,8 @@ OnTimer927000: } enablenpc "No_Unfair_Start#"+.@w$+"-1"; enablenpc "No_Unfair_Start#"+.@w$+"-2"; - donpcevent "snake#"+.@w$+"::Onreset"; - donpcevent "hunting#"+.@w$+"::Onreset"; + donpcevent "snake#"+.@w$+"::OnReset"; + donpcevent "hunting#"+.@w$+"::OnReset"; disablenpc "bing2#"+.@w$; disablenpc "Winner Helper#TBT_"+.@w$; enablenpc "#cos_"+.@w$+"_end"; @@ -431,9 +434,9 @@ turbo_n_1,68,379,5 duplicate(NoUnfair#tt_main) No_Unfair_Start#n1-2 -1,5,31 - script LogTrap#tt_main -1,{ OnTouch: switch (rand(1,3)) { - Case 1: warp strnpcinfo(4),72,372; end; - Case 2: warp strnpcinfo(4),72,365; end; - Case 3: warp strnpcinfo(4),72,357; end; + case 1: warp strnpcinfo(4),72,372; end; + case 2: warp strnpcinfo(4),72,365; end; + case 3: warp strnpcinfo(4),72,357; end; } } turbo_e_4,118,377,0 duplicate(LogTrap#tt_main) trap_a#e4-1 -1,44,1 @@ -986,25 +989,25 @@ turbo_n_1,148,357,0 duplicate(LogTrap#tt_main) trap_d#n1-15 -1,1,2 - script SandTrap#tt_main -1,{ OnTouch: switch(rand(1,10)) { - Case 1: - Case 9: + case 1: + case 9: sc_start SC_CONFUSION,8000,0; emotion e_swt2,1; end; - Case 2: + case 2: sc_start SC_STONE,4000,0; end; - Case 4: + case 4: sc_start SC_SLEEP,4000,0; end; - Case 6: + case 6: sc_start SC_FREEZE,4000,0; emotion e_swt2,1; end; - Case 8: + case 8: sc_start SC_STUN,4000,0; end; - Case 10: + case 10: sc_start SC_CURSE,80000,0; end; } @@ -1677,7 +1680,7 @@ turbo_n_1,332,270,0 duplicate(snake04#tt_main) snake04#n1 45,1,1 - script SnakeHunt#tt_main -1,{ end; -Onreset: +OnReset: killmonsterall strnpcinfo(4); end; @@ -1717,39 +1720,39 @@ turbo_n_1,90,46,0 duplicate(SnakeHunt#tt_main) hunting#n1 111 OnTouch: set .@n, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1); switch (.@n) { - Case 1: + case 1: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; switch (rand(1,3)) { - Case 1: warp strnpcinfo(4),210,369; end; - Case 2: warp strnpcinfo(4),210,361; end; - Case 3: warp strnpcinfo(4),210,354; end; + case 1: warp strnpcinfo(4),210,369; end; + case 2: warp strnpcinfo(4),210,361; end; + case 3: warp strnpcinfo(4),210,354; end; } - Case 2: + case 2: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; warp strnpcinfo(4),316,365; end; - Case 3: + case 3: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; switch (rand(1,4)) { - Case 1: warp strnpcinfo(4),46,254; end; - Case 2: warp strnpcinfo(4),76,227; end; - Case 3: warp strnpcinfo(4),42,197; end; - Case 4: warp strnpcinfo(4),86,220; end; + case 1: warp strnpcinfo(4),46,254; end; + case 2: warp strnpcinfo(4),76,227; end; + case 3: warp strnpcinfo(4),42,197; end; + case 4: warp strnpcinfo(4),86,220; end; } - Case 5: + case 5: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; warp strnpcinfo(4),268,275; end; - Case 6: + case 6: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; warp strnpcinfo(4),5,91; end; - Case 7: + case 7: mapannounce strnpcinfo(4),strcharinfo(0) +" has just passed the Small Cave course! Hurry, you're almost at the finish!",bc_map,"0x70DBDB"; switch(rand(1,3)) { - Case 1: warp strnpcinfo(4),307,52; end; - Case 2: warp strnpcinfo(4),307,46; end; - Case 3: warp strnpcinfo(4),307,40; end; + case 1: warp strnpcinfo(4),307,52; end; + case 2: warp strnpcinfo(4),307,46; end; + case 3: warp strnpcinfo(4),307,40; end; } } } @@ -1921,8 +1924,10 @@ OnTouch: set .@w$,callfunc("F_tt"); if (.@w$ == "n1") set $@end_time,gettimetick(0); mapannounce strnpcinfo(4),strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; - if (.@w$ != "n1") setd "$ttnames$["+GetNumber(.@w$)+"]",strcharinfo(0); - donpcevent "TBT_Guide#Broadcast::Onwin_"+.@w$; + if (.@w$ != "n1") { + setd "$ttnames$["+GetNumber(.@w$)+"]",strcharinfo(0); + donpcevent "Turbo Track Guide::OnWin_"+.@w$; + } warp strnpcinfo(4),384,161; if (.@w$ == "e4" || .@w$ == "n4" || .@w$ == "n1") { if (.@w$ == "e4") { @@ -2095,7 +2100,7 @@ turbo_n_1,114,190,0 duplicate(Flasher#tt_main) Flasher_Exit_2#n1 45,1,1 mes "You are ranked as"; mes "the top player for"; mes "winning the most games!"; - donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + donpcevent "Turbo Track Guide::OnNew_Top1"; if (tt_rank == 29999) { if ($ttnames$[7] == "Breezy Havana") { set $ttnames$[7],strcharinfo(0); @@ -2119,7 +2124,7 @@ turbo_n_1,114,190,0 duplicate(Flasher#tt_main) Flasher_Exit_2#n1 45,1,1 mes "You've ranked Second"; mes "among the Top Five Players"; mes "who've won the most games!"; - donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + donpcevent "Turbo Track Guide::OnNew_Top2"; if (tt_rank == 29999) { if ($ttnames$[7] == "Breezy Havana") { set $ttnames$[7],strcharinfo(0); @@ -2143,7 +2148,7 @@ turbo_n_1,114,190,0 duplicate(Flasher#tt_main) Flasher_Exit_2#n1 45,1,1 mes "You've ranked Third"; mes "among the Top Five Players"; mes "who've won the most games!"; - donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + donpcevent "Turbo Track Guide::OnNew_Top3"; if (tt_rank == 29999) { if ($ttnames$[7] == "Breezy Havana") { set $ttnames$[7],strcharinfo(0); @@ -2167,7 +2172,7 @@ turbo_n_1,114,190,0 duplicate(Flasher#tt_main) Flasher_Exit_2#n1 45,1,1 mes "You've ranked Fourth"; mes "among the Top Five Players"; mes "who've won the most games!"; - donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + donpcevent "Turbo Track Guide::OnNew_Top4"; if (tt_rank == 29999) { if ($ttnames$[7] == "Breezy Havana") { set $ttnames$[7],strcharinfo(0); @@ -2191,7 +2196,7 @@ turbo_n_1,114,190,0 duplicate(Flasher#tt_main) Flasher_Exit_2#n1 45,1,1 mes "You've ranked Fifth"; mes "among the Top Five Players"; mes "who've won the most games!"; - donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + donpcevent "Turbo Track Guide::OnNew_Top5"; if (tt_rank == 29999) { if ($ttnames$[7] == "Breezy Havana") { set $ttnames$[7],strcharinfo(0); @@ -2477,8 +2482,8 @@ OnTimer60000: disablenpc "Flasher_Exit_2#"+.@w$; enablenpc "No_Unfair_Start#"+.@w$+"-1"; enablenpc "No_Unfair_Start#"+.@w$+"-2"; - donpcevent "snake#"+.@w$+"::Onreset"; - donpcevent "hunting#"+.@w$+"::Onreset"; + donpcevent "snake#"+.@w$+"::OnReset"; + donpcevent "hunting#"+.@w$+"::OnReset"; donpcevent RName(.@w$)+"::OnEnable"; disablenpc "bing2#"+.@w$; enablenpc "#cos_"+.@w$+"_end"; @@ -2513,8 +2518,8 @@ OnTimer71000: enablenpc "Flasher_Exit_2#"+.@w$; enablenpc "No_Unfair_Start#"+.@w$+"-1"; enablenpc "No_Unfair_Start#"+.@w$+"-2"; - donpcevent "snake#"+.@w$+"::Onreset"; - donpcevent "hunting#"+.@w$+"::Onreset"; + donpcevent "snake#"+.@w$+"::OnReset"; + donpcevent "hunting#"+.@w$+"::OnReset"; donpcevent RName(.@w$)+"::OnEnable"; disablenpc "bing2#"+.@w$; stopnpctimer; @@ -2742,8 +2747,8 @@ OnTimer60000: disablenpc "Flasher_Exit_2#"+.@w$; enablenpc "No_Unfair_Start#"+.@w$+"-1"; enablenpc "No_Unfair_Start#"+.@w$+"-2"; - donpcevent "snake#"+.@w$+"::Onreset"; - donpcevent "hunting#"+.@w$+"::Onreset"; + donpcevent "snake#"+.@w$+"::OnReset"; + donpcevent "hunting#"+.@w$+"::OnReset"; donpcevent "Solo Mode#"+.@w$+"::OnEnable"; stopnpctimer; end; @@ -2758,7 +2763,7 @@ OnInit: OnTouch: set .@w$,callfunc("F_tt"); mapannounce strnpcinfo(4),strcharinfo(0) +" is now entering the Small Cave! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; - donpcevent "TBT_Guide#Broadcast::Onend_"+.@w$; + donpcevent "Turbo Track Guide::OnEnd_"+.@w$; disablenpc "Notice_Maker1#TBT_"+.@w$; end; @@ -2819,12 +2824,12 @@ turbo_n_1,226,15,0 duplicate(NMaker4#tt_main) Notice_Maker4#TBT_n1 -1,3,3 - script warp#tt_main -1,{ OnTouch: switch (rand(1,20)) { - Case 1: warp strnpcinfo(4),216,378; break; - Case 2: warp strnpcinfo(4),218,360; break; - Case 3: warp strnpcinfo(4),223,361; break; - Case 4: warp strnpcinfo(4),243,342; break; - Case 5: warp strnpcinfo(4),247,364; break; - Default: break; + case 1: warp strnpcinfo(4),216,378; break; + case 2: warp strnpcinfo(4),218,360; break; + case 3: warp strnpcinfo(4),223,361; break; + case 4: warp strnpcinfo(4),243,342; break; + case 5: warp strnpcinfo(4),247,364; break; + default: break; } end; } @@ -3611,13 +3616,13 @@ turbo_n_16,217,214,0 duplicate(bing_1#tt_main) bing#n16 45,3,3 end; OnTouch: switch (rand(1,10)) { - Case 1: warp strnpcinfo(4),217,232; break; - Case 2: warp strnpcinfo(4),233,207; break; - Case 3: warp strnpcinfo(4),208,219; break; - Case 4: warp strnpcinfo(4),219,202; break; - Case 5: warp strnpcinfo(4),218,228; break; - Case 6: warp strnpcinfo(4),220,195; break; - Default: break; + case 1: warp strnpcinfo(4),217,232; break; + case 2: warp strnpcinfo(4),233,207; break; + case 3: warp strnpcinfo(4),208,219; break; + case 4: warp strnpcinfo(4),219,202; break; + case 5: warp strnpcinfo(4),218,228; break; + case 6: warp strnpcinfo(4),220,195; break; + default: break; } end; @@ -3652,7 +3657,8 @@ turbo_room,130,92,3 script Kafra Staff#tt 115,{ turbo_room,124,86,0 shop Turbo Track Merchant 90,501:-1,502:-1,503:-1,504:-1,645:-1,656:-1,1065:-1,1750:-1 -turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{ +// Official name: "TBT_Guide#Broadcast" +turbo_room,99,120,4 script Turbo Track Guide 124,{ mes "[Turbo Track Guide]"; mes "Good day~"; mes "Is there anything that"; @@ -3712,7 +3718,7 @@ turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{ mes "class or level requirements"; mes "to participate in the Turbo"; mes "Track. However, there is a"; - mes "participation fee of 1,000 zeny. ^FFFFFFcobo^000000"; + mes "participation fee of 1,000 zeny."; next; break; case 2: @@ -3727,7 +3733,7 @@ turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{ mes "The availability of specific"; mes "courses is determined by the"; mes "game mode. Would you like to"; - mes "learn more about a certain course? ^FFFFFFcobo^000000"; + mes "learn more about a certain course?"; next; set .@exitloop,1; while (.@exitloop) { @@ -3894,75 +3900,75 @@ OnInit: } end; -Onend_n1: +OnEnd_n1: mapannounce "turbo_room","A [Normal Mode - Solo] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_n4: +OnEnd_n4: mapannounce "turbo_room","A [Normal Mode - 4 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_n8: +OnEnd_n8: mapannounce "turbo_room","A [Normal Mode - 8 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_n16: +OnEnd_n16: mapannounce "turbo_room","A [Normal Mode - 16 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_e4: +OnEnd_e4: mapannounce "turbo_room","A [Expert Mode - 4 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_e8: +OnEnd_e8: mapannounce "turbo_room","A [Expert Mode - 8 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onend_e16: +OnEnd_e16: mapannounce "turbo_room","A [Expert Mode - 16 Person] game will end shortly.",bc_map,"0xadff2f"; end; -Onnew_top1: +OnNew_Top1: mapannounce "turbo_room","Congratulations! " + $ttnames$[9] + " has ranked Number One in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; end; -Onnew_top2: +OnNew_Top2: mapannounce "turbo_room","Congratulations! " + $ttnames$[10] + " has ranked Second in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; end; -Onnew_top3: +OnNew_Top3: mapannounce "turbo_room","Congratulations! " + $ttnames$[11] + " has ranked Third in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; end; -Onnew_top4: +OnNew_Top4: mapannounce "turbo_room","Congratulations! " + $ttnames$[12] + " has ranked Fourth in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; end; -Onnew_top5: +OnNew_Top5: mapannounce "turbo_room","Congratulations! " + $ttnames$[13] + " has ranked Fifth in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; end; -Onwin_n4: +OnWin_n4: mapannounce "turbo_room","Congratulations! " + $ttnames$[1] + " just won a [Normal Mode - 4 Person] game!",bc_map,"0x70DBDB"; end; -Onwin_n8: +OnWin_n8: mapannounce "turbo_room","Congratulations! " + $ttnames$[2] + " just won a [Normal Mode - 8 Person] game!",bc_map,"0x70DBDB"; end; -Onwin_n16: +OnWin_n16: mapannounce "turbo_room","Congratulations! " + $ttnames$[3] + " just won a [Normal Mode - 16 Person] game!",bc_map,"0x70DBDB"; end; -Onwin_e4: +OnWin_e4: mapannounce "turbo_room","Congratulations! " + $ttnames$[4] + " just won an [Expert Mode - 4 Person] game!",bc_map,"0x70DBDB"; end; -Onwin_e8: +OnWin_e8: mapannounce "turbo_room","Congratulations! " + $ttnames$[5] + " just won an [Expert Mode - 8 Person] game!",bc_map,"0x70DBDB"; end; -Onwin_e16: +OnWin_e16: mapannounce "turbo_room","Congratulations! " + $ttnames$[6] + " just won an [Expert Mode - 16 Person] game!",bc_map,"0x70DBDB"; end; } @@ -4201,7 +4207,7 @@ turbo_room,93,117,5 script Point Exchange Helper 125,{ mes "I'm sorry, but your"; mes "request has exceeded the"; mes "maximum limit. You can only"; - mes "request up to 50 scrolls at once. ^FFFFFFcobo^000000"; + mes "request up to 50 scrolls at once."; close; } else { @@ -4248,14 +4254,10 @@ turbo_room,93,117,5 script Point Exchange Helper 125,{ } set tt_point,tt_point-40; - if (BaseLevel < 70) - getexp 300,0; - else if (BaseLevel < 80) - getexp 900,0; - else if (BaseLevel < 90) - getexp 1000,0; - else if (BaseLevel < 151) - getexp 3000,0; + if (BaseLevel < 70) getexp 3000,0; + else if (BaseLevel < 80) getexp 9000,0; + else if (BaseLevel < 90) getexp 10000,0; + else if (BaseLevel < 100) getexp 30000,0; mes "[Item Exchange Helper]"; mes "Thank you, your"; mes "Turbo Track Points"; @@ -4598,27 +4600,70 @@ OnTouch: mes "things using the Kafra Service.^000000"; close; } - set .@now_weight,MaxWeight-Weight; if ((BaseJob == Job_Knight || BaseJob == Job_Crusader) && checkriding()) { - if (.@now_weight < 20000) { + if (MaxWeight-Weight < 20000) { + if (!(eaclass()&EAJL_THIRD)) { + set .@mount$,(BaseJob == Job_Knight)?"Peco Peco":"Grand Peco"; + mes "[Helper]"; + mes .@mount$+"s are prohibited"; + mes "in the Turbo Track Arena."; + mes "Please dismount from your"; + mes .@mount$+" and you will receive"; + mes "a Free Ticket for Peco Ride"; + mes "for retrieving your "+.@mount$+"."; + } else { + set .@mount$,(BaseJob == Job_Knight)?"Dragon":"Gryphon"; + mes "[Helper]"; + mes .@mount$+"s are prohibited"; + mes "in the Turbo Track Arena."; + mes "Please dismount from your"; + mes .@mount$+". You can retrieve"; + mes "it for free outside."; + } + close2; + warp "alde_gld",183,199; + end; + } else { + if (!(eaclass()&EAJL_THIRD)) { + setriding 0; + getitem 7310,1; //Free_Peco_Ticket + } else { + if (BaseJob == Job_Knight) + setdragon 0; + else + setriding 0; + } + warp "turbo_room",100,65; + } + } else if ((Class == Job_Ranger || Class == Job_Ranger_T || Class == Job_Baby_Ranger) && checkoption(Option_Wugrider)) { + if (MaxWeight-Weight < 20000) { mes "[Helper]"; - mes "Peco Pecos are prohibited"; + mes "Wargs are prohibited"; mes "in the Turbo Track Arena."; - mes "Please dismount from your"; - mes "Peco Peco and you will receive"; - mes "a Free Ticket for Peco Ride"; - mes "for retrieving your Peco Peco."; + mes "Please dismount from your Warg."; close2; warp "alde_gld",183,199; end; + } else { + setoption Option_Wugrider,0; + warp "turbo_room",100,65; } - else { - setriding 0; - getitem 7310,1; //Free_Peco_Ticket + } else if ((Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) && checkmadogear()) { + if (MaxWeight-Weight < 20000) { + mes "[Helper]"; + mes "Magic Gears are prohibited"; + mes "in the Turbo Track Arena."; + mes "Please dismount from your"; + mes "Magic Gear. You can retrieve"; + mes "it for free outside."; + close2; + warp "alde_gld",183,199; + end; + } else { + setmadogear 0; warp "turbo_room",100,65; } - } - else + } else warp "turbo_room",100,65; end; } @@ -4630,7 +4675,11 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 845,{ mes "Turbo Track~"; next; mes "[Guide]"; - mes "Peco Pecos are prohibited inside the Turbo Track Arena. But anyone riding on a Peco Peco will receive a Free Peco Peco Mount Ticket at the Turbo Track Entrance and automatically dismount."; + if (checkre(0)) + mes "Peco Pecos, Grand Pecos, Dragons, Gryphons, Wargs and Magic Gears are prohibited inside the Turbo Track Arena."; + else + mes "Peco Pecos are prohibited inside the Turbo Track Arena."; + mes "But anyone riding on a Peco Peco will receive a Free Peco Peco Mount Ticket at the Turbo Track Entrance and automatically dismount."; next; mes "[Guide]"; mes "Well then,"; @@ -4639,70 +4688,115 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 845,{ close; } -alde_gld,181,199,5 script Peco Peco Manager 845,{ - mes "[Peco Peco Manager]"; +- script ::MountManager_turbo -1,{ + set .@n$, "["+strnpcinfo(1)+"]"; + mes .@n$; + if (ismounting()) { + mes "Please get off of that creature you're riding on."; + mes "Then talk to me again."; + close; + } if (BaseJob == Job_Knight || BaseJob == Job_Crusader) { - mes "Welcome, would you like"; - mes "to retrieve your Peco Peco?"; + if (!(eaclass()&EAJL_THIRD)) { + if (BaseJob == Job_Knight) { + set .@zeny,2500; + set .@zeny$,"2,500"; + set .@mount$,"Peco Peco"; + } else { + set .@zeny,3500; + set .@zeny$,"3,500"; + set .@mount$,"Grand Peco"; + } + set .@skill,63; + set .@skill$,"Peco Peco Ride"; + set .@riding, checkriding(); + set .@i,1; + } else { + if (BaseJob == Job_Knight) { + set .@mount$,"Dragon"; + set .@skill,63; + set .@skill$,"Dragon Training"; + set .@riding, checkdragon(); + set .@i,2; + } else { + set .@mount$,"Gryphon"; + set .@skill,63; + set .@skill$,"Peco Peco Ride"; + set .@riding, checkriding(); + set .@i,1; + } + } + } else if (Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) { + set .@mount$,"Magic Gear"; + set .@skill,2255; + set .@skill$,"Magic Gear License"; + set .@riding, checkmadogear(); + set .@i,3; + } else { + mes "Thank you for"; + mes "visiting Al De Baran's"; + mes "Turbo Track~"; + close; + } + mes "Welcome, would you like"; + mes "to retrieve your "+.@mount$+"?"; + if (.@zeny) { mes "Please show me your Free"; mes "Ticket for Peco Ride. You"; mes "may also pay a rental fee"; - mes "of 2,500 zeny."; - next; - switch(select("Use:Cancel")) { - case 1: - if (getskilllv(63) == 0) { - mes "[Peco Peco Manager]"; - mes "I'm sorry, but you're"; - mes "not eligible for this"; - mes "service. Please go learn"; - mes "the Peco Peco Ride skill first."; + mes "of "+.@zeny$+" zeny."; + } + next; + switch(select("Yes:Cancel")) { + case 1: + if (getskilllv(.@skill) == 0) { + mes .@n$; + mes "I'm sorry, but you're"; + mes "not eligible for this"; + mes "service. Please go learn"; + mes "the "+.@skill$+" skill first."; + close; + } else { + if (.@riding) { + mes .@n$; + mes "You're already"; + mes "mounted on a"; + mes .@mount$+"."; + mes "Thank you~"; close; - } - else { - if (checkriding()) { - mes "[Peco Peco Manager]"; - mes "You're already"; - mes "mounted on a"; - mes "Peco Peco."; - mes "Thank you~"; - close; - } - else { - if (countitem(7310) < 1 && Zeny < 2500) { - mes "[Peco Peco Manager]"; + } else { + if (.@zeny) { + if (countitem(7310) < 1 && Zeny < .@zeny) { + mes .@n$; mes "I'm sorry, but you"; mes "don't have a Free Ticket"; - mes "for Peco Ride or 2,500 zeny."; + mes "for Peco Ride or "+.@zeny$+" zeny."; mes "to use the Peco rental service."; close; - } - else { + } else { if (countitem(7310) > 0) delitem 7310,1; //Free_Peco_Ticket else - set zeny,zeny-2500; - setriding; - mes "[Peco Peco Manager]"; - mes "Thank you for"; - mes "your patronage~"; - close; + set Zeny, Zeny-.@zeny; } } + switch(.@i) { + case 1: setriding; break; + case 2: setdragon; break; + case 3: setmadogear; break; + } + mes .@n$; + mes "Thank you for"; + mes "your patronage~"; + close; } - case 2: - mes "[Peco Peco Manager]"; - mes "Are you going"; - mes "back to race in"; - mes "the Turbo Track?"; - mes "Good luck!"; - close; } - } - else { - mes "Thank you for"; - mes "visiting Al De Baran's"; - mes "Turbo Track~"; + case 2: + mes .@n$; + mes "Are you going"; + mes "back to race in"; + mes "the Turbo Track?"; + mes "Good luck!"; close; } } |