diff options
author | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
---|---|---|
committer | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
commit | e3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch) | |
tree | 20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/other/monster_race.txt | |
parent | 491892212d338903179909b89a5bfc2385e52261 (diff) | |
download | hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2 hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip |
Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/other/monster_race.txt')
-rw-r--r-- | npc/other/monster_race.txt | 311 |
1 files changed, 232 insertions, 79 deletions
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; + } + } +} |