diff options
Diffstat (limited to 'npc/re/jobs/3-2')
-rw-r--r-- | npc/re/jobs/3-2/genetic.txt | 52 | ||||
-rw-r--r-- | npc/re/jobs/3-2/minstrel.txt | 60 | ||||
-rw-r--r-- | npc/re/jobs/3-2/royal_guard.txt | 18 | ||||
-rw-r--r-- | npc/re/jobs/3-2/shadow_chaser.txt | 116 | ||||
-rw-r--r-- | npc/re/jobs/3-2/sorcerer.txt | 12 | ||||
-rw-r--r-- | npc/re/jobs/3-2/sura.txt | 14 | ||||
-rw-r--r-- | npc/re/jobs/3-2/wanderer.txt | 36 |
7 files changed, 154 insertions, 154 deletions
diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt index caf2f428d..809d5ff65 100644 --- a/npc/re/jobs/3-2/genetic.txt +++ b/npc/re/jobs/3-2/genetic.txt @@ -56,7 +56,7 @@ alde_alche,35,186,5 script Alchemist Union Member 1_M_SIGNALCHE,{ next; mes "[Alchemist Union Member]"; mes "You can find her in the Alchemy Lab at the western part of Lighthalzen. There is also another Geneticist studying weaponry there, you might want to pay her a visit as well."; - set job_gen,1; + job_gen = 1; setquest 2215; close; case 2: @@ -187,7 +187,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ next; mes "- For now it seems that I -"; mes "- need to calm down Devries. -"; - set job_gen,2; + job_gen = 2; close; } else if (job_gen == 2) { mes "[Devries]"; @@ -281,13 +281,13 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "Alright."; mes "Even though your knowledge is not that great as that of Geneticists, a fundamental knowledge is also important."; mes "Popo, come back to me once you've finished your studies."; - set job_gen,4; + job_gen = 4; close; case 2: mes "[Devries]"; mes "Good!"; mes "Let's do it!"; - set job_gen,5; + job_gen = 5; close; } } else if (job_gen == 4) { @@ -304,7 +304,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "[Devries]"; mes "Very good!"; mes "Let's do it!"; - set job_gen,5; + job_gen = 5; close; } } else if (job_gen == 5) { @@ -365,7 +365,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ next; mes "[Devries]"; mes "Well, you better get started!"; - set job_gen,6; + job_gen = 6; close; } else if (job_gen == 6) { mes "[Devries]"; @@ -389,7 +389,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "[Devries]"; mes "You can start from the beginning then?"; mes "Why are you asking me such things?"; - set job_gen,7; + job_gen = 7; if (questprogress(2209) == 1) erasequest 2209; if (questprogress(2210) == 1) erasequest 2210; if (questprogress(2211) == 1) erasequest 2211; @@ -416,7 +416,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "What happened?"; mes "How could you say the study is completed without any result?"; mes "Start again."; - set job_gen,7; + job_gen = 7; } else { mes "[Devries]"; mes "Well, I'll take a look at the seeds Popo made."; @@ -460,7 +460,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "Go take a look at her experiment results."; mes "Could you give this message to her? Tell her to conduct her experiments quietly."; delitem 6273,1; //Altered_Seed - set job_gen,62; + job_gen = 62; changequest 2215,2216; } else { specialeffect EF_SPELLBREAKER,AREA,"Super Cultivator#gen"; @@ -470,7 +470,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "It didn't grow at all, it's withered already."; mes "Go and start over!"; delitem 6272,1; //Experiment_Seed - set job_gen,7; + job_gen = 7; } } if (questprogress(2209) == 1) erasequest 2209; @@ -485,7 +485,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "[Devries]"; mes "Oh, wait a second."; mes "It seems that the mail's has arrived."; - set job_gen,76; + job_gen = 76; completequest 2223; close; } @@ -555,7 +555,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{ mes "Congratulations, Popo!"; mes "You are a Geneticist from now on!!"; jobchange roclass(eaclass()|EAJL_THIRD); - set job_gen,77; + job_gen = 77; getitem 5752,1; //Midas_Whisper getitem 2795,1; //Green_Apple_Ring next; @@ -584,7 +584,7 @@ job3_gen01,83,72,3 script Delivery Box#generic HIDDEN_NPC,{ switch(select("Take out a cookie bag.:Do nothing.")) { case 1: mes "- You've taken out a cookie bag out of the box. -"; - set job_gen,3; + job_gen = 3; close; case 2: mes "You do nothing."; @@ -622,7 +622,7 @@ job3_gen01,12,56,3 script Plant Guide#generic HIDDEN_NPC,{ next; mes "...The plants usually used for Alchemy are Bigibigi Grass and Muka Trees that have sharp thorns but are delicate inside and Bogi Creeper whose growth speed is really fast but parasitic on living things."; if (job_gen == 6) - set job_gen,7; + job_gen = 7; close; case 3: mes "...Using minerals in Alchemy is a way that beginners find pretty easy."; @@ -647,7 +647,7 @@ function script Genetic_Job_Plant { next; switch(select("Use it as a material.:Do not use.")) { case 1: - if (getarg(3,0)) set .@str$,"some of the "; + if (getarg(3, 0)) .@str$ = "some of the "; mes "- You've acquired "+.@str$+getarg(1)+". -"; setquest getarg(0); close; @@ -728,26 +728,26 @@ job3_gen01,7,50,3 script Testing Table#gen CLEAR_NPC,{ mes "["+strcharinfo(0)+"]"; mes "Good. Now I can let Miss Devries take a look at this seed!"; if (!questprogress(2209) && !questprogress(2210) && !questprogress(2211)) { - set job_gen,61; + job_gen = 61; getitem 6272,1; //Experiment_Seed close; } - if (questprogress(2209) == 1) set job_gen,job_gen+10; - if (questprogress(2210) == 1) set job_gen,job_gen+10; - if (questprogress(2211) == 1) set job_gen,job_gen+10; - set .@score, job_gen + JobLevel - 20; + if (questprogress(2209) == 1) job_gen += 10; + if (questprogress(2210) == 1) job_gen += 10; + if (questprogress(2211) == 1) job_gen += 10; + .@score = job_gen + JobLevel - 20; if (rand(1,100) < .@score) { - set job_gen,60; + job_gen = 60; getitem 6273,1; //Altered_Seed close; } else { - set job_gen,61; + job_gen = 61; getitem 6272,1; //Experiment_Seed close; } } else if (job_gen > 7 && job_gen < 60) { mes "- It looks like the experiment has failed. I better start over. -"; - set job_gen,7; + job_gen = 7; if (countitem(6273)) delitem 6273,1; //Altered_Seed if (countitem(6272)) delitem 6272,1; //Experiment_Seed if (questprogress(2209) == 1) erasequest 2209; @@ -800,7 +800,7 @@ job3_gen01,91,48,3 script Demi Calberine#gen 4_F_SCIENCE,{ mes "Ugh~ I think they dropped around here somewhere."; mes "I only need 10! I need to put the other parts together first... Please could you help me?!"; changequest 2216,2217; - set job_gen,63; + job_gen = 63; close; } else if (job_gen > 62 && job_gen < 74) { mes "Ah, oh no, oh no~~~"; @@ -908,7 +908,7 @@ job3_gen01,91,48,3 script Demi Calberine#gen 4_F_SCIENCE,{ mes "- Rattle -"; next; mes "- What's this? I feel like the floor is missing somewhere. -"; - set job_gen,75; + job_gen = 75; changequest 2217,2223; close2; warp "job3_gen01",23,32; @@ -946,7 +946,7 @@ job3_gen01,91,48,3 script Demi Calberine#gen 4_F_SCIENCE,{ mes "- There are so many scattered things on the floor that the lab is in chaos. -"; next; mes "- You found a little metal fragment. -"; - set job_gen, job_gen+1; + job_gen = job_gen+1; specialeffect EF_BASH; disablenpc strnpcinfo(0); initnpctimer; diff --git a/npc/re/jobs/3-2/minstrel.txt b/npc/re/jobs/3-2/minstrel.txt index be017920e..fee20e8d3 100644 --- a/npc/re/jobs/3-2/minstrel.txt +++ b/npc/re/jobs/3-2/minstrel.txt @@ -116,7 +116,7 @@ alberta,196,133,4 script Bard#job_min 4_M_BARD,{ } mes "["+strcharinfo(0)+"]"; mes "Ok, I will."; - set job_min,1; + job_min = 1; setquest 11135; next; mes "[Karian]"; @@ -181,7 +181,7 @@ alberta,196,133,4 script Bard#job_min 4_M_BARD,{ mes "[Karian]"; mes "Um.."; mes "Anyway let's meet at the airship in Izlude."; - set job_min,5; + job_min = 5; changequest 11138,11139; close; } else if (job_min == 100) { @@ -253,7 +253,7 @@ prontera,141,97,4 script Warmhearted woman 4_F_GODEMOM,{ next; mes "[Warmhearted woman]"; mes "He must know something about making that book."; - set job_min,2; + job_min = 2; changequest 11135,11136; close; } else if (job_min == 2) { @@ -285,7 +285,7 @@ prontera,140,331,6 script Glasses-wearing Man 4_M_ALCHE_D,{ next; mes "[Glasses-wearing Man]"; mes "It would be better to ask the ^f57d7dwoman standing in front of the tool shop^000000."; - set job_min,3; + job_min = 3; changequest 11136,11137; close; } else if (job_min == 3) { @@ -325,7 +325,7 @@ prontera,146,218,4 script Woman#job_min 4_F_01,{ mes "- useful information. -"; mes "- I'll go back to Alberta -"; mes "- and talk to that Bard. -"; - set job_min,4; + job_min = 4; changequest 11137,11138; close; } else if (job_min == 4) { @@ -351,7 +351,7 @@ airplane,222,67,6 script Karian#job_min1 4_M_BARD,{ mes "[Karian]"; mes "Acchh..."; if (job_min == 5) { - set job_min,6; + job_min = 6; changequest 11139,11140; close2; warp "hu_in01",267,8; @@ -386,7 +386,7 @@ hu_in01,267,5,3 script Karian#job_min2 4_M_BARD,{ next; mes "[Karian]"; mes "..."; - set job_min,7; + job_min = 7; changequest 11140,11141; close; } else if (job_min == 7) { @@ -471,7 +471,7 @@ hu_in01,267,5,3 script Karian#job_min2 4_M_BARD,{ next; mes "[Karian]"; mes "Did he? I must go there!"; - set job_min,10; + job_min = 10; changequest 11142,11143; close; } else if (job_min == 10) { @@ -605,7 +605,7 @@ hu_in01,361,103,3 script Tone-deaf person 4_M_CASMAN1,{ mes "[Tone-deaf person]"; mes "Rummaging rummaging."; mes "Browsing browsing ."; - set job_min,8; + job_min = 8; close; } else if (job_min == 8) { mes "[Tone-deaf person]"; @@ -666,7 +666,7 @@ hu_in01,361,103,3 script Tone-deaf person 4_M_CASMAN1,{ mes "Ok see you later."; mes "If you want to hear my song, you can visit me."; mes "Hahahh"; - set job_min,9; + job_min = 9; changequest 11141,11142; close; } else if (job_min == 9) { @@ -738,7 +738,7 @@ OnTouch: mes "Juno's store..."; mes "Let's go to Juno..."; if (job_min == 10) { - set job_min,11; + job_min = 11; changequest 11143,11144; } donpcevent "Karian#cmd1::OnDisable"; @@ -926,7 +926,7 @@ yuno,143,170,6 script Mr. Click#job_min 4_M_ALCHE_A,{ mes "Ok. Then let's meet at Lighthalzen's hotel."; mes "I'll get the 33 Teddy Bears."; donpcevent "Karian#cmd2::OnDisable"; - set job_min,12; + job_min = 12; getitem 6270,1; //Mins_Picture changequest 11144,11145; close; @@ -1057,7 +1057,7 @@ OnTouch: mes "Waaah!!!!!!!!!"; mes "I'm so happy!!!"; mes "Thank you, "+strcharinfo(0)+"."; - set job_min,13; + job_min = 13; changequest 11145,11146; donpcevent "Karian#cmd3::OnDisable"; close; @@ -1208,7 +1208,7 @@ OnTouch: if (job_min == 13) { mes "-on the leaves-"; percentheal -90,0; - set job_min,14; + job_min = 14; changequest 11146,11147; close2; warp "ra_in01",361,129; @@ -1226,7 +1226,7 @@ OnTouch: next; mes "["+strcharinfo(0)+"]"; mes "Where am I...?"; - set job_min,15; + job_min = 15; close; } end; @@ -1240,7 +1240,7 @@ ra_in01,358,130,4 script Old Woman#job_min 4_F_CAVE1,{ next; mes "["+strcharinfo(0)+"]"; mes "Where am I...?"; - set job_min,15; + job_min = 15; close; } else if (job_min == 15) { mes "You're in Rachel."; @@ -1308,7 +1308,7 @@ ra_in01,358,130,4 script Old Woman#job_min 4_F_CAVE1,{ mes "We don't have a proper boat."; mes "In southern of Veins, there is a port. If you are lucky you can take it..."; donpcevent "Karian#cmd4::OnDisable"; - set job_min,16; + job_min = 16; changequest 11147,11148; close; } else if (job_min == 16) { @@ -1443,7 +1443,7 @@ function Choice; mes "-I've escaped from the-"; mes "-throes of death a-"; mes "-countless amount of times.-"; - set job_min,17; + job_min = 17; changequest 11148,11149; close2; warp "comodo",184,108; @@ -1455,7 +1455,7 @@ function Choice; close; function Choice { - set .@i$, getarg(select(getarg(0),getarg(1),getarg(2))-1); + .@i$ = getarg(select(getarg(0),getarg(1),getarg(2))-1); mes "[Karian]"; if (.@i$ == "Throw the water out.") { mes "I'll row and you just throw the water out!!"; @@ -1501,7 +1501,7 @@ OnTouch: mes "Oh yeah..."; mes "Why don't we ask the villagers?"; donpcevent "Karian#cmd6::OnDisable"; - set job_min,18; + job_min = 18; changequest 11149,11150; close; } @@ -1522,7 +1522,7 @@ comodo,192,119,0 script Kayak Master#job_min 4W_M_02,{ mes "[Kayak Master]"; mes "The hostess is good at memorizing the faces of customers."; mes "It's good for business you know?"; - set job_min,19; + job_min = 19; changequest 11150,11151; close; } @@ -1558,7 +1558,7 @@ comodo,159,316,4 script Woman Roasting Meat 4_F_GODEMOM,{ next; mes "[Woman Roasting Meat]"; mes "He raised our income a lot while he was here..."; - set job_min,20; + job_min = 20; changequest 11151,11152; close; } else if (job_min == 20) { @@ -1646,7 +1646,7 @@ OnTouch: } mes "Hey! Let's go~~"; donpcevent "Karian#cmd7::OnDisable"; - set job_min,21; + job_min = 21; changequest 11152,11153; close; } @@ -1703,7 +1703,7 @@ OnTouch: next; mes "[Karian]"; mes "I can't get rid of the the memories that I was impressed with when I entered Prontera's gates."; - set job_min,22; + job_min = 22; changequest 11153,11154; donpcevent "Karian#cmd8::OnDisable"; close; @@ -1730,7 +1730,7 @@ OnTouch: mes "I'm so tired."; mes "I want to take a rest~"; mes "Come here, "+strcharinfo(0)+"."; - set job_min,23; + job_min = 23; close; } end; @@ -1740,7 +1740,7 @@ prontera,155,42,0 script #prtjm1 HIDDEN_WARP_NPC,1,1,{ OnTouch: if (job_min == 23) { mes "-Let me go back to my hometown.-"; - set job_min,24; + job_min = 24; close2; warp "prontera",155,44; end; @@ -1752,7 +1752,7 @@ prontera,155,44,0 script #prtjm2 HIDDEN_WARP_NPC,1,1,{ OnTouch: if (job_min == 24) { mes "-There are many beautiful flowers.-"; - set job_min,25; + job_min = 25; close2; warp "prontera",155,46; end; @@ -1764,7 +1764,7 @@ prontera,155,46,0 script #prtjm3 HIDDEN_WARP_NPC,1,1,{ OnTouch: if (job_min == 25) { mes "-The birds sing for me.-"; - set job_min,26; + job_min = 26; close2; warp "prontera",155,48; end; @@ -1813,7 +1813,7 @@ OnTouch: mes "[Karian]"; mes "Why are you looking at me?"; mes "How was it? Have fun??"; - set job_min,27; + job_min = 27; donpcevent "Karian#cmd9::OnDisable"; close2; warp "prt_in",101,174; @@ -1874,7 +1874,7 @@ prt_in,94,172,4 script Karian#job_min3 4_M_MINSTREL1,{ next; mes "[Maestro Song]"; mes "You are also my friend."; - set job_min,100; + job_min = 100; jobchange roclass(eaclass()|EAJL_THIRD); completequest 11154; getitem 5751,1; //Minstrel_Song_Hat diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt index c8c0346eb..b8679cd4d 100644 --- a/npc/re/jobs/3-2/royal_guard.txt +++ b/npc/re/jobs/3-2/royal_guard.txt @@ -112,7 +112,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ next; mes "[Heinrich]"; mes "It's not a simple story to tell a person like you. Go back."; - set job_royal,1; + job_royal = 1; setquest 12090; close; case 2: @@ -187,7 +187,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ next; mes "[Heinrich]"; mes "Don't forget to bring the 100 Burning Hearts."; - set job_royal,2; + job_royal = 2; changequest 12090,12091; close; } else if (job_royal == 2) { @@ -201,7 +201,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ mes "[Heinrich]"; mes "Wait while I arrange the stuff that you brought."; delitem 7097,100; //Burning_Heart - set job_royal,3; + job_royal = 3; changequest 12091,12092; close; } else if (job_royal == 3) { @@ -275,7 +275,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ mes "I don't know if it will be helpful or not. I will write an explanation in detail."; next; mes "^000099Here's the last trace of the Royal Guard. Open the quest window and check the position.^000000"; - set job_royal,4; + job_royal = 4; changequest 12092,12093; close; } else if (job_royal == 4) { @@ -319,7 +319,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ mes "I'll be deciphering the cloth for now so I will be very busy!"; delitem 6274,1; //Saint_Cloth_Piece getitem 6275,1; //King_Shield - set job_royal,5; + job_royal = 5; changequest 12093,12094; close; } else if (job_royal == 5) { @@ -437,7 +437,7 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{ gl_church,173,88,0 script Delicate trace#01 CLEAR_NPC,{ if (job_royal == 4 && countitem(6274) == 0) { progressbar "ffff00",5; - set .@roy_ran, rand(1,70); + .@roy_ran = rand(1,70); if (.@roy_ran < 6) getitem 6274,1; //Saint_Cloth_Piece else if (.@roy_ran > 5 && .@roy_ran < 66) @@ -507,7 +507,7 @@ sec_in02,12,43,3 script sorcereryal 1_M_LIBRARYMASTER,1,1,{ mes "Set item to adjust the Royal Guard"; mes "You can only set a number between 1 to 5."; } else { - set job_royal, .@input; + job_royal = .@input; mes "Completed"; } close; @@ -519,7 +519,7 @@ sec_in02,12,43,3 script sorcereryal 1_M_LIBRARYMASTER,1,1,{ mes "Set item to adjust the Rune Knight"; mes "You can only set a nbumber between 1 to 24."; } else { - set job_rune_edq, .@input; + job_rune_edq = .@input; mes "Completed"; } close; @@ -531,7 +531,7 @@ sec_in02,12,43,3 script sorcereryal 1_M_LIBRARYMASTER,1,1,{ mes "Set item to adjust the Sorcerer"; mes "You can only set a number between 1 to 5."; } else { - set job_soc, .@input; + job_soc = .@input; mes "Completed"; } close; diff --git a/npc/re/jobs/3-2/shadow_chaser.txt b/npc/re/jobs/3-2/shadow_chaser.txt index fc95e1dc4..e51517446 100644 --- a/npc/re/jobs/3-2/shadow_chaser.txt +++ b/npc/re/jobs/3-2/shadow_chaser.txt @@ -38,7 +38,7 @@ morocc,156,70,3 script Girl#sc00 4_F_04,3,3,{ mes "[Girl]"; mes "Every time they visit us, they are on new missions."; mes "What missions are they doing I wonder?"; - set job_sha,1; + job_sha = 1; close; } else if (job_sha == 1) { mes "If you have any interest... just go!"; @@ -76,7 +76,7 @@ OnTouch: in_rogue,376,100,5 script Guild Member#sc01 4_M_ROGUE,{ if (BaseJob == Job_Rogue) { if (job_sha < 2) { - set @job_sha,0; + @job_sha = 0; OnDialogue: mes "[Vin]"; mes "Ah? What's this?"; @@ -104,8 +104,8 @@ in_rogue,376,100,5 script Guild Member#sc01 4_M_ROGUE,{ mes "My name is Urupa."; mes "If you are interested, could you come over here?"; if (@job_sha == 1) { - set job_sha,1; - set @job_sha,0; + job_sha = 1; + @job_sha = 0; } close; case 2: @@ -146,7 +146,7 @@ in_rogue,376,100,5 script Guild Member#sc01 4_M_ROGUE,{ in_rogue,379,99,1 script Guild Member#sc02 4_F_ROGUE,{ if (BaseJob == Job_Rogue) { if (job_sha < 2) { - set @job_sha,1; + @job_sha = 1; doevent "Guild Member#sc01::OnDialogue"; end; } @@ -183,7 +183,7 @@ in_rogue,379,101,3 script Scary Man#sc03 1_M_SIGNROGUE,{ mes "[Urupa]"; mes "My name is Urupa."; mes "If you have anything interesting just challenge it."; - set job_sha,1; + job_sha = 1; close; } mes "[Scary man]"; @@ -217,7 +217,7 @@ in_rogue,379,101,3 script Scary Man#sc03 1_M_SIGNROGUE,{ mes "[Urupa]"; mes "So write this down!"; mes "I expected that you would take this adventure!"; - set job_sha,2; + job_sha = 2; setquest 7160; close; } else if (job_sha == 2) { @@ -316,7 +316,7 @@ s_atelier,65,123,5 script Manager#sc04_prt 4_M_KHKYEL,{ mes "[Manager]"; mes "So you are the one."; mes "Could you wait for a sec'?"; - set job_sha,3; + job_sha = 3; close; } mes "[Manager]"; @@ -373,7 +373,7 @@ s_atelier,65,123,5 script Manager#sc04_prt 4_M_KHKYEL,{ mes "[Graham]"; mes "What the hell?"; mes "If you are not going to help then I'll just find someone else."; - set job_sha,4; + job_sha = 4; close; case 2: mes "[Graham]"; @@ -467,7 +467,7 @@ s_atelier,65,123,5 script Manager#sc04_prt 4_M_KHKYEL,{ mes "[Graham]"; mes "Ok?"; mes "Then go there!"; - set job_sha,9; + job_sha = 9; changequest 7165,7166; close; } else if (job_sha == 9) { @@ -569,21 +569,21 @@ L_Code: mes "Now let's move on to the mission."; mes "Here's the cipher..."; next; - set .@key01, rand(3,5); - set .@a, 1 + .@key01; - set .@b, 2 + .@key01; - set .@d, 4 + .@key01; - set .@e, 5 + .@key01; - set .@f, 6 + .@key01; - set .@h, 8 + .@key01; - set .@i, 9 + .@key01; - set .@l, 12 + .@key01; - set .@n, 14 + .@key01; - set .@o, 15 + .@key01; - set .@r, 18 + .@key01; - set .@s, 19 + .@key01; - set .@t, 20 + .@key01; - set .@u, 21 + .@key01; + .@key01 = rand(3,5); + .@a = 1 + .@key01; + .@b = 2 + .@key01; + .@d = 4 + .@key01; + .@e = 5 + .@key01; + .@f = 6 + .@key01; + .@h = 8 + .@key01; + .@i = 9 + .@key01; + .@l = 12 + .@key01; + .@n = 14 + .@key01; + .@o = 15 + .@key01; + .@r = 18 + .@key01; + .@s = 19 + .@key01; + .@t = 20 + .@key01; + .@u = 21 + .@key01; mes "^4d4dff" + .@b + " " + .@l + " " + .@u + " " + .@e + " "; mes "" + .@f + " " + .@i + " " + .@r + " " + .@e + " "; mes "" + .@i + " " + .@n + " "; @@ -592,7 +592,7 @@ L_Code: mes "" + .@t + " " + .@h + " " + .@i + " " + .@r + " " + .@d + " "; mes "" + .@f + " " + .@l + " " + .@o + " " + .@o + " " + .@r + " "; mes "key : " + .@key01 + "."; - set job_sha,5; + job_sha = 5; erasequest 7160; if (.@key01 == 3) setquest 7161; else if (.@key01 == 4) setquest 7162; @@ -706,7 +706,7 @@ s_atelier,168,65,5 script Manager#sc08_ra 4_M_DOCTOR,{ mes "What? You don't know it?"; mes "Then you'd better think about it more."; mes "It's so easy."; - set job_sha,10; + job_sha = 10; changequest 7166,7167; close; } @@ -806,7 +806,7 @@ s_atelier,168,65,5 script Manager#sc08_ra 4_M_DOCTOR,{ mes "If Haled isn't supportive..."; mes "Tell him ^4d4dffI know what you did last summer!^000000"; mes "You shouldn't be wrong...!?"; - set job_sha,18; + job_sha = 18; changequest 7172,7173; close; } else if (job_sha == 18) { @@ -863,19 +863,19 @@ L_Code: case 0: mes "[ S E E D ]"; mes "S E E D?"; - set job_sha,11; + job_sha = 11; changequest getarg(0),7168; break; case 1: mes "[ F O O T ]"; mes "F O O T?"; - set job_sha,12; + job_sha = 12; changequest getarg(0),7169; break; case 2: mes "[ C O L D ]"; mes "C O L D?"; - set job_sha,13; + job_sha = 13; changequest getarg(0),7170; break; } @@ -928,7 +928,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{ mes "So what?"; mes "He's a wild-eyed person."; mes "Did you just speak to me in a threatening tone?"; - set job_sha,19; + job_sha = 19; close; } else if (job_sha == 19) { mes "[Haled]"; @@ -941,7 +941,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{ mes "What's wrong with you?"; mes "Are you ok?"; mes "Paul? What do you want to say?"; - set job_sha,19; + job_sha = 19; close; } else if (job_sha == 20) { mes "[Haled]"; @@ -974,7 +974,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{ mes "Of course, if you find something, you have to come back."; mes "Got it?"; mes "I'm going to write it down so that you won't forget."; - set job_sha,21; + job_sha = 21; changequest 7173,7174; close; } else if (job_sha == 21) { @@ -1046,7 +1046,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{ mes "[Haled]"; mes "Ok. Let me finish."; mes "Go to Vicente in Lighthalzen."; - set job_sha,26; + job_sha = 26; changequest 7176,7177; close; } @@ -1112,7 +1112,7 @@ L_Code: mes "[Haled]"; mes "I need some time to collect my thoughts."; mes "Wait for me a bit."; - set job_sha,20; + job_sha = 20; close; } return; @@ -1220,7 +1220,7 @@ s_atelier,25,75,3 script Manager#sc10_lgt 4_M_HUMAN_02,{ mes "[Vicente]"; mes "You can't imagine what kind of things you might find."; mes "That's the final destination of all of the keys."; - set job_sha,27; + job_sha = 27; changequest 7177,7178; next; mes "[Vicente]"; @@ -1297,7 +1297,7 @@ s_atelier,25,75,3 script Manager#sc10_lgt 4_M_HUMAN_02,{ mes "There is someone who has been waiting for you."; mes "He's been waiting for someone to bring this brush back."; mes "Let's go inside."; - set job_sha,29; + job_sha = 29; erasequest 7179; close; } else if (job_sha == 29 || job_sha == 30) { @@ -1497,7 +1497,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{ mes "I'm so thirsty."; mes "Wait a minute."; delitem 6269,1; //Master_Brush - set job_sha,30; + job_sha = 30; close; } mes "[Dumk]"; @@ -1594,7 +1594,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{ jobchange roclass(eaclass()|EAJL_THIRD); getitem 6121,1; //Makeover_Brush getitem 6122,1; //Paint_Brush - set job_sha,32; + job_sha = 32; getitem 2795,1; //Green_Apple_Ring getitem 5750,1; //Shadow_Handicraft next; @@ -1674,8 +1674,8 @@ tur_dun03,38,209,1 script Blue Flame#sc_f01 4_NFWISP,{ mes "The deciphered code means..."; next; input .@inputstr$; - set .@dap01$, "blue fire in turtle island third floor"; - set .@dap02$, "BLUE FIRE IN TURTLE ISLAND THIRD FLOOR"; + .@dap01$ = "blue fire in turtle island third floor"; + .@dap02$ = "BLUE FIRE IN TURTLE ISLAND THIRD FLOOR"; if (.@inputstr$ != .@dap01$ && .@inputstr$ != .@dap02$) { mes "["+strcharinfo(0)+"]"; mes "What was it?"; @@ -1717,7 +1717,7 @@ tur_dun03,38,209,1 script Blue Flame#sc_f01 4_NFWISP,{ next; mes "The Blue Flame is growning and rolling."; mes "They seem to be related."; - set job_sha,6; + job_sha = 6; setquest 7164; if (questprogress(7161)) erasequest 7161; if (questprogress(7162)) erasequest 7162; @@ -1730,7 +1730,7 @@ tur_dun03,38,209,1 script Blue Flame#sc_f01 4_NFWISP,{ next; select("Pick up the marbles."); mes "When you pick them up, you can feel that your weight is lightened."; - set job_sha,7; + job_sha = 7; erasequest 7164; close2; warp "job3_sha01",22,82; @@ -1783,7 +1783,7 @@ ice_dun02,206,223,1 script Red Flame#sc_f02 4_NFWISP,{ mes "Then pick it up."; mes "Tear my soul and"; mes "show the truth."; - set job_sha, job_sha+3; + job_sha += 3; setquest 7171; close; } else if (job_sha == 14 || job_sha == 15 || job_sha == 16) { @@ -1889,7 +1889,7 @@ niflheim,230,276,1 script Red Flame#sc_f03 4_NFWISP,{ next; mes "The flame is dying."; mes "You should handle the shadow of pleasure."; - set job_sha,22; + job_sha = 22; erasequest 7174; setquest 7175; close; @@ -1897,7 +1897,7 @@ niflheim,230,276,1 script Red Flame#sc_f03 4_NFWISP,{ if (questprogress(7175,HUNTING) == 2) { mes "You can't feel the soul from the flame."; mes "When you go closer, you can't see well because of darkness."; - set job_sha,23; + job_sha = 23; erasequest 7175; close2; warp "job3_sha01",73,87; @@ -1934,7 +1934,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{ next; setarray .@Codes1$[1],"EFDFJWF","FGEGKXG","GHFHLYH","HIGIMZI","IJHJNAJ","JKIKOBK","KLJLPCL","LMKMQDM"; setarray .@Codes2$[1],"IPOFTUZ","JQPGUVA","KRQHVWB","LSRIWXC","MTSJXYD","NUTKYZE","OVULZAF","PWVMABG"; - set .@i, rand(1,8); + .@i = rand(1,8); mes " "; mes " "; mes " DECEIVE"; @@ -1973,7 +1973,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{ mes "There is a small and fabulous key."; next; mes "- You get the Key of Deception. -"; - set job_sha,8; + job_sha = 8; getitem 6266,1; //Cheat_Key setquest 7165; close; @@ -1997,7 +1997,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{ } setarray .@Words$[0],"SEED","FOOT","COLD"; setarray .@numbers[0],24,25,20; - set .@i,job_sha-14; + .@i = job_sha-14; if (job_sha > 13 && job_sha < 17) { mes "There are lots of boxes."; mes "with sort of numbers."; @@ -2038,7 +2038,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{ mes "Anyway, Paul will be disappointed."; mes "Key again..."; mes "How can I escape from here...?"; - set job_sha,17; + job_sha = 17; getitem 6267,1; //Virtual_Key erasequest 7171; changequest 7168+.@i,7172; @@ -2173,7 +2173,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{ mes "What? A key again!"; mes "Haled will be disappointed."; mes "I better go back."; - set job_sha,25; + job_sha = 25; setquest 7176; getitem 6268,1; //Mirth_Key close; @@ -2194,7 +2194,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{ mes "..."+.@inputstr$+"...?"; if (job_sha == 23) { mes "What does that mean?"; - set job_sha,24; + job_sha = 24; } else mes "Again? I don't get it."; close; @@ -2236,7 +2236,7 @@ job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{ delitem 6266,1; //Cheat_Key delitem 6267,1; //Virtual_Key delitem 6268,1; //Mirth_Key - set job_sha,28; + job_sha = 28; getitem 6269,1; //Master_Brush changequest 7178,7179; next; @@ -2274,7 +2274,7 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{ mes "You are a member of the Rogue guild!"; mes "What can I help you with?"; next; - set .@i, select("I need a make-up brush.:I need a paint brush.:Nothing."); + .@i = select("I need a make-up brush.:I need a paint brush.:Nothing."); mes "[Max]"; if (.@i == 1) setarray .@i[1],6121,1,10,100000; else if (.@i == 2) setarray .@i[1],6122,2,30,200000; @@ -2339,7 +2339,7 @@ s_atelier,136,70,3 script Titika#sc09_ra 4_F_CHILD,{ mes "You are in a guild."; mes "What can I help you with?"; next; - set .@i, select("Make a new make-up brush.:Make a new paint brush.:Nothing."); + .@i = select("Make a new make-up brush.:Make a new paint brush.:Nothing."); mes "[Titika]"; if (.@i == 1) setarray .@i[1],6121,1,10,100000; else if (.@i == 2) setarray .@i[1],6122,2,30,200000; @@ -2389,7 +2389,7 @@ s_atelier,124,128,3 script RimiGX#sc07_yuno 4_F_LGTGIRL,{ if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) { mes "What are you looking for?"; next; - set .@i, select("Make a new blush for make-up.:Make a new blush for painting.:Nothing."); + .@i = select("Make a new blush for make-up.:Make a new blush for painting.:Nothing."); mes "[RimiGX]"; if (.@i == 1) setarray .@i[1],6121,1,10,100000; else if (.@i == 2) setarray .@i[1],6122,2,30,200000; @@ -2438,7 +2438,7 @@ s_atelier,26,68,3 script Vito#sc11_lgt 4_M_KHMAN,{ if (Class == Job_Shadow_Chaser || Class == Job_Shadow_Chaser_T || Class == Job_Baby_Chaser) { mes "What are you looking for?"; next; - set .@i, select("Make a new blush for make-up.:Make a new blush for painting.:Nothing."); + .@i = select("Make a new blush for make-up.:Make a new blush for painting.:Nothing."); mes "[Vito]"; if (.@i == 1) setarray .@i[1],6121,1,10,100000; else if (.@i == 2) setarray .@i[1],6122,2,30,200000; diff --git a/npc/re/jobs/3-2/sorcerer.txt b/npc/re/jobs/3-2/sorcerer.txt index 5108dbe49..b3ccc3c62 100644 --- a/npc/re/jobs/3-2/sorcerer.txt +++ b/npc/re/jobs/3-2/sorcerer.txt @@ -64,7 +64,7 @@ gef_tower,102,34,5 script Merito 2_M_SAGE_B,{ mes "[Merito]"; mes "Give me a second to register your name."; mes "Talk to me again in a second."; - set job_soc,1; + job_soc = 1; close; } else if (job_soc == 1) { mes "Good, then I'll give you a short explanation about the Sorcerer."; @@ -111,7 +111,7 @@ gef_tower,102,34,5 script Merito 2_M_SAGE_B,{ mes "[Merito]"; mes "Okay. "; mes "Then I'll hand it over to Karacas who is on the 4th floor. He will guide you through the process of the test."; - set job_soc,2; + job_soc = 2; setquest 12096; close; case 2: @@ -224,7 +224,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{ next; mes "[Karacas]"; mes "When you bring these materials, I'll tell you the next step."; - set job_soc,3; + job_soc = 3; changequest 12096,12097; close; } else if (job_soc == 3) { @@ -295,7 +295,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{ mes "Then I'll write down the progress that I've summarized shortly. Wait..."; next; mes "^000099You got a paper on which the way of communicating with spirits is written. For more information please open your quest window^000000."; - set job_soc,4; + job_soc = 4; changequest 12097,12098; close; } @@ -321,7 +321,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{ delitem 6276,1; //Clear_Reagent delitem 6278,1; //Black_Reagent delitem 6277,1; //Red_Reagent - set job_soc,5; + job_soc = 5; completequest 12098; close; } @@ -379,7 +379,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{ if (job_soc == 4 && countitem(.@id[0]) > 2) { progressbar "ffff00",5; delitem .@id[0],3; //Boody_Red,Crystal_Blue,Yellow_Live,Wind_Of_Verdure - set .@soc_ran, rand(1,70); + .@soc_ran = rand(1,70); if (.@soc_ran < 10) { if (countitem(.@id[2]) == 0) { mes "You got a reagent by communicating with an unseen spirit."; diff --git a/npc/re/jobs/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt index 787c42e7a..2e25a6f28 100644 --- a/npc/re/jobs/3-2/sura.txt +++ b/npc/re/jobs/3-2/sura.txt @@ -140,7 +140,7 @@ ve_in,237,125,0 script King Crab#job_shu 1_M_PAY_ELDER,{ mes "..."; mes "....."; mes "........(cheeks glowing)"; - set job_shu,1; + job_shu = 1; setquest 11155; close; } else { @@ -214,7 +214,7 @@ OnTimer600000: ve_in,97,149,0 script #Suraryokan HIDDEN_WARP_NPC,3,3,{ OnTouch: if (job_shu == 1) { - set .@n$, "["+strcharinfo(0)+"]"; + .@n$ = "["+strcharinfo(0)+"]"; mes "[???]"; mes "Who is it?!"; next; @@ -263,7 +263,7 @@ OnTouch: next; mes "[???]"; mes "What the hell do you want?"; - set job_shu,2; + job_shu = 2; close; } end; @@ -367,7 +367,7 @@ ve_in,98,159,0 script Fighter#job_shu 4_F_SURA,{ mes "[???]"; mes "Okay, then^f57d7d go and kill 100 Desert Wolves.^000000"; mes "After that, I'll think about it again."; - set job_shu,3; + job_shu = 3; changequest 11155,11156; close; case 2: @@ -393,7 +393,7 @@ ve_in,98,159,0 script Fighter#job_shu 4_F_SURA,{ next; mes "[Bruno]"; mes "Tell him that 'Bruno' sent you there and after that, just suit yourself."; - set job_shu,4; + job_shu = 4; changequest 11156,11157; close; } @@ -468,7 +468,7 @@ yuno_fild07,254,176,7 script Buddy#job_shu 4_M_MONK,{ next; mes "[Buddy]"; mes "This way..."; - set job_shu,5; + job_shu = 5; changequest 11157,11158; close2; warp "sword_1-1",215,244; @@ -802,7 +802,7 @@ sword_1-1,223,167,2 script Master#job_shu 4_M_SURA,{ } mes "[Master]"; mes "You should train yourself steadily until that day."; - set job_shu,100; + job_shu = 100; jobchange roclass(eaclass()|EAJL_THIRD); completequest 11158; getitem 5754,1; //Blazing_Soul diff --git a/npc/re/jobs/3-2/wanderer.txt b/npc/re/jobs/3-2/wanderer.txt index 5a3319a62..07842f0dd 100644 --- a/npc/re/jobs/3-2/wanderer.txt +++ b/npc/re/jobs/3-2/wanderer.txt @@ -73,7 +73,7 @@ xmas,162,209,5 script Aspiring Wanderer, Soy 4_F_06,{ mes "Right in front of the Christmas tree!"; mes "White snow, beautiful melody, and my captivating dance."; mes "Don't you think it would be a great performance?"; - set job_wan,1; + job_wan = 1; close; case 2: mes "[Mimi]"; @@ -128,7 +128,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ mes "But I'm so overwhelmed that I might go crazy. Ahhhh~~!"; next; while (1) { - set .@loop,0; + .@loop = 0; switch(select("Sorry, I don't care.:What's the matter?:Why are you telling me this?")) { case 1: mes "[Performance Manager]"; @@ -142,7 +142,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ mes "Those people don't feel any responsibility.."; mes "We're all expecting them and I've promoted them a lot."; next; - set .@loop,1; + .@loop = 1; break; case 3: emotion e_ag; @@ -155,7 +155,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ if (.@loop) break; } while (1) { - set .@loop,0; + .@loop = 0; switch(select("Is there a problem?:Who do you mean?:It has nothing to do with me.")) { case 1: mes "[Performance Manager]"; @@ -169,7 +169,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ mes "Swing swing, dangling dangling!!"; mes "This is awful."; next; - set .@loop,1; + .@loop = 1; break; case 2: mes "[Performance Manager]"; @@ -187,7 +187,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ if (.@loop) break; } while (1) { - set .@loop,0; + .@loop = 0; switch(select("Are you afraid of people?:The performers caused trouble?:Ignore him.")) { case 1: mes "[Performance Manager]"; @@ -207,7 +207,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ mes "Besides the money I spent for promoting and setting up the stage.."; mes "How can I handle all the angry people?"; next; - set .@loop,1; + .@loop = 1; break; case 3: mes "[Performance Manager]"; @@ -270,7 +270,7 @@ xmas,132,143,5 script Performance Manager#wnd 4_M_06,{ mes "[Performance Manager]"; mes "I don't know where Guitar Song is, but it is clear that he likes to visit the Comodo Casino!"; mes "Hu, Hurry up!! Oh, I really feel dizzy! Guitar Song!!!"; - set job_wan,2; + job_wan = 2; setquest 2218; close; } else if (job_wan == 2) { @@ -358,7 +358,7 @@ comodo,140,86,5 script Cheerless Maestro 4_M_MINSTREL,{ mes "I don't want to think about it. It just hurts my feelings."; next; mes "- Guitar Song is adamantly refusing to talk. What should I do to hear the story about <Nollio>? -"; - set job_wan,3; + job_wan = 3; close; } else if (job_wan == 3) { mes "[" + strcharinfo(0) + "]"; @@ -522,7 +522,7 @@ comodo,140,86,5 script Cheerless Maestro 4_M_MINSTREL,{ mes "[Guitar Song]"; mes "Although she loses her temper easily, her dance is so wonderful...."; mes "I don't know what I am doing wrong."; - set job_wan,4; + job_wan = 4; changequest 2218,2219; next; mes "[Guitar Song]"; @@ -546,7 +546,7 @@ comodo,140,86,5 script Cheerless Maestro 4_M_MINSTREL,{ next; mes "[Guitar Song]"; mes "I'll go there right away and scold her."; - set job_wan,9; + job_wan = 9; close; } else if (job_wan == 9) { mes "[Guitar Song]"; @@ -669,7 +669,7 @@ hu_in01,305,251,5 script Vacant Looking Lady#wnd 4_F_CAPEGIRL,{ next; mes "[Vacant Looking Lady]"; mes "<Nollio> is over! Boo hoo hoo!"; - set job_wan,5; + job_wan = 5; close; } else if (job_wan == 5) { emotion e_sob; @@ -728,7 +728,7 @@ hu_in01,305,251,5 script Vacant Looking Lady#wnd 4_F_CAPEGIRL,{ mes "I'll see you there."; mes "Just go one field South and one field West from here in Hugel."; mes "I'll meet you there."; - set job_wan,6; + job_wan = 6; changequest 2219,2220; close; } else if (job_wan == 6 || job_wan == 7) { @@ -766,7 +766,7 @@ hu_fild05,342,130,5 script Dancer Kim#fild 4_F_CAPEGIRL,{ mes "[Dancer Kim]"; mes "Good! Then ready, set~~"; mes "Go!"; - set job_wan,7; + job_wan = 7; changequest 2220,2221; close; } else if (job_wan == 7) { @@ -807,7 +807,7 @@ hu_fild05,342,130,5 script Dancer Kim#fild 4_F_CAPEGIRL,{ mes "[Dancer Kim]"; mes "You're a good person. I'm really happy that I met you."; mes "Thank god for sending such a stubborn person to me!"; - set job_wan,8; + job_wan = 8; changequest 2221,2222; close; } else { @@ -822,13 +822,13 @@ hu_fild05,342,130,5 script Dancer Kim#fild 4_F_CAPEGIRL,{ mes "I'm so tired. I don't give up halfway. It's a good exercise for me. I will have to give up Nollio to another Wanderer, it's all over...."; next; mes "- Dancer Kim dropped down by grief and fatigue -"; - set job_wan,6; + job_wan = 6; changequest 2221,2220; close; } else { mes "[Dancer Kim]"; mes "Huh...?"; - set job_wan,6; + job_wan = 6; close; } } else if (job_wan == 8) { @@ -981,7 +981,7 @@ xmas,147,135,5 script Dancer Kim#xmas 4_F_WANDERER,{ mapannounce "xmas","Dancer Kim: Introducing the rising Wanderer! " + strcharinfo(0) + "!",bc_map,"0xffff00"; //FW_NORMAL 12 0 0 mes "This rising Wanderer star, " + strcharinfo(0) + "!"; jobchange roclass(eaclass()|EAJL_THIRD); - set job_wan,10; + job_wan = 10; getitem 2795,1; //Green_Apple_Ring getitem 5758,1; //Dying_Swan completequest 2222; |