diff options
Diffstat (limited to 'npc/quests/the_sign_quest.txt')
-rw-r--r-- | npc/quests/the_sign_quest.txt | 660 |
1 files changed, 367 insertions, 293 deletions
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt index 588009547..f58fd574d 100644 --- a/npc/quests/the_sign_quest.txt +++ b/npc/quests/the_sign_quest.txt @@ -1,17 +1,17 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= The Sign Quest -//===== By: ================================================== -//= SinSloth(Most of the NPCs), MasterOfMuppets(Some of the NPCs + bug fixes) & Kargha(The quiz NPCs) -//===== Current Version: ===================================== -//= 3.7 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= -//= [Aegis Conversion] +//===== By: ================================================== +//= SinSloth, MasterOfMuppets, Kargha +//===== Current Version: ===================================== +//= 3.9 +//===== File Encoding ======================================== +//= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8. +//===== Description: ========================================= +//= [Official Conversion] //= Quest for opening the doors to Geffenia. //= This script uses sign_01.bmp - sign_04.bmp, these will be //= found in the language of your client. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 3.0 Rewritten based on most recent Aegis script. [L0ne_W0lf] //= Due to the incompatabity of the old script with this //= version, variables will attmept to be translated to the @@ -25,12 +25,13 @@ //= 3.5 Fixed two bugs. 4230 & 4404 [CalciumKid] //= 3.6 Corrected the Level Requirements for 'Standby Room' [tr0n] //= 3.7 Massive cleaning/optimization (more can still be done). [Euphy] -//============================================================ +//= 3.8 Corrected an invalid map name. [Joseph] +//= 3.9 Updated RE/Pre-RE EXP. [Euphy] +//============================================================ -//============================================================ // The Sign (Part 1) -//============================================================ -- script Sign::TheSign 111,{ +//============================================================ +- script Sign::TheSign HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; cutin "sign_01",4; mes "^3355FFNext^000000"; @@ -62,14 +63,14 @@ OnInit: end; } -prontera,147,305,0 duplicate(TheSign) Sign#prontera 111 -geffen,168,175,0 duplicate(TheSign) Sign#geffen 111 -morocc,168,265,0 duplicate(TheSign) Sign#morroc 111 -payon,160,183,0 duplicate(TheSign) Sign#payon 111 -aldebaran,54,223,0 duplicate(TheSign) Sign#aldebaran 111 -alberta,35,241,0 duplicate(TheSign) Sign#alberta 111 +prontera,147,305,0 duplicate(TheSign) Sign#prontera HIDDEN_NPC +geffen,168,175,0 duplicate(TheSign) Sign#geffen HIDDEN_NPC +morocc,168,265,0 duplicate(TheSign) Sign#morroc HIDDEN_NPC +payon,160,183,0 duplicate(TheSign) Sign#payon HIDDEN_NPC +aldebaran,54,223,0 duplicate(TheSign) Sign#aldebaran HIDDEN_NPC +alberta,35,241,0 duplicate(TheSign) Sign#alberta HIDDEN_NPC -prt_in,227,45,0 script Archeologist#sign 804,{ +prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{ callfunc "F_UpdateSignVars"; cutin "mets_alpha",2; mes "[Metz]"; @@ -694,7 +695,7 @@ prt_in,227,45,0 script Archeologist#sign 804,{ mes "You may have had your doubts,"; mes "but I'm happy enough to confirm that the Sign really exists. Thanks again, and I hope you stop by and chat from time to time."; set sign_q,142; - getexp 200000,0; + getexp (checkre(3))?200000:2000000,0; } else { mes "Have you visited"; @@ -727,7 +728,7 @@ prt_in,227,45,0 script Archeologist#sign 804,{ } delitem 7178,1; //Star's_Sob set sign_q,202; - getexp 10000,0; + getexp (checkre(3))?10000:100000,0; getitem 617,1; //Old_Violet_Box } else if (sign_q > 201) { @@ -769,7 +770,7 @@ prt_in,227,45,0 script Archeologist#sign 804,{ end; } -prt_in,228,26,5 script Steward#sign 55,{ +prt_in,228,26,5 script Steward#sign 1_M_JOBTESTER,{ callfunc "F_UpdateSignVars"; mes "[Vandez]"; if (sign_q < 3) { @@ -961,10 +962,10 @@ prt_in,228,26,5 script Steward#sign 55,{ } } -prt_in,248,23,3 script Maid#sign 1275,{ +prt_in,248,23,3 script Maid#sign ALICE,{ end; } -prt_in,248,23,0 script Maid#sign2 111,{ +prt_in,248,23,0 script Maid#sign2 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; mes "[Elle]"; if (sign_q < 3) { @@ -1203,7 +1204,7 @@ prt_in,248,23,0 script Maid#sign2 111,{ } } -morocc_in,115,154,5 script Rogue#sign 810,{ +morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{ callfunc "F_UpdateSignVars"; if (checkweight(1201,1) == 0) { mes "^3355FFWait a second! Right now,"; @@ -1495,11 +1496,19 @@ morocc_in,115,154,5 script Rogue#sign 810,{ mes "you gave Ganaan tell me"; mes "you're not a total dumbass."; mes "Now you're supposed to go see Daewoon in Payon. And don't forget to show him this Star thingee."; - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 750,0; - else if (BaseLevel < 80) getexp 1000,0; - else if (BaseLevel < 90) getexp 1300,0; - else if (BaseLevel < 150) getexp 1800,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 750,0; + else if (BaseLevel < 80) getexp 1000,0; + else if (BaseLevel < 90) getexp 1300,0; + else getexp 1800,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 7500,0; + else if (BaseLevel < 80) getexp 10000,0; + else if (BaseLevel < 90) getexp 13000,0; + else getexp 18000,0; + } set sign_q,14; getitem 7177,1; //Part_Of_Star's_Sob close; @@ -1526,7 +1535,7 @@ morocc_in,115,154,5 script Rogue#sign 810,{ } } -morocc_in,114,162,4 script Young Man#sign 118,{ +morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{ callfunc "F_UpdateSignVars"; mes "[Gaanan]"; if (sign_q < 11) { @@ -1692,7 +1701,7 @@ morocc_in,114,162,4 script Young Man#sign 118,{ } } -payon,154,170,3 script Hagin#sign 78,{ +payon,154,170,3 script Hagin#sign 1_F_ORIENT_04,{ mes "[Hagin]"; mes "Have you heard?"; mes "Payon's most eligible"; @@ -1764,11 +1773,11 @@ payon,154,170,3 script Hagin#sign 78,{ } } -payon_in03,81,22,4 script Maid#a1 1170,{ +payon_in03,81,22,4 script Maid#a1 SOHEE,{ end; } -payon_in03,81,22,4 script Maid#a2 111,{ +payon_in03,81,22,4 script Maid#a2 HIDDEN_NPC,{ mes "[Maid]"; mes "Welcome to the"; mes "Payon Castle annex"; @@ -1777,11 +1786,11 @@ payon_in03,81,22,4 script Maid#a2 111,{ close; } -payon_in03,79,22,4 script Maid#b1 1404,{ +payon_in03,79,22,4 script Maid#b1 MIYABI_NINGYO,{ end; } -payon_in03,79,22,4 script Maid#b2 111,{ +payon_in03,79,22,4 script Maid#b2 HIDDEN_NPC,{ mes "[Maid]"; mes "Welcome."; mes "Are you another"; @@ -1790,11 +1799,11 @@ payon_in03,79,22,4 script Maid#b2 111,{ close; } -payon_in03,81,15,1 script Maid#c1 1170,{ +payon_in03,81,15,1 script Maid#c1 SOHEE,{ end; } -payon_in03,81,15,1 script Maid#c2 111,{ +payon_in03,81,15,1 script Maid#c2 HIDDEN_NPC,{ mes "[Maid]"; mes "Greetings."; mes "Welcome to the"; @@ -1804,11 +1813,11 @@ payon_in03,81,15,1 script Maid#c2 111,{ close; } -payon_in03,79,15,1 script Maid#d1 1404,{ +payon_in03,79,15,1 script Maid#d1 MIYABI_NINGYO,{ end; } -payon_in03,79,15,1 script Maid#d2 111,{ +payon_in03,79,15,1 script Maid#d2 HIDDEN_NPC,{ mes "[Maid]"; mes "Welcome to the"; mes "Payon Castle Annex."; @@ -1818,11 +1827,11 @@ payon_in03,79,15,1 script Maid#d2 111,{ close; } -payon_in03,8,31,4 script Maid#e1 1416,{ +payon_in03,8,31,4 script Maid#e1 WICKED_NYMPH,{ end; } -payon_in03,8,31,4 script Maid#e2 111,{ +payon_in03,8,31,4 script Maid#e2 HIDDEN_NPC,{ mes "[Chamberlain]"; mes "Please refrain"; mes "from attacking"; @@ -1838,11 +1847,11 @@ payon_in03,8,31,4 script Maid#e2 111,{ close; } -payon_in03,13,31,4 script Maid#f1 1416,{ +payon_in03,13,31,4 script Maid#f1 WICKED_NYMPH,{ end; } -payon_in03,13,31,4 script Maid#f2 111,{ +payon_in03,13,31,4 script Maid#f2 HIDDEN_NPC,{ mes "[Chamberlain]"; mes "Master Daewoon~!"; mes "Please try this too!"; @@ -1857,7 +1866,7 @@ payon_in03,13,31,4 script Maid#f2 111,{ close; } -payon_in03,11,31,4 script Daewoon#sign 808,{ +payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{ callfunc "F_UpdateSignVars"; mes "[Daewoon]"; mes "Mwah ah hah!"; @@ -2357,11 +2366,19 @@ payon_in03,11,31,4 script Daewoon#sign 808,{ if (.@pay_point > 29) { set sign_q,15; getitem 7177,1; //Part_Of_Star's_Sob - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 700,0; - else if (BaseLevel < 80) getexp 1000,0; - else if (BaseLevel < 90) getexp 1300,0; - else if (BaseLevel < 150) getexp 1800,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 750,0; + else if (BaseLevel < 80) getexp 1000,0; + else if (BaseLevel < 90) getexp 1300,0; + else getexp 1800,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 7500,0; + else if (BaseLevel < 80) getexp 10000,0; + else if (BaseLevel < 90) getexp 13000,0; + else getexp 18000,0; + } emotion e_heh; mes "[Daewoon]"; mes "Well, I must say that I've"; @@ -2393,11 +2410,19 @@ payon_in03,11,31,4 script Daewoon#sign 808,{ else if ((.@pay_point > 26) && (.@pay_point < 30)) { set sign_q,15; getitem 7177,1; //Part_Of_Star's_Sob - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 700,0; - else if (BaseLevel < 80) getexp 1000,0; - else if (BaseLevel < 90) getexp 1300,0; - else if (BaseLevel < 150) getexp 1800,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 750,0; + else if (BaseLevel < 80) getexp 1000,0; + else if (BaseLevel < 90) getexp 1300,0; + else getexp 1800,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 7500,0; + else if (BaseLevel < 80) getexp 10000,0; + else if (BaseLevel < 90) getexp 13000,0; + else getexp 18000,0; + } mes "[Daewoon]"; mes "You know, after talking with"; mes "you for a while, I now feel fairly comfortable with leaving you this piece of the Sobbing Starlight. Somehow, I think you're strong enough to get all the pieces."; @@ -2532,7 +2557,7 @@ payon_in03,11,31,4 script Daewoon#sign 808,{ close; } -aldeba_in,139,103,5 script Monograph#sign 111,{ +aldeba_in,139,103,5 script Monograph#sign HIDDEN_NPC,{ mes "[Sir Jore]"; mes "Uwah~!"; mes "Stop reading my"; @@ -2541,7 +2566,7 @@ aldeba_in,139,103,5 script Monograph#sign 111,{ close; } -aldeba_in,155,101,3 script Sir Jore#sign 805,7,7,{ +aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{ callfunc "F_UpdateSignVars"; if ((gettime(3) > 16) && (gettime(3) < 22)) { if (sign_q == 15) { @@ -2911,7 +2936,7 @@ OnTouch: end; } -aldeba_in,156,118,4 script Piru Piru#sign 102,{ +aldeba_in,156,118,4 script Piru Piru#sign 8_F,{ callfunc "F_UpdateSignVars"; mes "[Piru Piru]"; if ((gettime(3) >= 12) && (gettime(3) <= 24)) { //235959 @@ -3032,7 +3057,7 @@ aldeba_in,156,118,4 script Piru Piru#sign 102,{ } } -prt_maze02,57,151,1 script Pleur#warp 91,{ +prt_maze02,57,151,1 script Pleur#warp 4_F_02,{ mes "^3355FFYou catch a glimpse"; mes "of a girl heading directly"; mes "into a deep forest. You decide"; @@ -3067,11 +3092,11 @@ OnTouch: end; } -//prt_maze02,25,161,0 script #music -1,7,7,{ -//OnTouch: -// soundeffect "effect\\¼®¾çÀÇ ¾î½Ø½Å.wav",1; -// end; -//} +prt_maze02,25,161,0 script #music -1,7,7,{ +OnTouch: + soundeffect "effect\\¼®¾çÀÇ ¾î½Ø½Å.wav",1; + end; +} prt_maze02,132,132,0 script #skill -1,{ OnEnable: @@ -3090,7 +3115,7 @@ OnMyMobDead: end; } -prt_maze02,16,183,3 script Pleur#sign 91,{ +prt_maze02,16,183,3 script Pleur#sign 4_F_02,{ callfunc "F_UpdateSignVars"; mes "[Pleur]"; if (sign_q < 19) { @@ -3117,7 +3142,7 @@ OnOmg: end; } -prt_maze02,14,183,4 script Gordon#sign 51,{ +prt_maze02,14,183,4 script Gordon#sign 1_M_BARD,{ callfunc "F_UpdateSignVars"; mes "[Gordon]"; if (sign_q < 18) { @@ -3401,7 +3426,7 @@ prt_maze02,14,183,4 script Gordon#sign 51,{ } } -geffen_in,59,74,4 script Jesqurienne#sign 803,{ +geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{ callfunc "F_UpdateSignVars"; mes "[Jesqurienne]"; if (sign_q < 21) { @@ -3521,7 +3546,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 803,{ mes "But who's going to"; mes "ask us the questions?"; next; - donpcevent "Aaron#sign::onSmile"; + donpcevent "Aaron#sign::OnSmile"; emotion e_gasp; emotion e_gasp,1; mes "[Aaron]"; @@ -3689,7 +3714,7 @@ OnHo: end; } -geffen_in,61,72,7 script Aaron#sign 754,{ +geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{ callfunc "F_UpdateSignVars"; mes "[Aaron]"; if (sign_q == 21) { @@ -4390,7 +4415,7 @@ OnSmile: end; } -cmd_in02,88,51,4 script Strange Guy#sign 806,{ +cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{ callfunc "F_UpdateSignVars"; mes "[Dearles]"; if (sign_q < 25) { @@ -4413,7 +4438,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ else { mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; - set zeny,zeny-10000; + Zeny -= 10000; specialeffect EF_COIN; close; } @@ -4495,7 +4520,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "to me tomorrow night and"; mes "we'll start your test..."; set sign_q,27; - set zeny,zeny-30000; + Zeny -= 30000; } close; case 2: @@ -4615,11 +4640,19 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ if (countitem(750)) delitem 750,1; //Baphomet_Doll if (countitem(751)) delitem 751,1; //Osiris_Doll set sign_q,30; - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 500,0; - else if (BaseLevel < 80) getexp 800,0; - else if (BaseLevel < 90) getexp 1000,0; - else if (BaseLevel < 150) getexp 1300,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 500,0; + else if (BaseLevel < 80) getexp 800,0; + else if (BaseLevel < 90) getexp 1000,0; + else getexp 1300,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 5000,0; + else if (BaseLevel < 80) getexp 8000,0; + else if (BaseLevel < 90) getexp 10000,0; + else getexp 13000,0; + } next; warp "cmd_in01",33,29; end; @@ -4698,11 +4731,19 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "um, ''Bakerlan'' in Alberta."; set sign_q,35; getitem 7177,1; //Part_Of_Star's_Sob - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 700,0; - else if (BaseLevel < 80) getexp 1900,0; - else if (BaseLevel < 90) getexp 1200,0; - else if (BaseLevel < 150) getexp 1700,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 700,0; + else if (BaseLevel < 80) getexp 1900,0; + else if (BaseLevel < 90) getexp 1200,0; + else getexp 1700,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 7000,0; + else if (BaseLevel < 80) getexp 19000,0; + else if (BaseLevel < 90) getexp 12000,0; + else getexp 17000,0; + } next; mes "[Dearles]"; mes "Well, that's it."; @@ -4727,12 +4768,20 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "um, ''Bakerlan'' in Alberta."; set sign_q,35; getitem 7177,1; //Part_Of_Star's_Sob - set zeny,zeny+20000; - if (BaseLevel < 60) getexp 300,0; - else if (BaseLevel < 70) getexp 700,0; - else if (BaseLevel < 80) getexp 1000,0; - else if (BaseLevel < 90) getexp 1400,0; - else if (BaseLevel < 150) getexp 1900,0; + Zeny += 20000; + if (checkre(3)) { + if (BaseLevel < 60) getexp 300,0; + else if (BaseLevel < 70) getexp 700,0; + else if (BaseLevel < 80) getexp 1000,0; + else if (BaseLevel < 90) getexp 1400,0; + else getexp 1900,0; + } else { + if (BaseLevel < 60) getexp 3000,0; + else if (BaseLevel < 70) getexp 7000,0; + else if (BaseLevel < 80) getexp 10000,0; + else if (BaseLevel < 90) getexp 14000,0; + else getexp 19000,0; + } next; mes "[Dearles]"; mes "Well, that's it."; @@ -4764,7 +4813,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; mes "Giggle giggle.."; - set zeny,zeny-10000; + Zeny -= 10000; close; } } @@ -4777,7 +4826,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "cash. You know, for old"; mes "time's sake. ^FF0000Yoink!^000000"; emotion e_gg; - set zeny,zeny-10000; + Zeny -= 10000; } else { mes "I got nothin' for you and"; @@ -4819,7 +4868,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ } } -cmd_in01,33,25,5 script Examiner#sign 724,{ +cmd_in01,33,25,5 script Examiner#sign 4_F_07,{ callfunc "F_UpdateSignVars"; mes "[Lamadin]"; if (sign_q == 30) { @@ -4941,7 +4990,7 @@ cmd_in01,33,25,5 script Examiner#sign 724,{ } } -cmd_in01,16,24,0 script Emergency Exit 111,{ +cmd_in01,16,24,0 script Emergency Exit HIDDEN_NPC,{ mes "[Exit]"; mes "Would you like to go out?"; next; @@ -4959,7 +5008,7 @@ cmd_in01,16,24,0 script Emergency Exit 111,{ } } -cmd_in01,33,33,1 script Standby Room#sign 66,{ +cmd_in01,33,33,1 script Standby Room#sign 1_F_01,{ end; OnInit: @@ -4968,14 +5017,14 @@ OnInit: end; OnStartArena: - donpcevent "s_dance_timer::Onbutton_off"; + donpcevent "s_dance_timer::OnButton_Off"; donpcevent "Examiner#sd::OnDisable"; warpwaitingpc "cmd_in01",16,15,1; donpcevent "s_dance_timer::OnEnable"; disablewaitingroomevent; end; -Onreset: +OnReset: enablewaitingroomevent; end; } @@ -4989,7 +5038,7 @@ OnDisable: stopnpctimer; end; -Onbutton_off: +OnButton_Off: callsub OnDisableAll; end; @@ -5007,94 +5056,94 @@ OnTimer2000: OnTimer4000: mapannounce "cmd_in01"," UP LEFT",bc_map,"0xFFFF00"; - donpcevent "s_dance#up::Onup"; + donpcevent "s_dance#up::OnUp"; donpcevent "s_dance#up::OnEnable"; end; OnTimer6000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#down::Onup"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; end; OnTimer8000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN LEFT & UP RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#left::Onup"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; end; OnTimer11000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#down::Onup"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; end; OnTimer13000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN LEFT & UP RIGHT & UP LEFT & STAY CENTER",bc_map,"0xFFFF00"; - donpcevent "s_dance#left::Onup"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; end; OnTimer18000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN LEFT & DOWN RIGHT & DOWN LEFT",bc_map,"0xFFFF00"; - donpcevent "s_dance#left::Onup"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; end; OnTimer21000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN RIGHT & CENTER & DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#down::Onup"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; end; OnTimer24000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN LEFT & UP LEFT & UP RIGHT & DOWN RIGHT & CENTER",bc_map,"0xFFFF00"; - donpcevent "s_dance#left::Onup"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; end; OnTimer30000: callsub OnDisableAll; mapannounce "cmd_in01"," DOWN LEFT & UP RIGHT & UP LEFT & DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#left::Onup"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; end; OnTimer34000: callsub OnDisableAll; mapannounce "cmd_in01"," UP RIGHT & DOWN RIGHT & UP RIGHT & DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#right::Onup"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; end; OnTimer38000: callsub OnDisableAll; mapannounce "cmd_in01"," UP LEFT & UP RIGHT & CENTER & UP RIGHT & DOWN LEFT & DOWN RIGHT",bc_map,"0xFFFF00"; - donpcevent "s_dance#up::Onup"; + donpcevent "s_dance#up::OnUp"; donpcevent "s_dance#up::OnEnable"; end; OnTimer44000: stopnpctimer; - donpcevent "s_dance#up::Onreset"; - donpcevent "s_dance#down::Onreset"; - donpcevent "s_dance#left::Onreset"; - donpcevent "s_dance#right::Onreset"; - donpcevent "s_dance#cen::Onreset"; + donpcevent "s_dance#up::OnReset"; + donpcevent "s_dance#down::OnReset"; + donpcevent "s_dance#left::OnReset"; + donpcevent "s_dance#right::OnReset"; + donpcevent "s_dance#cen::OnReset"; mapannounce "cmd_in01","Well done.",bc_map,"0xFFFF00"; enablenpc "Examiner#sd"; - donpcevent "Standby Room#sign::Onreset"; + donpcevent "Standby Room#sign::OnReset"; end; } -cmd_in01,16,21,0 script s_dance#up 139,1,3,{ +cmd_in01,16,21,0 script s_dance#up HIDDEN_WARP_NPC,1,3,{ OnInit: disablenpc "s_dance#up"; end; @@ -5109,48 +5158,48 @@ OnDisable: disablenpc "s_dance#up"; end; -Onup: +OnUp: set .s_up,.s_up + 1; end; -Onreset: +OnReset: set .s_up,0; end; OnTouch: soundeffect "effect\\sign_up.wav",1; if (.s_up == 1) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#up::OnDisable"; } else if (.s_up == 2) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#cen::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#cen::OnUp"; donpcevent "s_dance#cen::OnEnable"; donpcevent "s_dance#up::OnDisable"; } else if (.s_up == 3) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#up::OnDisable"; } else if (.s_up == 4) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#up::OnDisable"; } else if (.s_up == 5) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#up::OnDisable"; } end; } -cmd_in01,16,11,0 script s_dance#down 139,1,3,{ +cmd_in01,16,11,0 script s_dance#down HIDDEN_WARP_NPC,1,3,{ OnInit: donpcevent "s_dance#down::OnDisable"; end; @@ -5165,68 +5214,68 @@ OnDisable: disablenpc "s_dance#down"; end; -Onup: +OnUp: set .s_down,.s_down + 1; end; -Onreset: +OnReset: set .s_down,0; end; OnTouch: soundeffect "effect\\sign_down.wav",1; if (.s_down == 1) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 2) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 3) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#left::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 4) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#cen::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#cen::OnUp"; donpcevent "s_dance#cen::OnEnable"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 5) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 6) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#cen::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#cen::OnUp"; donpcevent "s_dance#cen::OnEnable"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 7) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 8) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 9) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } else if (.s_down == 10) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#down::OnDisable"; } end; } -cmd_in01,11,16,0 script s_dance#left 139,3,1,{ +cmd_in01,11,16,0 script s_dance#left HIDDEN_WARP_NPC,3,1,{ OnInit: donpcevent "s_dance#left::OnDisable"; end; @@ -5242,60 +5291,60 @@ OnDisable: disablenpc "s_dance#left"; end; -Onup: +OnUp: set .s_left,.s_left + 1; end; -Onreset: +OnReset: set .s_left,0; end; OnTouch: soundeffect "effect\\sign_left.wav",1; if (.s_left == 1) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 2) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 3) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 4) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 5) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#up::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#up::OnUp"; donpcevent "s_dance#up::OnEnable"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 6) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#left::OnDisable"; } else if (.s_left == 7) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#left::OnDisable"; } end; } -cmd_in01,21,16,0 script s_dance#right 139,3,1,{ +cmd_in01,21,16,0 script s_dance#right HIDDEN_WARP_NPC,3,1,{ OnInit: donpcevent "s_dance#right::OnDisable"; end; @@ -5310,66 +5359,66 @@ OnDisable: disablenpc "s_dance#right"; end; -Onup: +OnUp: set .s_right,.s_right + 1; end; -Onreset: +OnReset: set .s_right,0; end; OnTouch: soundeffect "effect\\sign_right.wav",1; if (.s_right == 1) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 2) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#up::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#up::OnUp"; donpcevent "s_dance#up::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 3) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 4) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#up::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#up::OnUp"; donpcevent "s_dance#up::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 5) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 6) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 7) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#cen::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#cen::OnUp"; donpcevent "s_dance#cen::OnEnable"; donpcevent "s_dance#right::OnDisable"; } else if (.s_right == 8) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#left::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#left::OnUp"; donpcevent "s_dance#left::OnEnable"; donpcevent "s_dance#right::OnDisable"; } end; } -cmd_in01,16,16,0 script s_dance#cen 139,1,1,{ +cmd_in01,16,16,0 script s_dance#cen HIDDEN_WARP_NPC,1,1,{ OnInit: donpcevent "s_dance#cen::OnDisable"; end; @@ -5384,33 +5433,33 @@ OnDisable: disablenpc "s_dance#cen"; end; -Onup: +OnUp: set .s_center,.s_center + 1; end; -Onreset: +OnReset: set .s_center,0; end; OnTouch: soundeffect "effect\\sign_center.wav",1; if (.s_center == 1) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#cen::OnDisable"; } else if (.s_center == 2) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#down::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#down::OnUp"; donpcevent "s_dance#down::OnEnable"; donpcevent "s_dance#cen::OnDisable"; } else if (.s_center == 3) { - donpcevent "Examiner#sd::Onup"; + donpcevent "Examiner#sd::OnUp"; donpcevent "s_dance#cen::OnDisable"; } else if (.s_center == 4) { - donpcevent "Examiner#sd::Onup"; - donpcevent "s_dance#right::Onup"; + donpcevent "Examiner#sd::OnUp"; + donpcevent "s_dance#right::OnUp"; donpcevent "s_dance#right::OnEnable"; donpcevent "s_dance#cen::OnDisable"; } @@ -5442,7 +5491,7 @@ OnTouch: donpcevent "Examiner#sd::OnDisable"; end; -Onup: +OnUp: set .s_check,.s_check + 1; end; @@ -5452,7 +5501,7 @@ OnDisable: end; } -alberta_in,125,101,5 script Wealthy-looking Merchant 807,{ +alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{ callfunc "F_UpdateSignVars"; mes "[Bakerlan]"; if (sign_q < 35) { @@ -5591,11 +5640,19 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 807,{ mes "He will tell you what you need to do next."; set sign_q,53; getitem 7177,1; //Part_Of_Star's_Sob - if (BaseLevel < 60) getexp 500,0; - else if (BaseLevel < 70) getexp 800,0; - else if (BaseLevel < 80) getexp 1100,0; - else if (BaseLevel < 90) getexp 1500,0; - else if (BaseLevel < 150) getexp 2000,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 500,0; + else if (BaseLevel < 70) getexp 800,0; + else if (BaseLevel < 80) getexp 1100,0; + else if (BaseLevel < 90) getexp 1500,0; + else getexp 2000,0; + } else { + if (BaseLevel < 60) getexp 5000,0; + else if (BaseLevel < 70) getexp 8000,0; + else if (BaseLevel < 80) getexp 11000,0; + else if (BaseLevel < 90) getexp 15000,0; + else getexp 20000,0; + } close; } else if (sign_q == 97) { @@ -5624,7 +5681,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 807,{ } } -alberta_in,154,171,5 script Maid#s10 758,{ +alberta_in,154,171,5 script Maid#s10 4_F_JPN,{ callfunc "F_UpdateSignVars"; mes "[Seylin]"; if (sign_q < 38) { @@ -5941,7 +5998,7 @@ alberta_in,154,171,5 script Maid#s10 758,{ } } -prt_castle,107,58,5 script Soldier#s11 105,{ +prt_castle,107,58,5 script Soldier#s11 8W_SOLDIER,{ callfunc "F_UpdateSignVars"; mes "[Maruin]"; if (sign_q < 49) { @@ -6073,7 +6130,7 @@ prt_castle,107,58,5 script Soldier#s11 105,{ } } -alde_alche,169,162,7 script Alchemist#sign 749,{ +alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{ callfunc "F_UpdateSignVars"; mes "[Melkaba]"; if (sign_q < 46) { @@ -6282,7 +6339,7 @@ alde_alche,169,162,7 script Alchemist#sign 749,{ mes "just one bottle, but this"; mes "stuff is extremely potent!"; next; - set zeny,zeny-10000; + Zeny -= 10000; delitem 526,10; //Royal_Jelly delitem 518,20; //Honey delitem 948,30; //Bear's_Foot @@ -6382,7 +6439,7 @@ alde_alche,169,162,7 script Alchemist#sign 749,{ } } -alberta_in,114,178,5 script Refined Steward 109,{ +alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{ callfunc "F_UpdateSignVars"; mes "[Mahatra]"; if (sign_q < 37) { @@ -6528,7 +6585,7 @@ alberta_in,114,178,5 script Refined Steward 109,{ } } -alberta,98,202,5 script Guard#s10 105,{ +alberta,98,202,5 script Guard#s10 8W_SOLDIER,{ mes "[Hurubu]"; mes "Welcome to the"; mes "Alchesh Estate."; @@ -6575,7 +6632,7 @@ alberta,98,202,5 script Guard#s10 105,{ } } -alberta,43,49,5 script Poor-looking Merchant 89,{ +alberta,43,49,5 script Poor-looking Merchant 4_M_ORIENT02,{ callfunc "F_UpdateSignVars"; mes "[Machen]"; if (sign_q < 35) { @@ -6674,7 +6731,7 @@ alberta,43,49,5 script Poor-looking Merchant 89,{ } } -yuno,330,100,4 script Knight#ss 734,{ +yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{ callfunc "F_UpdateSignVars"; mes "[Leibech]"; if (sign_q < 38) { @@ -6797,11 +6854,19 @@ yuno,330,100,4 script Knight#ss 734,{ delitem2 7049,1,1,0,0,.@sign1,.@sign2,.@sign3,.@sign4; set sign_q,39; getitem 7181,1; //Receipt_01 - if (BaseLevel < 60) getexp 100,0; - else if (BaseLevel < 70) getexp 200,0; - else if (BaseLevel < 80) getexp 400,0; - else if (BaseLevel < 90) getexp 700,0; - else if (BaseLevel < 150) getexp 1100,0; + if (checkre(3)) { + if (BaseLevel < 60) getexp 100,0; + else if (BaseLevel < 70) getexp 200,0; + else if (BaseLevel < 80) getexp 400,0; + else if (BaseLevel < 90) getexp 700,0; + else getexp 1100,0; + } else { + if (BaseLevel < 60) getexp 1000,0; + else if (BaseLevel < 70) getexp 2000,0; + else if (BaseLevel < 80) getexp 4000,0; + else if (BaseLevel < 90) getexp 7000,0; + else getexp 11000,0; + } close; } } @@ -6846,11 +6911,9 @@ yuno,330,100,4 script Knight#ss 734,{ } } -//============================================================ // The Sign (Part 2) -//============================================================ - -geffen_in,159,48,5 script Lonely-looking Woman 711,{ +//============================================================ +geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{ callfunc "F_UpdateSignVars"; mes "[Brenda Howard]"; if (sign_q < 54) { @@ -6967,7 +7030,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 711,{ } } -geffen_in,171,42,3 script Cute Girl 703,{ +geffen_in,171,42,3 script Cute Girl 4_F_KID2,{ callfunc "F_UpdateSignVars"; if (checkweight(908,200) == 0) { mes "^3355FFWait a second! Right now,"; @@ -7081,7 +7144,7 @@ geffen_in,171,42,3 script Cute Girl 703,{ } } -mjo_dun02,88,295,4 script Flaming Spirit Man 85,{ +mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{ callfunc "F_UpdateSignVars"; if (checkweight(908,200) == 0) { mes "^3355FFWait a second! Right now,"; @@ -7107,7 +7170,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 85,{ mes "If it weren't for your help,"; mes "I'd be in big trouble. I really appreciate you stepping in and volunteering your materials like this."; delitem 1002,1; //Iron_Ore - getexp 1,0; + getexp 10,0; close; case 2: mes "[Engel]"; @@ -7598,7 +7661,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 85,{ } } -gef_tower,118,36,4 script Annoyed Man 64,{ +gef_tower,118,36,4 script Annoyed Man 1_M_WIZARD,{ callfunc "F_UpdateSignVars"; mes "[Dhota]"; if (sign_q < 72) { @@ -7682,7 +7745,7 @@ gef_tower,118,36,4 script Annoyed Man 64,{ } } -umbala,163,256,3 script Native#_s 781,{ +umbala,163,256,3 script Native#_s 4_F_UMGIRL,{ callfunc "F_UpdateSignVars"; if (event_umbala >= 3) { mes "[Laotan]"; @@ -7758,7 +7821,7 @@ umbala,163,256,3 script Native#_s 781,{ } } -um_in,27,23,3 script Fastidious-Looking Guy 121,{ +um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{ callfunc "F_UpdateSignVars"; if (checkweight(908,200) == 0) { mes "^3355FFWait a second! Right now,"; @@ -7948,7 +8011,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 121,{ } } -alberta,165,83,4 script Fastidious Old Man 755,{ +alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{ callfunc "F_UpdateSignVars"; if (checkweight(908,200) == 0) { mes "^3355FFWait a second! Right now,"; @@ -8071,7 +8134,7 @@ alberta,165,83,4 script Fastidious Old Man 755,{ } } -gef_fild07,182,241,0 script #Valkyrie Warp 111,1,1,{ +gef_fild07,182,241,0 script #Valkyrie Warp HIDDEN_NPC,1,1,{ callfunc "F_UpdateSignVars"; if ((sign_q == 80) && (countitem(907) > 3) && (countitem(953) > 11) && (countitem(7013) > 364)) { mes "^6B8E23It seems that"; @@ -8125,7 +8188,7 @@ OnTouch: end; } -himinn,48,86,5 script Valkyrie#sign 811,{ +himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{ callfunc "F_UpdateSignVars"; mes "[Valkyrie Sandra]"; if (sign_q < 81) { @@ -8182,15 +8245,27 @@ himinn,48,86,5 script Valkyrie#sign 811,{ mes "one of the hearts there..."; set sign_q,82; percentheal 100,100; - if (BaseLevel < 56) getexp 900,0; - else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 1200,0; - else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 2000,0; - else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 3500,0; - else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 7000,0; - else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 12000,0; - else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 16000,0; - else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 21000,0; - else if (BaseLevel > 90) getexp 35000,0; + if (checkre(3)) { + if (BaseLevel < 56) getexp 900,0; + else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 1200,0; + else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 2000,0; + else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 3500,0; + else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 7000,0; + else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 12000,0; + else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 16000,0; + else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 21000,0; + else getexp 35000,0; + } else { + if (BaseLevel < 56) getexp 9000,0; + else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 12000,0; + else if ((BaseLevel > 60) && (BaseLevel < 66)) getexp 20000,0; + else if ((BaseLevel > 65) && (BaseLevel < 71)) getexp 35000,0; + else if ((BaseLevel > 70) && (BaseLevel < 76)) getexp 70000,0; + else if ((BaseLevel > 75) && (BaseLevel < 81)) getexp 120000,0; + else if ((BaseLevel > 80) && (BaseLevel < 86)) getexp 160000,0; + else if ((BaseLevel > 85) && (BaseLevel < 91)) getexp 210000,0; + else getexp 350000,0; + } close2; warp "geffen",120,100; end; @@ -8294,11 +8369,9 @@ himinn,48,86,5 script Valkyrie#sign 811,{ } } -//============================================================ // The Sign (Part 3) -//============================================================ - -que_sign01,196,39,4 script Serin#dummy 90,{ +//============================================================ +que_sign01,196,39,4 script Serin#dummy 4_F_01,{ end; OnDisable: @@ -8310,7 +8383,7 @@ OnEnable: enablenpc "Serin#dummy"; end; -Onstart: +OnStart: initnpctimer; end; @@ -8334,7 +8407,7 @@ OnTimer13000: end; } -que_sign01,196,44,4 script Dark Lord#serin 737,{ +que_sign01,196,44,4 script Dark Lord#serin 4_DARKLORD,{ end; OnDisable: @@ -8347,7 +8420,7 @@ OnEnable: end; } -que_sign01,196,39,4 script Serin#serin 90,{ +que_sign01,196,39,4 script Serin#serin 4_F_01,{ callfunc "F_UpdateSignVars"; if (sign_q < 132) { mes "[Serin]"; @@ -8378,7 +8451,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ delitem 7305,1; //Authority_Of_Nine_World set sign_q,133; donpcevent "Serin#dummy::OnEnable"; - donpcevent "Serin#dummy::Onstart"; + donpcevent "Serin#dummy::OnStart"; donpcevent "Serin#serin::OnDisable"; close; } @@ -8452,7 +8525,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ set sign_q,134; donpcevent "Serin#serin::OnDisable"; donpcevent "Dark Lord#serin::OnDisable"; - donpcevent "CallMonster#serin::Oncall"; + donpcevent "CallMonster#serin::OnCall"; close; case 2: mes "[Serin]"; @@ -8462,7 +8535,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ mes "ask the Dark Lord to spare"; mes "you. Thank you so much..."; set sign_q,200; - getexp 20000,0; + getexp (checkre(3))?20000:200000,0; set $@sign_w2,0; donpcevent "Dark Lord#serin::OnDisable"; close2; @@ -8486,7 +8559,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ set sign_q,134; donpcevent "Serin#serin::OnDisable"; donpcevent "Dark Lord#serin::OnDisable"; - donpcevent "CallMonster#serin::Oncall"; + donpcevent "CallMonster#serin::OnCall"; close; } } @@ -8584,7 +8657,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ set sign_q,134; donpcevent "Serin#serin::OnDisable"; donpcevent "Dark Lord#serin::OnDisable"; - donpcevent "CallMonster#serin::Oncall"; + donpcevent "CallMonster#serin::OnCall"; end; } } @@ -8623,7 +8696,7 @@ que_sign01,196,39,4 script Serin#serin 90,{ set sign_q,134; donpcevent "Serin#serin::OnDisable"; donpcevent "Dark Lord#serin::OnDisable"; - donpcevent "CallMonster#serin::Oncall"; + donpcevent "CallMonster#serin::OnCall"; end; } } @@ -8652,7 +8725,7 @@ OnEnable: end; } -que_sign01,197,195,4 script Serin#witch 90,{ +que_sign01,197,195,4 script Serin#witch 4_F_01,{ callfunc "F_UpdateSignVars"; if (sign_q < 124) { mes "[Serin]"; @@ -8733,7 +8806,7 @@ que_sign01,197,195,4 script Serin#witch 90,{ mes "ask the Dark Lord to spare"; mes "you. Thank you so much..."; set sign_q,200; - getexp 20000,0; + getexp (checkre(3))?20000:200000,0; set $@sign_w1,0; close2; warp "umbala,",132,203; @@ -8784,7 +8857,7 @@ que_sign01,197,195,4 script Serin#witch 90,{ mes "now! We'll have to battle!"; close2; set sign_q,126; - donpcevent "CallMonster#witch::Oncall"; + donpcevent "CallMonster#witch::OnCall"; donpcevent "Serin#witch::OnDisable"; end; } @@ -8825,7 +8898,7 @@ que_sign01,197,195,4 script Serin#witch 90,{ mes "now! We'll have to battle!"; close2; set sign_q,126; - donpcevent "CallMonster#witch::Oncall"; + donpcevent "CallMonster#witch::OnCall"; donpcevent "Serin#witch::OnDisable"; end; } @@ -8933,7 +9006,7 @@ que_sign01,197,195,4 script Serin#witch 90,{ close2; set sign_q,126; donpcevent "Serin#witch::OnDisable"; - donpcevent "CallMonster#witch::Oncall"; + donpcevent "CallMonster#witch::OnCall"; end; } } @@ -8980,7 +9053,7 @@ que_sign01,197,195,4 script Serin#witch 90,{ close2; set sign_q,126; donpcevent "Serin#witch::OnDisable"; - donpcevent "CallMonster#witch::Oncall"; + donpcevent "CallMonster#witch::OnCall"; end; } } @@ -9012,7 +9085,7 @@ OnEnable: end; } -niflheim,313,70,4 script Pleasant-Featured Lady#s 90,{ +niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{ callfunc "F_UpdateSignVars"; if (sign_q < 82) { mes "[Serin]"; @@ -9479,7 +9552,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 90,{ mes "the faint smile on her lips tell you that her memories of you"; mes "will always remain in her heart.^000000"; delitem 2643,1; //Serin's_Gold_Ring_ - getexp 50000,0; + getexp (checkre(3))?50000:500000,0; close; case 2: emotion e_sob; @@ -9674,7 +9747,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 90,{ } } -que_sign01,122,141,4 script Witch#s 792,{ +que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{ callfunc "F_UpdateSignVars"; if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -10241,7 +10314,7 @@ que_sign01,122,141,4 script Witch#s 792,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason, "+strcharinfo(0)+"..."; delitem 7313,5; //Seal_Of_Witch set sign_q,129; - getexp 50000,0; + getexp (checkre(3))?50000:500000,0; close; } } @@ -10270,7 +10343,7 @@ que_sign01,122,141,4 script Witch#s 792,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason..."; delitem 7313,5; //Seal_Of_Witch set sign_q,130; - getexp 30000,0; + getexp (checkre(3))?30000:300000,0; close; } } @@ -10296,7 +10369,7 @@ que_sign01,122,141,4 script Witch#s 792,{ mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason..."; if (countitem(2643) == 1) set sign_q,129; else set sign_q,130; - getexp 30000,0; + getexp (checkre(3))?30000:300000,0; close; } else if (sign_q == 200) { @@ -10326,7 +10399,7 @@ que_sign01,122,141,4 script Witch#s 792,{ if (countitem(2642) > 0) delitem 2642,1; //Serin's_Gold_Ring if (countitem(7308) > 0) delitem 7308,1; //Witch's_Potion set sign_q,201; - getexp 20000,0; + getexp (checkre(3))?20000:200000,0; close; } else if (sign_q > 200) { @@ -10668,7 +10741,7 @@ OnTouch: end; } -que_sign01,45,227,4 script Queen of the Dead 856,{ +que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{ callfunc "F_UpdateSignVars"; mes "[Lady Hell]"; if (sign_q < 117) { @@ -10857,7 +10930,7 @@ que_sign01,45,227,4 script Queen of the Dead 856,{ } } -niflheim,146,241,0 script Depressing Man 735,{ +niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{ callfunc "F_UpdateSignVars"; if (sign_q < 80) { mes "[????]"; @@ -11122,7 +11195,7 @@ niflheim,146,241,0 script Depressing Man 735,{ } } -nif_in,140,177,0 script #Switch 111,{ +nif_in,140,177,0 script #Switch HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; if (countitem(7313) == 1) { warp "que_sign01",115,135; @@ -11136,7 +11209,7 @@ nif_in,140,177,0 script #Switch 111,{ end; } -niflheim,102,54,4 script Mad Man#s 739,{ +niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{ callfunc "F_UpdateSignVars"; mes "[Laichin]"; if (sign_q < 82) { @@ -11297,7 +11370,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "Heh heh!"; close; } - set zeny,zeny-40000; + Zeny -= 40000; close; case 2: mes "[Laichin]"; @@ -11316,7 +11389,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "crawling back when"; mes "you can't figure out"; mes "where the soul pieces are!"; - set zeny,zeny-40000; + Zeny -= 40000; if (.@select_s == 1) set sign_q,97; else if (.@select_s == 2) set sign_q,98; else if (.@select_s == 3) set sign_q,99; @@ -11352,7 +11425,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set zeny,zeny-60000; + Zeny -= 60000; if (.@select_s == 1) set sign_q,101; else if (.@select_s == 2) set sign_q,102; else if (.@select_s == 3) set sign_q,103; @@ -11391,7 +11464,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ next; switch(select("Pay him.:Don't pay him.")) { case 1: - if (Zeny < 60000) { + if (Zeny < 20000) { mes "[Laichin]"; mes "What is this?"; mes "You tryin to welch"; @@ -11413,7 +11486,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set zeny,zeny-20000; + Zeny -= 20000; if (sign_q == 97) set sign_q,101; else if (sign_q == 98) set sign_q,102; else if (sign_q == 99) set sign_q,103; @@ -11966,7 +12039,7 @@ function script F_SignSeal { return; } -gl_dun02,262,265,0 script Mysterious Energy#1 111,{ +gl_dun02,262,265,0 script Mysterious Energy#1 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if (sign_q == 101) { @@ -11982,7 +12055,7 @@ gl_dun02,262,265,0 script Mysterious Energy#1 111,{ } // Angrboda's Seal 2 big 4 O'clock 270 198 -gl_dun02,271,100,0 script Mysterious Energy#2 111,{ +gl_dun02,271,100,0 script Mysterious Energy#2 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if ((sign_q == 102) || (sign_q == 104)) { @@ -11999,7 +12072,7 @@ gl_dun02,271,100,0 script Mysterious Energy#2 111,{ } // Angrboda's Seal 3 big 5 O'clock 268 32 -gl_dun02,268,32,0 script Mysterious Energy#3 111,{ +gl_dun02,268,32,0 script Mysterious Energy#3 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if ((sign_q == 103) || (sign_q == 105) || (sign_q == 108)) { @@ -12017,7 +12090,7 @@ gl_dun02,268,32,0 script Mysterious Energy#3 111,{ } // Angrboda's Seal 4 big 7 O'clock 16 26 -gl_dun02,16,26,0 script Mysterious Energy#4 111,{ +gl_dun02,16,26,0 script Mysterious Energy#4 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if (sign_q == 109) { @@ -12033,7 +12106,7 @@ gl_dun02,16,26,0 script Mysterious Energy#4 111,{ } // Angrboda's Seal 5 big 11 O'clock 42 251 -gl_dun02,42,251,0 script Mysterious Energy#5 111,{ +gl_dun02,42,251,0 script Mysterious Energy#5 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if ((sign_q == 106) || (sign_q == 112)) { @@ -12050,7 +12123,7 @@ gl_dun02,42,251,0 script Mysterious Energy#5 111,{ } // Angrboda's Seal 6 small 11 O'clock 123 234 -gl_dun02,123,234,0 script Mysterious Energy#6 111,{ +gl_dun02,123,234,0 script Mysterious Energy#6 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if (sign_q == 107) { @@ -12070,7 +12143,7 @@ gl_dun02,123,234,0 script Mysterious Energy#6 111,{ } // Angrboda's Seal 7 small 6 O'clock 140 72 -gl_dun02,140,72,0 script Mysterious Energy#7 111,{ +gl_dun02,140,72,0 script Mysterious Energy#7 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if ((sign_q == 110) || (sign_q == 111)) { @@ -12091,7 +12164,7 @@ gl_dun02,140,72,0 script Mysterious Energy#7 111,{ } // Angrboda's Seal 8 very small 119 182 -gl_dun02,119,182,0 script Mysterious Energy#8 111,{ +gl_dun02,119,182,0 script Mysterious Energy#8 HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; set .@crash_s,rand(1,1000); if ((sign_q == 114) || (sign_q == 115)) { @@ -12105,7 +12178,7 @@ gl_dun02,119,182,0 script Mysterious Energy#8 111,{ } } -que_sign01,46,56,0 script Fountain#sign 111,{ +que_sign01,46,56,0 script Fountain#sign HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; if (sign_q < 118) { mes "^3355FFThe water in this"; @@ -12158,7 +12231,7 @@ que_sign01,46,56,0 script Fountain#sign 111,{ } } -geffen,119,55,0 script Geffenia Warp 45,1,1,{ +geffen,119,55,0 script Geffenia Warp WARPNPC,1,1,{ OnInit: disablenpc "Geffenia Warp"; end; @@ -12196,7 +12269,7 @@ OnTimer45000: end; } -geffen,119,48,0 script Fountain#s 111,{ +geffen,119,48,0 script Fountain#s HIDDEN_NPC,{ callfunc "F_UpdateSignVars"; if (countitem(7025) > 0) { mes "^3355FFAs you approach the fountain,"; @@ -12229,7 +12302,7 @@ geffen,119,48,0 script Fountain#s 111,{ que_sign01,196,44,0 script Starter#serin -1,32,32,{ OnTouch: - donpcevent "Timer#serin::Onstart"; + donpcevent "Timer#serin::OnStart"; disablenpc "Starter#serin"; end; @@ -12254,7 +12327,7 @@ OnEnable: } que_sign01,1,0,0 script Timer#serin -1,{ -Onstart: +OnStart: initnpctimer; end; @@ -12269,13 +12342,13 @@ OnTimer620000: donpcevent "Serin#serin::OnEnable"; donpcevent "Dark Lord#serin::OnDisable"; donpcevent "Serin#dummy::OnDisable"; - donpcevent "CallMonster#serin::Onreset"; + donpcevent "CallMonster#serin::OnReset"; stopnpctimer; end; } que_sign01,50,1,0 script CallMonster#serin -1,{ -Oncall: +OnCall: monster "que_sign01",196,44,"Dark Lord Incarnation",1605,1,"CallMonster#serin::OnMyMobDead"; end; @@ -12284,13 +12357,13 @@ OnMyMobDead: donpcevent "Serin#serin::OnEnable"; end; -Onreset: +OnReset: killmonster "que_sign01","CallMonster#serin::OnMyMobDead"; } que_sign01,197,195,0 script Starter#witch -1,32,32,{ OnTouch: - donpcevent "Timer#witch::Onstart"; + donpcevent "Timer#witch::OnStart"; disablenpc "Starter#witch"; end; @@ -12300,7 +12373,7 @@ OnEnable: } que_sign01,1,1,0 script Timer#witch -1,{ -Onstart: +OnStart: initnpctimer; end; @@ -12311,7 +12384,7 @@ OnTimer600000: OnTimer620000: donpcevent "Starter#witch::OnEnable"; donpcevent "Warp#witch::OnDisable"; - donpcevent "CallMonster#witch::Onreset"; + donpcevent "CallMonster#witch::OnReset"; donpcevent "Serin#witch::OnEnable"; set $@sign_w1,0; stopnpctimer; @@ -12334,7 +12407,7 @@ OnTouch: } que_sign01,1,2,0 script CallMonster#witch -1,{ -Oncall: +OnCall: monster "que_sign01",196,195,"Dark Lord Incarnation",1605,1,"CallMonster#witch::OnMyMobDead"; monster "que_sign01",180,180,"Ancient Mummy",1522,1,"CallMonster#witch::OnMyMobDead"; monster "que_sign01",210,210,"Ancient Mummy",1522,1,"CallMonster#witch::OnMyMobDead"; @@ -12348,12 +12421,12 @@ Oncall: end; OnMyMobDead: - if (mobcount("gue_sign01","CallMonster#witch::OnMyMobDead") < 1) { + if (mobcount("que_sign01","CallMonster#witch::OnMyMobDead") < 1) { donpcevent "Serin#witch::OnEnable"; } end; -Onreset: +OnReset: killmonster "que_sign01","CallMonster#witch::OnMyMobDead"; end; } @@ -12368,7 +12441,7 @@ que_sign02,0,0,0,0 monster Zombie Prisoner 1480,15,0,0,0 que_sign02,0,0,0,0 monster Wraith 1475,15,0,0,0 que_sign02,0,0,0,0 monster Wraith Dead 1566,8,0,0,0 -que_sign02,378,235,0 script sign_w6 45,1,1,{ +que_sign02,378,235,0 script sign_w6 WARPNPC,1,1,{ OnTouch: callfunc "F_UpdateSignVars"; if ((countitem(7313) == 1) && ((sign_q != 124) || (sign_q != 125) || (sign_q != 126))) { @@ -12482,7 +12555,7 @@ function script F_UpdateSignVars { // Because of the horrible way this was scripted, it's incompatable // With the new script, So I am resetting the quest to the start // of this step. - if (signlaichin >= 1) { + if (signlaichin >= 1) { mes "^FF0000You stumble and drop the your^000000"; if (countitem(7306)) { mes "^FF0000"+getitemname(7306)+"^000000"; @@ -12496,11 +12569,11 @@ function script F_UpdateSignVars { mes "^FF0000pieces on the ground and they vanish! Perhaps you should talk to Lachin.^000000"; delitem 7306,countitem(7306); //Fragment_Of_Soul delitem 7307,countitem(7307); //Whisper_Of_Soul - set sign_q,rand(97,100); + set sign_q,rand(97,100); } // Same BS as above, unable to save pickup time for 'The Sign' from Engel. - if (signengelhour) { + if (signengelhour) { mes "^FF0000You see that Engel has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Engel that he needs to look at it.^000000"; getitem 7314,1; //The_Sign set sign_q,139; @@ -12525,7 +12598,7 @@ function script F_UpdateSignVars { } // Unable to save when the Sign should be picked up from Metz - if (signmetzhour) { + if (signmetzhour) { mes "^FF0000You see that Metz has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Metz that he needs to look at it.^000000"; getitem 7314,1; //The_Sign set sign_q,138; @@ -12563,9 +12636,9 @@ function script F_UpdateSignVars { return; } -//============================================================ +//============================================================ // Old changelog -//============================================================ +//============================================================ //= 1.0 First version, beware of potential nasty bugs :x [MasterOfMuppets] //= 1.1 Finalized for stable, might still contain bugs though. [MasterOfMuppets] //= 1.1a moved #aldesignwarp to fix enless warp [Lupus] @@ -12598,3 +12671,4 @@ function script F_UpdateSignVars { //= 2.8 Fixed some bugs with itemids and leftover questitems [Fish0r] //= 2.9 Made a delitem causing script to fault use countitem when deleting. [L0ne_W0lf] //= 2.9a Added a check for Sign_Branch8A before attempting to run a delitem on items not needed based on Path taken. [Paradox924X] +//============================================================ |