summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/jobs/3-1')
-rw-r--r--npc/re/jobs/3-1/archbishop.txt40
-rw-r--r--npc/re/jobs/3-1/guillotine_cross.txt147
-rw-r--r--npc/re/jobs/3-1/mechanic.txt24
-rw-r--r--npc/re/jobs/3-1/ranger.txt74
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt128
-rw-r--r--npc/re/jobs/3-1/warlock.txt30
6 files changed, 229 insertions, 214 deletions
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index 2daf9d7b5..78e35ef34 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -122,7 +122,7 @@ prt_church,103,88,3 script Praying Minister#arch 1_M_PASTOR,{
mes "He's very old so he is hard of hearing.";
mes "You have to speak loud and clearly. You got it?";
mes "I hope that this paves the way for you to live in the light of Odin.";
- set job_arch,1;
+ job_arch = 1;
setquest 2187;
close;
case 2:
@@ -308,7 +308,7 @@ umbala,139,227,3 script Priest#arch 1_M_PASTOR,{
mes "After making your pilgrimage, let's have a drink together and talk about your experience.";
next;
mes "- Priest Dayan smiles again. -";
- set job_arch,2;
+ job_arch = 2;
changequest 2187,2188;
close;
} else if (job_arch == 2) {
@@ -405,7 +405,7 @@ umbala,139,227,3 script Priest#arch 1_M_PASTOR,{
mes "Thank you very much.";
mes "Feel free to visit here when you want to pray, "+(Sex?"brother.":"sister.");
mes "A visit from a friend always makes me happy.";
- set job_arch,4;
+ job_arch = 4;
changequest 2188,2189;
close;
}
@@ -559,7 +559,7 @@ OnTouch:
mes "[" + strcharinfo(0) + "]";
mes "That was refreshing.";
mes "I guess I should go back to Priest Dayan.";
- set job_arch,3;
+ job_arch = 3;
close2;
warp "umbala",138,219;
end;
@@ -707,7 +707,7 @@ hu_in01,205,204,7 script Praying Nun#benew 1_F_PRIEST,{
mes "[Vinue]";
mes "I'll pray for your safe return.";
mes "I hope that Odin gives you his protection as well.";
- set job_arch,5;
+ job_arch = 5;
changequest 2189,2190;
close;
} else if ((job_arch > 4) && (job_arch < 100)) {
@@ -901,11 +901,11 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "When you finish preparing to go on, talk to me again.";
mes "It'll be a long journey...";
- set job_arch,6;
+ job_arch = 6;
close;
} else if (job_arch == 6) {
if ($@archbs == 0) {
- set $@archbs,1;
+ $@archbs = 1;
mes "[Valkyrie Anguhilde]";
mes "" + strcharinfo(0) + " Did you finish preparing for your way of asceticism?";
next;
@@ -913,19 +913,19 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Hmm, someone is battling the devil in the shrine right now.";
mes "You just wait a minute while I'm finding who it is.";
- set $@archbs,0;
+ $@archbs = 0;
close;
}
mes "[Valkyrie Anguhilde]";
mes "Ok. Now I'm going to send you there.";
mes "^FF0000When you go there, you have to summon my impersonation with the scroll^000000. Don't forget.";
- set $@archbs,0;
+ $@archbs = 0;
close2;
nude;
if (countitem(2798))
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
donpcevent "start#arch::OnEnable";
- set job_arch,7;
+ job_arch = 7;
changequest 2190,2191;
warp "job3_arch02",119,49;
hideonnpc "Valkyrie#arch";
@@ -938,20 +938,20 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
if (countitem(12381)) delitem 12381,countitem(12381); //ValkyrieA_Scroll
if (countitem(12382)) delitem 12382,countitem(12382); //ValkyrieB_Scroll
if ($@archbs == 0) {
- set $@archbs,1;
+ $@archbs = 1;
mes "[Valkyrie Anguhilde]";
mes "Are you ok human?";
mes "It was not as easy as I expected.";
mes "Will you challenge again?";
next;
if (getmapusers("job3_arch02") > 0) {
- set $@archbs,0;
+ $@archbs = 0;
mes "[Valkyrie Anguhilde]";
mes "Hmm, someone is battling the devil in the shrine right now.";
mes "You just wait a minute while I'm finding who it is.";
close;
}
- set $@archbs,0;
+ $@archbs = 0;
mes "[Valkyrie Anguhilde]";
mes "OK. now I'm going to send you there.";
mes "^FF0000When you go there, you have to summon my impersonation with the scroll^000000.";
@@ -962,7 +962,7 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
if (countitem(2798))
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
donpcevent "start#arch::OnEnable";
- set job_arch,7;
+ job_arch = 7;
warp "job3_arch02",119,49;
hideonnpc "Valkyrie#arch";
end;
@@ -974,7 +974,7 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
}
end;
OnBc:
- set $@archbs,0;
+ $@archbs = 0;
mapannounce "job3_arch01","Valkyrie: I think someone fell down in the shrine. I can hear the devil's unpleasant laugh.",bc_map,"0xFFCE00";
hideoffnpc "Valkyrie#arch";
end;
@@ -997,7 +997,7 @@ OnTouch:
} else if (getmercinfo(1) == 2037) {
if (strnpcinfo(0) == "#arch_1_10")
viewpoint 1,113,327,1,0xFF9900;
- set .@randht, rand(1,10);
+ .@randht = rand(1,10);
if (.@randht < 8)
mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits! Be careful!",bc_map,"0xFFCE00";
else if ((.@randht == 8) || (.@randht == 9))
@@ -1293,7 +1293,7 @@ OnTouch:
if (countitem(2798))
delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
delitem 6154,countitem(6154); //Broken_Horn_Pipe
- set job_arch,100;
+ job_arch = 100;
completequest 2191;
getitem 5747,1; //Mitra
getitem 2795,1; //Green_Apple_Ring
@@ -1344,7 +1344,7 @@ OnTouch:
delitem 12382,1; //ValkyrieB_Scroll
// fall through
} else if (getmercinfo(1) == 2038) {
- set .@randht, rand(1,10);
+ .@randht = rand(1,10);
if (.@randht < 8)
mapannounce "job3_arch02","Whispering of an impersonation: I can feel the devil's spirits. Can you hear? The sound of gathering in crowds.",bc_map,"0xFFCE00";
else if ((.@randht == 8) || (.@randht == 9))
@@ -1656,11 +1656,11 @@ job3_arch01,1,1,1 script control#arch CLEAR_NPC,{
next;
switch(select("0:1")) {
case 1:
- set $@archbs,0;
+ $@archbs = 0;
hideoffnpc "Valkyrie#arch";
close;
case 2:
- set $@archbs,1;
+ $@archbs = 1;
hideoffnpc "Valkyrie#arch";
close;
}
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt
index 63d1b6106..5a75aeb84 100644
--- a/npc/re/jobs/3-1/guillotine_cross.txt
+++ b/npc/re/jobs/3-1/guillotine_cross.txt
@@ -83,14 +83,14 @@ que_job01,75,96,3 script Guild Member#3rdgc01 4_M_MOCASS1,{
mes "[Ahcart]";
mes "You should be able to find it easily.";
mes "Go now.";
- set job_3rd_gc, 3;
+ job_3rd_gc = 3;
setquest 7101;
close;
case 2:
mes "[Ahcart]";
mes "Got it.";
mes "But don't think about it for too long.";
- set job_3rd_gc, 2;
+ job_3rd_gc = 2;
close;
}
}
@@ -102,7 +102,7 @@ que_job01,75,96,3 script Guild Member#3rdgc01 4_M_MOCASS1,{
mes "[Ahcart]";
mes "Of course, a chapter of the assassin guild is not only in Morroc. If you have a chance to go there, visit there.";
mes "I think you might go there.";
- set job_3rd_gc, 1;
+ job_3rd_gc = 1;
close;
}
mes "[A man of a sharp impression]";
@@ -130,7 +130,7 @@ que_job01,75,96,3 script Guild Member#3rdgc01 4_M_MOCASS1,{
mes "[Ahcart]";
mes "You should be able to find it easily.";
mes "Go now.";
- set job_3rd_gc, 3;
+ job_3rd_gc = 3;
setquest 7101;
close;
case 2:
@@ -152,17 +152,32 @@ que_job01,75,96,3 script Guild Member#3rdgc01 4_M_MOCASS1,{
}
function script func_3rdgc {
- set .@n$, "["+strcharinfo(0)+"]";
+ .@n$ = "["+strcharinfo(0)+"]";
mes .@n$;
mes "Let me collect all the information...";
- set .@i,0;
- if (questprogress(7112) == 1) { mes "Madelle saw a person who looked like a priest from Rachel late at night."; set .@i,.@i+1; }
- if (questprogress(7113) == 1) { mes "Crave said that there was a girl who bought lots of things day and night."; set .@i,.@i+1; }
- if (questprogress(7114) == 1) { mes "Trovan said that there was a guy who could be seen often but is not a hotel guest, so he is suspicious."; set .@i,.@i+1; }
+ .@i = 0;
+ if (questprogress(7112) == 1) {
+ mes "Madelle saw a person who looked like a priest from Rachel late at night.";
+ ++.@i;
+ }
+ if (questprogress(7113) == 1) {
+ mes "Crave said that there was a girl who bought lots of things day and night.";
+ ++.@i;
+ }
+ if (questprogress(7114) == 1) {
+ mes "Trovan said that there was a guy who could be seen often but is not a hotel guest, so he is suspicious.";
+ ++.@i;
+ }
if (!getarg(0)) {
- set .@i,.@i-2;
- if (questprogress(7115) == 1) { mes "A peddler wears shabby clothes, but she buys fresh and expensive things every single day."; set .@i,.@i+1; }
- if (questprogress(7116) == 1) { mes "The old man in village said that there was a girl who showed up in same place at the same time, so maybe moved here."; set .@i,.@i+1; }
+ .@i -= 2;
+ if (questprogress(7115) == 1) {
+ mes "A peddler wears shabby clothes, but she buys fresh and expensive things every single day.";
+ ++.@i;
+ }
+ if (questprogress(7116) == 1) {
+ mes "The old man in village said that there was a girl who showed up in same place at the same time, so maybe moved here.";
+ ++.@i;
+ }
}
next;
if (.@i == 3) {
@@ -182,7 +197,7 @@ function script func_3rdgc {
next;
mes .@n$;
mes "Let me rethink this.";
- set job_3rd_gc, 7;
+ job_3rd_gc = 7;
close;
case 2:
mes .@n$;
@@ -212,7 +227,7 @@ function script func_3rdgc {
mes .@n$;
mes "Crave said that she comes here day and night to buy stuff regularly.";
mes "Then I know what I have to do.";
- set job_3rd_gc, 8;
+ job_3rd_gc = 8;
close;
}
}
@@ -284,7 +299,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "Yeah, can you find an entrance to an alley in the corner?";
mes "Go in there, then you can hear a more detailed story.";
mes "Take on this special task~!";
- set job_3rd_gc, 4;
+ job_3rd_gc = 4;
changequest 7101,7102;
close;
}
@@ -352,7 +367,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "So, don't worry.";
mes "Are you supposed to be here for her?";
mes "Go ahead.";
- set job_3rd_gc, 11;
+ job_3rd_gc = 11;
close;
} else if (job_3rd_gc == 11) {
mes "She is in a room.";
@@ -395,7 +410,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
next;
mes "[Daora]";
mes "If you need to, visit me anytime and I'll serve you a drink after your task is done.";
- set job_3rd_gc, 6;
+ job_3rd_gc = 6;
close;
} else if (job_3rd_gc == 6) {
if (questprogress(7091) == 1) {
@@ -875,7 +890,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes strcharinfo(0)+".";
mes "Time is not waiting for you.";
mes "Go ahead. Spill blood with the blade of a knife that stands for a stoic life.";
- set job_3rd_gc, 5;
+ job_3rd_gc = 5;
changequest 7102,7103;
close;
} else if (job_3rd_gc == 5) {
@@ -937,7 +952,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "This is the last step.";
mes "Don't make any mistakes.";
delitem 6150,1; //Key_Of_The_Mansion
- set job_3rd_gc, 15;
+ job_3rd_gc = 15;
changequest 7108,7109;
close;
} else if (job_3rd_gc == 15) {
@@ -978,11 +993,11 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
if (job_3rd_gc == 18) {
mes "The evaluation of your task is... [S].";
mes "[S] is for 'special'.";
- set .@quest,7099;
+ .@quest = 7099;
} else {
mes "The evaluation of your task is... [A].";
mes "If you were punctual, you would have received higher.";
- set .@quest,7096;
+ .@quest = 7096;
}
next;
} else {
@@ -1001,11 +1016,11 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
if (.@all_wine > 3) {
if (job_3rd_gc == 18) {
mes "The evaluation of your task is... [B].";
- set .@quest,7097;
+ .@quest = 7097;
} else {
mes "The evaluation of your task is... [C].";
mes "You need to act by yourself.";
- set .@quest,7098;
+ .@quest = 7098;
}
next;
} else {
@@ -1016,10 +1031,10 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "I like that.";
if (job_3rd_gc == 18) {
mes "The evaluation of your task is... [A].";
- set .@quest,7096;
+ .@quest = 7096;
} else {
mes "The evaluation of your task is... [B].";
- set .@quest,7097;
+ .@quest = 7097;
}
next;
}
@@ -1035,7 +1050,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "[Mayshell]";
mes "I reward you for your labor, and I'm going to give you a present.";
mes "I got this one from guild, I hope it's helpful to you.";
- set job_3rd_gc, 20;
+ job_3rd_gc = 20;
getitem 12106,1; //Accessory_Box
erasequest 7091;
erasequest 7092;
@@ -1927,7 +1942,7 @@ veins,223,180,3 script Girl#3rdgc09 4_F_DST_CHILD,{
mes "I know everything.";
close;
case 2:
- set .@ans00, 0;
+ .@ans00 = 0;
mes "[Melissa]";
mes "Ok, answer my question.";
mes "Is it a boy or a girl?";
@@ -1940,7 +1955,7 @@ veins,223,180,3 script Girl#3rdgc09 4_F_DST_CHILD,{
case 2:
mes "[Melissa]";
mes "A girl and...";
- set .@ans00, .@ans00+1;
+ ++.@ans00;
break;
}
next;
@@ -1960,7 +1975,7 @@ veins,223,180,3 script Girl#3rdgc09 4_F_DST_CHILD,{
case 3:
mes "[Melissa]";
mes "Light orange to blonde hair.";
- set .@ans00, .@ans00+1;
+ ++.@ans00;
break;
case 4:
mes "[Melissa]";
@@ -1980,7 +1995,7 @@ veins,223,180,3 script Girl#3rdgc09 4_F_DST_CHILD,{
mes "[Melissa]";
mes "A young person.";
mes "Like you?";
- set .@ans00, .@ans00+1;
+ ++.@ans00;
break;
case 3:
mes "[Melissa]";
@@ -2017,7 +2032,7 @@ veins,223,180,3 script Girl#3rdgc09 4_F_DST_CHILD,{
mes "Hehehe!";
erasequest 7103;
setquest 7104;
- set job_3rd_gc, 9;
+ job_3rd_gc = 9;
next;
mes "[Melissa]";
mes "She has to be who you're looking for. I'm never wrong.";
@@ -2091,7 +2106,7 @@ OnTouch:
donpcevent "Estillda#3rdgc10::OnEnable";
next;
select("Make a surprise attack.");
- set .@c_spec, readparam(bDex)+readparam(bAspd)+readparam(bCritical);
+ .@c_spec = readparam(bDex)+readparam(bAspd)+readparam(bCritical);
if (.@c_spec > 209 || (!rand(2) && .@c_spec > 190 && .@c_spec < 210) || (!rand(3) && .@c_spec < 191)) {
mes "You take her by the wrist trying not to let her see you.";
mes "The food that she is holding falls on the floor.";
@@ -2163,7 +2178,7 @@ OnTouch:
donpcevent "Estillda#3rdgc10::OnDisable";
if (questprogress(7104)) erasequest 7104;
if (questprogress(7105)) erasequest 7105;
- set job_3rd_gc, 10;
+ job_3rd_gc = 10;
setquest 7106;
next;
mes "- The pub in the underground of Veins is the best place to keep her safe. -";
@@ -2294,7 +2309,7 @@ job3_guil01,79,15,1 script Estillda#3rdgc11 4_F_SHABBY,{
next;
mes "["+strcharinfo(0)+"]";
mes "To go back home without an accident.";
- set job_3rd_gc, 12;
+ job_3rd_gc = 12;
changequest 7106,7107;
close;
case 2:
@@ -2319,7 +2334,7 @@ job3_guil01,79,15,1 script Estillda#3rdgc11 4_F_SHABBY,{
veins,206,56,0 script #3rdgc_battleroom01 HIDDEN_WARP_NPC,1,1,{
end;
OnInit:
- set $@3rdgc_room01, 0;
+ $@3rdgc_room01 = 0;
end;
OnTouch:
if (job_3rd_gc == 12) {
@@ -2330,7 +2345,7 @@ OnTouch:
case 1:
if ($@3rdgc_room01 == 0) {
warp "job3_guil02",34,44;
- set $@3rdgc_room01, 1;
+ $@3rdgc_room01 = 1;
} else {
mes "You tried to open the door but it's locked.";
mes "It doesn't show any signs of life.";
@@ -2375,7 +2390,7 @@ OnTouch:
mes "You don't have to come here now.";
close;
warp "veins",178,62;
- set $@3rdgc_room01, 0;
+ $@3rdgc_room01 = 0;
end;
}
end;
@@ -2395,7 +2410,7 @@ OnTimer299000:
donpcevent "#3rdgc_room01_mag01::OnEnable";
end;
OnTimer300000:
- set $@3rdgc_room01, 0;
+ $@3rdgc_room01 = 0;
stopnpctimer;
end;
}
@@ -2405,11 +2420,11 @@ job3_guil02,51,43,7 script A man with black clothes 4_M_DSTMAN,4,4,{
OnInit:
OnDisable:
hideonnpc "A man with black clothes";
- set .on,0;
+ .on = 0;
end;
OnEnable:
hideoffnpc "A man with black clothes";
- set .on,1;
+ .on = 1;
end;
OnReset:
killmonster "job3_guil02","A man with black clothes::OnMyMobDead";
@@ -2470,7 +2485,7 @@ OnTimer61000:
donpcevent "Dandelion#3rdgc12::OnDisable";
donpcevent "A man with black clothes::OnDisable";
donpcevent "#3rdgc_room01_mag01::OnEnable";
- set $@3rdgc_room01, 0;
+ $@3rdgc_room01 = 0;
stopnpctimer;
end;
}
@@ -2497,7 +2512,7 @@ job3_guil02,49,43,5 script Dandelion#3rdgc12 4_M_DSTMANDEAD,{
mes "It's too late to save him.";
mes "He passed away.";
mes "You find a key with a fancy decoration around his neck.";
- set job_3rd_gc, 13;
+ job_3rd_gc = 13;
getitem 6150,1; //Key_Of_The_Mansion
changequest 7107,7108;
close;
@@ -2635,7 +2650,7 @@ ra_in01,175,196,3 script Oresa Rava#3rdgc13 4_M_LGTGRAND,{
mes "Send over that key.";
next;
mes "- Find the owner of that key soon and tell Mayshell. -";
- set job_3rd_gc, 14;
+ job_3rd_gc = 14;
close;
} else if (job_3rd_gc == 14) {
mes "That key is of a mansion built in a gorge of Veins.";
@@ -2686,9 +2701,9 @@ ve_fild02,330,384,3 script Girl#3rdgc14 4_F_GUILLOTINE,{
case 1:
if ($@3rdgc_room02 == 0) {
erasequest ((job_3rd_gc == 17)?7110:7109);
- set job_3rd_gc, 17;
+ job_3rd_gc = 17;
setquest 7110;
- set $@3rdgc_room02, 1;
+ $@3rdgc_room02 = 1;
warp "job3_guil03",22,70;
} else {
mes "[Renzak]";
@@ -2697,7 +2712,7 @@ ve_fild02,330,384,3 script Girl#3rdgc14 4_F_GUILLOTINE,{
next;
mes "[Renzak]";
mes "It'll be easy to infiltrate because it's covered by the cliff's shadow.";
- set job_3rd_gc, 16;
+ job_3rd_gc = 16;
}
close;
case 2:
@@ -2708,7 +2723,7 @@ ve_fild02,330,384,3 script Girl#3rdgc14 4_F_GUILLOTINE,{
erasequest 7110;
setquest 7109;
}
- set job_3rd_gc, 16;
+ job_3rd_gc = 16;
close;
}
} else if (job_3rd_gc > 18) {
@@ -2727,7 +2742,7 @@ ve_fild02,330,384,3 script Girl#3rdgc14 4_F_GUILLOTINE,{
close;
}
OnInit:
- set $@3rdgc_room02, 0;
+ $@3rdgc_room02 = 0;
end;
}
@@ -2751,7 +2766,7 @@ OnTouch:
mes "You don't have to come here.";
close2;
warp "ve_fild02",330,379; //Pre-RE: ve_fild05 (341,303)
- set $@3rdgc_room02, 0;
+ $@3rdgc_room02 = 0;
}
end;
OnTimer900000:
@@ -2812,7 +2827,7 @@ OnReset:
donpcevent "Priest from Rachel::OnDisable";
donpcevent "Renzak#3rdgc16::OnDisable";
donpcevent "#3rdgc_event01::OnEnable";
- set $@3rdgc_room02, 0;
+ $@3rdgc_room02 = 0;
end;
}
@@ -3353,7 +3368,7 @@ OnMyMobDead:
job3_guil03,2,2,0 script #3rdgc_sunchal_kill01 CLEAR_NPC,{
end;
OnEnable:
- set .@i, atoi(charat(strnpcinfo(0),20));
+ .@i = atoi(charat(strnpcinfo(0),20));
setarray .@x[1],74,124,103;
setarray .@y[1],63, 78, 24;
monster "job3_guil03",.@x[.@i],.@y[.@i],"Guard",1985,1,strnpcinfo(0)+"::OnMyMobDead";
@@ -3399,7 +3414,7 @@ OnReset:
killmonster "job3_guil03",strnpcinfo(0)+"::OnMyMobDead";
end;
OnTouch:
- set .@i, atoi(charat(strnpcinfo(0),19));
+ .@i = atoi(charat(strnpcinfo(0),19));
setarray .@x[1],64,86,83;
setarray .@y[1],68,63,36;
mapannounce "job3_guil03","Guard : Who are you?!",bc_map,"0x7b68ee"; //FW_NORMAL 12 0 0
@@ -3434,7 +3449,7 @@ OnTimer:
setarray .@x[1],.@x-2,.@x+2;
setarray .@y[1],.@y-2,.@y+2;
sleep 1000;
- for(set .@i,0; .@i<9; set .@i,.@i+1) {
+ for(.@i = 0; .@i<9; ++.@i) {
if (getareausers(.@map$,.@x[1],.@y[1],.@x[2],.@y[2]) < 1)
end;
sleep 1000;
@@ -3478,11 +3493,11 @@ job3_guil03,111,51,7 script Priest from Rachel 4_M_MIDDLE1,{
end;
OnInit:
OnDisable:
- set .on,0;
+ .on = 0;
hideonnpc "Priest from Rachel";
end;
OnEnable:
- set .on,1;
+ .on = 1;
hideoffnpc "Priest from Rachel";
end;
OnReset:
@@ -3536,7 +3551,7 @@ OnTimer61000:
end;
OnTimer61500:
donpcevent "#3rdgc_event01::OnEnable";
- set $@3rdgc_room02, 0;
+ $@3rdgc_room02 = 0;
stopnpctimer;
end;
}
@@ -3551,12 +3566,12 @@ job3_guil03,146,70,3 script Renzak#3rdgc16 4_F_GUILLOTINE,{
if (questprogress(7110,PLAYTIME) == 1) {
mes "You finished quickly.";
mes "Good job.";
- set job_3rd_gc, 18;
+ job_3rd_gc = 18;
} else {
mes "I told you that you have to finish within 10 minutes.";
mes "You might be exhausted.";
mes "Fortunately you are ok.";
- set job_3rd_gc, 19;
+ job_3rd_gc = 19;
}
erasequest 7110;
setquest 7111;
@@ -3657,16 +3672,16 @@ job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{
setlook 7,0;
jobchange roclass(eaclass()|EAJL_THIRD);
if (questprogress(7096) == 1) {
- set job_3rd_gc, 25;
+ job_3rd_gc = 25;
erasequest 7096;
} else if (questprogress(7097) == 1) {
- set job_3rd_gc, 26;
+ job_3rd_gc = 26;
erasequest 7097;
} else if (questprogress(7098) == 1) {
- set job_3rd_gc, 27;
+ job_3rd_gc = 27;
erasequest 7098;
} else if (questprogress(7099) == 1) {
- set job_3rd_gc, 28;
+ job_3rd_gc = 28;
erasequest 7099;
}
getitem 2795,1; //Green_Apple_Ring
@@ -3840,7 +3855,7 @@ job3_guil02,1,3,0 script #GMhelper01_gc CLEAR_NPC,{
mes "What can I do for you?";
next;
if (callfunc("F_GM_NPC",1854,0) == 1) {
- set .@room01, $@3rdgc_room01;
+ .@room01 = $@3rdgc_room01;
mes "I check the recent situation.";
mes "The battle situation of storage: "+.@room01+"";
mes "1 : In progress. 0 : Standby status.";
@@ -3859,7 +3874,7 @@ job3_guil02,1,3,0 script #GMhelper01_gc CLEAR_NPC,{
donpcevent "Dandelion#3rdgc12::OnDisable";
donpcevent "A man with black clothes::OnDisable";
donpcevent "#3rdgc_room01_mag01::OnEnable";
- set $@3rdgc_room01, 0;
+ $@3rdgc_room01 = 0;
next;
mes "Complete a reset.";
close;
@@ -3879,7 +3894,7 @@ job3_guil03,1,8,0 script #GMhelper02_gc CLEAR_NPC,{
mes "What can I do for you?";
next;
if (callfunc("F_GM_NPC",1854,0) == 1) {
- set .@room02, $@3rdgc_room02;
+ .@room02 = $@3rdgc_room02;
mes "Check the recent situation.";
mes "The battle situation of the mansion is: "+.@room02+"";
mes "1 : In progress. 0 : Standby status.";
@@ -3930,7 +3945,7 @@ job3_guil03,1,8,0 script #GMhelper02_gc CLEAR_NPC,{
mes "We start to expel by force.";
mes "Just put the enter button now.";
donpcevent "#3rdgc_event01::OnEnable";
- set $@3rdgc_room02, 0;
+ $@3rdgc_room02 = 0;
close2;
mapwarp "job3_guil03","ve_fild02",330,379; //Pre-RE: ve_fild05 (341,303)
end;
diff --git a/npc/re/jobs/3-1/mechanic.txt b/npc/re/jobs/3-1/mechanic.txt
index 73e74983c..227d59d00 100644
--- a/npc/re/jobs/3-1/mechanic.txt
+++ b/npc/re/jobs/3-1/mechanic.txt
@@ -71,7 +71,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
mes "As I said before if the passion and the talent are real there would be no problem!";
mes "Congratulations for walking through a new path as a Mechanic!";
next;
- set job__mechanic,12;
+ job__mechanic = 12;
completequest 10101;
if (Sex)
getitem 5749,1; //Driver_Band
@@ -154,7 +154,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
mes "for yourself like we did.";
mes "Don't just wait around for someone to teach it to you. Show the passion that you claim to have.";
next;
- set job__mechanic,3;
+ job__mechanic = 3;
changequest 10091,10092;
mes "[Chainheart]";
mes "Anyway, whatever your choice might be I expect you to do your best.";
@@ -207,7 +207,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
mes "I want to explain more but it's too technical.";
mes "I don't want to bore you more.";
next;
- set job__mechanic,2;
+ job__mechanic = 2;
changequest 10090,10091;
mes "[Chainheart]";
mes "Anyway if you become one of us you can form your own definition and explanation of Mechanics yourself.";
@@ -241,7 +241,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
mes "That isn't as simple to explain but I'll give it a try.";
next;
setquest 10090;
- set job__mechanic,1;
+ job__mechanic = 1;
mes "[Chainheart]";
mes "Sorry, I'm starting";
mes "to talk too much.";
@@ -375,7 +375,7 @@ jupe_cave,37,55,5 script Scholar#Mechanic 4_M_ALCHE_D,{
mes "has told me how to warp to";
mes "the midway point to Juperos.";
next;
- set job__mechanic,4;
+ job__mechanic = 4;
mes "[Scholar]";
mes "It is true that it becomes easy";
mes "but you can't help the fear";
@@ -417,7 +417,7 @@ jupe_core2,149,273,3 script Ghostfire#1 4_NFWISP,{
mes "[?]";
mes "My name... name is... Fr...";
close2;
- set job__mechanic,11;
+ job__mechanic = 11;
changequest 10100,10101;
warp "yuno",157,83;
end;
@@ -461,7 +461,7 @@ jupe_core2,149,273,3 script Ghostfire#1 4_NFWISP,{
next;
if (job__mechanic == 3 || job__mechanic == 4)
changequest 10092,10094;
- set job__mechanic,5;
+ job__mechanic = 5;
mes "[?]";
mes "Knowledge isn't obtained from others. It is found through one's own efforts.";
mes "Find your own knowledge path.";
@@ -523,7 +523,7 @@ jupe_core2,53,75,3 script Ghostfire#2 4_NFWISP,{
mes "[?]";
mes "The recent events of the world have created a confusion so my research hasn't been shared with the rest of the world.";
next;
- set job__mechanic,6;
+ job__mechanic = 6;
changequest 10094,10095;
mes "[?]";
mes "So... I came back to Juperos to continue my investigation of science and magic.";
@@ -564,7 +564,7 @@ jupe_core2,242,62,3 script Ghostfire#3 4_NFWISP,{
mes "[?]";
mes "I don't regret gaining the knowledge. All I wish is that I could have my body back.";
next;
- set job__mechanic,7;
+ job__mechanic = 7;
changequest 10095,10096;
mes "[?]";
mes "After I had poured my energy into the statue, I figured that I could move my energy to different statues.";
@@ -596,7 +596,7 @@ OnTouch:
mes "-a sacrificial offering-";
mes "-the statue of a human.-";
next;
- set job__mechanic,8;
+ job__mechanic = 8;
changequest 10096,10097;
mes "-Most certain of all is that-";
mes "-I started to feel the urge-";
@@ -695,7 +695,7 @@ OnTouch:
mes "-head instructed, let's go to-";
mes "-the southern foothold.-";
close2;
- set job__mechanic,9;
+ job__mechanic = 9;
changequest 10098,10099;
donpcevent "#Door::OnDisable";
end;
@@ -716,7 +716,7 @@ OnTouch:
mes "-to know about mechanics-";
mes "-and magic machinery.-";
next;
- set job__mechanic,10;
+ job__mechanic = 10;
changequest 10099,10100;
specialeffect EF_POTION_CON;
mes "-This amount of knowledge-";
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index 6c86be78b..9ed4152b3 100644
--- a/npc/re/jobs/3-1/ranger.txt
+++ b/npc/re/jobs/3-1/ranger.txt
@@ -110,7 +110,7 @@ tur_dun01,156,36,5 script Survival Instructor#jr01 1_M_ORIENT01,{
mes "[Survival Instructor, Rescue]";
mes "To do this you need to be cleansed of body and soul.";
mes "Make sure that your weight equals '0' to continue.";
- set job_ranger01,1;
+ job_ranger01 = 1;
setquest 8254;
close2;
warp "alberta",117,57;
@@ -144,7 +144,7 @@ tur_dun01,156,36,5 script Survival Instructor#jr01 1_M_ORIENT01,{
mes "[Survival Instructor, Rescue]";
mes "Well, let's talk about the details when you get the qualification for taking the test.";
mes "When you want to take the survival power test, please talk to me again.";
- set job_ranger01,2;
+ job_ranger01 = 2;
changequest 8254,8255;
close;
}
@@ -193,7 +193,7 @@ tur_dun01,156,36,5 script Survival Instructor#jr01 1_M_ORIENT01,{
mes "Well, then let's start.";
mes "There's no time to hesitate.";
mes "Do your best.";
- set job_ranger01,3;
+ job_ranger01 = 3;
changequest 8255,8256;
getitem 1703,1; //Bow__
getitem 12323,10; //N_Fly_Wing
@@ -380,7 +380,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "[Test Instructor, Teardrop]";
mes "If you run out of the provided items, we cannot support you more so take care.";
mes "Consider this as an extension of the survival power test.";
- set job_ranger01,4;
+ job_ranger01 = 4;
changequest 8256,8257;
close;
} else if (job_ranger01 == 4) {
@@ -400,7 +400,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "Well, before I explain, could you please give me that Dragonfly wing?";
mes "You've heard the saying, 'in any situation, eating comes first'?";
delitem 7064,1; //Dragon_Fly_Wing
- set job_ranger01,5;
+ job_ranger01 = 5;
changequest 8257,8258;
close;
}
@@ -654,13 +654,13 @@ L_Start:
if (countitem(1750) < 100) {
mes "[Test Instructor, Teardrop]";
mes "Okay, once again I'll provide you with arrows, then I'll let you in.";
- set .@arrow,1;
+ .@arrow = 1;
next;
}
mes "[Test Instructor, Teardrop]";
mes "Good luck.";
mes "Become a Ranger and we shall meet again.";
- set job_ranger01,6;
+ job_ranger01 = 6;
if (getarg(0) == 0)
changequest 8258,8259;
else {
@@ -802,12 +802,12 @@ OnDisable:
job3_rang02,100,95,0 script Test Supervisor#jr_04 HIDDEN_WARP_NPC,{
OnInit:
- set $@job_rang_point01,0;
+ $@job_rang_point01 = 0;
disablenpc "Test Supervisor#jr_04";
end;
OnEnable:
enablenpc "Test Supervisor#jr_04";
- set $@job_rang_point01,0;
+ $@job_rang_point01 = 0;
initnpctimer;
end;
OnDisable:
@@ -849,8 +849,8 @@ OnInit:
end;
OnEnable:
enablenpc "First Test Timer#jr_05";
- set $@job_rang_point01,0;
- set $@job_rang_text01,0;
+ $@job_rang_point01 = 0;
+ $@job_rang_text01 = 0;
setarray .text$[1],
"First","Second","Third","Fourth","Fifth","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh",
"Twelfth","Thirteenth","Fourteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth","Last";
@@ -903,7 +903,7 @@ OnTimer115000:
OnTimer122000:
OnTimer129000:
OnTimer136000:
- set $@job_rang_text01,$@job_rang_text01+1;
+ ++$@job_rang_text01;
mapannounce "job3_rang02","Test Supervisor, Notice : "+.text$[$@job_rang_text01]+" Wave! Kill the Poring!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
donpcevent "CallCorrectAnswer#jr::OnStart";
end;
@@ -912,7 +912,7 @@ OnTimer143000:
end;
OnTimer146000:
if ($@job_rang_point01 < 1)
- set $@job_rang_point01,0;
+ $@job_rang_point01 = 0;
mapannounce "job3_rang02","Test Supervisor, Notice : I'll announce the test result. The number of Porings you killed out of 20 is ..." + $@job_rang_point01 + "!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
end;
OnTimer149000:
@@ -936,8 +936,8 @@ OnTimer154000:
OnTimer157000:
stopnpctimer;
mapwarp "job3_rang02","tur_dun01",93,165;
- set $@job_rang_point01,0;
- set $@job_rang_text01,0;
+ $@job_rang_point01 = 0;
+ $@job_rang_text01 = 0;
donpcevent "Test Supervisor#jr_04::OnDisable";
donpcevent "Test Waiting Room#jr_03::OnEnable";
donpcevent "First Test Timer#jr_05::OnDisable";
@@ -957,7 +957,7 @@ OnStart:
setarray .@x[0],35,44,54,35,54,35,44,54;
setarray .@y[0],58,58,58,49,49,39,39,39;
setarray .@id[0],1002,1031,1242,1113;
- set .@i, rand(8);
+ .@i = rand(8);
donpcevent "CallWrongAnswer#jr::"+.@label$[.@i];
monster "job3_rang02",.@x[.@i],.@y[.@i],"Poring",.@id[rand(4)],1,"CallCorrectAnswer#jr::OnMyMobDead";
end;
@@ -966,7 +966,7 @@ OnReset:
end;
OnMyMobDead:
specialeffect2 EF_POTION_CON;
- set $@job_rang_point01, $@job_rang_point01+1;
+ ++$@job_rang_point01;
mapannounce "job3_rang02","Test Supervisor, Notice : Correct Target! You have very good eyesight!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0
end;
}
@@ -1056,7 +1056,7 @@ OnReset:
end;
OnMyMobDead:
specialeffect2 EF_DEVIL;
- set $@job_rang_point01, $@job_rang_point01-1;
+ --$@job_rang_point01;
mapannounce "job3_rang02","Test Supervisor, Notice : Wrong Target! Pull yourself together!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0
end;
}
@@ -1372,7 +1372,7 @@ OnEnable:
end;
OnDisable:
stopnpctimer;
- set $@job_rang_point03,0;
+ $@job_rang_point03 = 0;
disablenpc "Third Test Timer#jr_12";
end;
OnTimer3000:
@@ -1386,7 +1386,7 @@ OnTimer9000:
end;
OnTimer12000:
mapannounce "job3_rang02","Test Supervisor, Freeze : The 'Egg Bombs' will spawn 20 times! Each time you successfully dismantle one, you get 1 point! If you get 10 or more points, you pass the practical test, so go for it! Then I'll start!!!!!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
- set .n,14;
+ .n = 14;
end;
OnTimer15000:
OnTimer20000:
@@ -1409,14 +1409,14 @@ OnTimer100000:
OnTimer105000:
OnTimer110000:
donpcevent "Egg Bomb#"+(.n+rand(3))+"::OnEnable";
- if (.n == 26) set .n,14;
- else set .n,.n+3;
+ if (.n == 26) .n = 14;
+ else .n += 3;
end;
OnTimer113000:
mapannounce "job3_rang02","Test Supervisor, Freeze : The test is ooooooooooooooveeeeerrr!!!!!!!!!!!!!!!!!!!!!!!!!!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
- for(set .@i,14; .@i<=28; set .@i,.@i+1)
+ for(.@i = 14; .@i<=28; ++.@i)
donpcevent "Egg Bomb#"+.@i+"::OnDisable";
- set .n,0;
+ .n = 0;
end;
OnTimer116000:
mapannounce "job3_rang02","Test Supervisor, Freeze : Well let's see the result?!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
@@ -1437,13 +1437,13 @@ OnTimer124000:
end;
OnTimer127000:
mapannounce "job3_rang02","Test Supervisor, Freeze : It's too bad, but you'll need to retake the test from the beginning! Please go back!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
- set $@job_rang_point03,0;
+ $@job_rang_point03 = 0;
mapwarp "job3_rang02","tur_dun01",93,165;
donpcevent "Test Supervisor#jr_13::OnDisable";
end;
OnTimer130000:
stopnpctimer;
- set $@job_rang_point03,0;
+ $@job_rang_point03 = 0;
donpcevent "Test Waiting Room#jr_03::OnEnable";
donpcevent "Third Test Timer#jr_12::OnDisable";
end;
@@ -1552,7 +1552,7 @@ OnTimer123000:
mapannounce "job3_rang02","Test Supervisor, Freeze : You weren't on time for the test, so I am ending the 3rd practical test!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
end;
OnTimer127000:
- set $@job_rang_point03,0;
+ $@job_rang_point03 = 0;
mapannounce "job3_rang02","Test Supervisor, Freeze : It's too bad, but try again!",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
mapwarp "job3_rang02","tur_dun01",93,165;
end;
@@ -1578,9 +1578,9 @@ OnEnable:
getmapxy(.@map$,.@x,.@y,1);
monster "job3_rang02",.@x,.@y,"Egg Bomb",1047,1,strnpcinfo(0)+"::OnMyMobDead";
switch(atoi(strnpcinfo(2))%3) {
- case 0: set .@str$,"Hey, I am going to explode. What are you going to do?"; break;
- case 1: set .@str$,"I... no, I can't stand anymore!!"; break;
- case 2: set .@str$,"I am almost done now... Don't stop me."; break;
+ case 0: .@str$ = "Hey, I am going to explode. What are you going to do?"; break;
+ case 1: .@str$ = "I... no, I can't stand anymore!!"; break;
+ case 2: .@str$ = "I am almost done now... Don't stop me."; break;
}
mapannounce "job3_rang02","Egg Bomb : "+.@str$,bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
end;
@@ -1590,11 +1590,11 @@ OnDisable:
disablenpc strnpcinfo(0);
end;
OnMyMobDead:
- set $@job_rang_point03, $@job_rang_point03+1;
+ ++$@job_rang_point03;
switch(atoi(strnpcinfo(2))%3) {
- case 0: set .@str$,"The world is meaningless and my dream is so far away..."; break;
- case 1: set .@str$,"Don't be relieved. Misery always comes from carelessness."; break;
- case 2: set .@str$,"Alas, it was only a dream for a short time..."; break;
+ case 0: .@str$ = "The world is meaningless and my dream is so far away..."; break;
+ case 1: .@str$ = "Don't be relieved. Misery always comes from carelessness."; break;
+ case 2: .@str$ = "Alas, it was only a dream for a short time..."; break;
}
mapannounce "job3_rang02","Egg Bomb : "+.@str$,bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0
donpcevent strnpcinfo(0)+"::OnDisable";
@@ -1649,7 +1649,7 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "Congratulations!";
mes "You've completed all the rough practical tests!";
if (job_ranger01 == 6) {
- set job_ranger01,7;
+ job_ranger01 = 7;
changequest 8259,8262;
}
next;
@@ -1729,7 +1729,7 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "From now on be active as a splendid Ranger!";
mes "I wish you luck in your future!";
delitem 1703,1; //Bow__
- set job_ranger01,8;
+ job_ranger01 = 8;
completequest 8262;
jobchange roclass(eaclass()|EAJL_THIRD);
getitem 5748,1; //Sniper_Goggle
@@ -1798,7 +1798,7 @@ job3_rang01,58,1,0 script Worker#job_ranger 4_M_ORIENT01,{
case 8:
mes "3rd Test has been Disabled";
donpcevent "Third Test Timer#jr_12::OnDisable";
- for(set .@i,14; .@i<=28; set .@i,.@i+1)
+ for(.@i = 14; .@i<=28; ++.@i)
donpcevent "Egg Bomb#"+.@i+"::OnDisable";
close;
case 9:
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index ceb38a0eb..200d6c965 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -80,7 +80,7 @@ prt_in,162,24,3 script Splendid-Looking Knight 4_M_KNIGHT_SILVER,2,2,{
mes "You're sure now?";
mes "Let me send a dispatch to my comrades that you are willing to join our ranks.";
next;
- set job_rune_edq,1;
+ job_rune_edq = 1;
setquest 3200;
mes "[Rune Knight Manuel]";
mes "You know the place called Glast Heim? There's a Rune Knight waiting for you there, he will guide you to the entrance of Glast Heim Tower.";
@@ -215,7 +215,7 @@ glast_01,44,363,3 script Guide, Jungberg 4_M_KNIGHT_BLACK,2,2,{
next;
mes "[Guide, Jungberg]";
mes "Of course your life might be at risk by the ghosts of Glast Heim... but overcoming the risk shouldn't be hard for a Rune Knight candidate.";
- set job_rune_edq,2;
+ job_rune_edq = 2;
changequest 3200,3201;
close;
case 2:
@@ -315,19 +315,19 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
mes "[Captain Tigris]";
if (job_rune_edq3 == 0) {
mes "Hm... This is perfect. You've come here with very rare good records.";
- set .@item,2140; //Energy_Rune_Guard
+ .@item = 2140; //Energy_Rune_Guard
} else if (job_rune_edq3 > 2 && job_rune_edq3 < 6) {
mes "Hmm... This is great. You've come here with decent records.";
- set .@item,2794; //Magic_Stone_Ring
+ .@item = 2794; //Magic_Stone_Ring
} else {
mes "Hmm, not bad. It's not a great record but you tried your best.";
- set .@item,15002; //Rune_Plate
+ .@item = 15002; //Rune_Plate
}
next;
mes "[Captain Tigris]";
mes "Here, take this. It's a gift that I like to give to the younger generation like yourself.";
getitem .@item,1; //Energy_Rune_Guard
- set job_rune_edq,24;
+ job_rune_edq = 24;
close;
}
mes "Hey, long time no see, "+strcharinfo(0)+". I don't think you've got any important matters to discuss but make yourself comfortable.";
@@ -371,7 +371,7 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
mes "[Captain Tigris]";
mes "When the test is done, talk to me. Anyway you'll need to care about the tests progressing with other people.";
next;
- set job_rune_edq,3;
+ job_rune_edq = 3;
changequest 3201,3202;
mes "[Captain Tigris]";
mes "Well then, I'll be waiting here so take the test.";
@@ -428,7 +428,7 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
next;
mes "[Captain Tigris]";
mes "Go to that fiery lady in the library room to get the next test done and come back.";
- set job_rune_edq,7;
+ job_rune_edq = 7;
changequest 3204,3205;
close;
} else if (job_rune_edq > 6 && job_rune_edq < 16) {
@@ -466,7 +466,7 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
mes "[Captain Tigris]";
mes "I'm not kidding, I am really looking forward to your new start as a Rune Knight.";
mes "So please do your best.";
- set job_rune_edq,17;
+ job_rune_edq = 17;
changequest 3215,3216;
close;
} else if (job_rune_edq > 16 && job_rune_edq < 22) {
@@ -531,7 +531,7 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
next;
getitem 5746,1; //Rune_Circlet
getitem 2795,1; //Green_Apple_Ring
- set job_rune_edq,23;
+ job_rune_edq = 23;
completequest 3219;
jobchange roclass(eaclass()|EAJL_THIRD);
mes "[Captain Tigris]";
@@ -643,7 +643,7 @@ job3_rune01,90,50,3 script Rune Knight Lunarea 4_M_KNIGHT_GOLD,2,2,{
next;
mes "[Rune Knight, Lunarea]";
mes "This portion of the test is over. Go talk to Captain Tigris.";
- set job_rune_edq,6;
+ job_rune_edq = 6;
changequest 3203,3204;
close;
} else if (job_rune_edq > 5) {
@@ -661,14 +661,14 @@ L_Test:
mes "She nods her head and reaches out her hand lightly. Then she draws her sword and makes a signal.";
if ($@job_rune_test1 == 0) {
if (getarg(0) == 0) {
- set job_rune_edq,4;
+ job_rune_edq = 4;
changequest 3202,3203;
setquest 3220; // ?
} else if (questprogress(3220)) {
erasequest 3220;
setquest 3220;
}
- set $@job_rune_test1,1;
+ $@job_rune_test1 = 1;
close2;
warp "job3_rune02",38,40;
end;
@@ -733,7 +733,7 @@ job3_rune01,55,50,3 script Rune Knight, Renoa 4_M_KNIGHT_GOLD,2,2,{
next;
mes "[Rune Knight, Renoa]";
mes "Don't worry, you won't be required to have the same knowledge as the magicians of Geffen or Juno. But you can't be an idiot either.";
- set job_rune_edq,8;
+ job_rune_edq = 8;
changequest 3205,3206;
close;
} else if (job_rune_edq > 7 && job_rune_edq < 11) {
@@ -780,8 +780,8 @@ job3_rune01,55,50,3 script Rune Knight, Renoa 4_M_KNIGHT_GOLD,2,2,{
next;
mes "[Rune Knight, Renoa]";
mes "If you are ready I'll guide you to the warp that moves you directly to Serpeone. Meet her and get instructions from her.";
- set job_rune_edq_book,0;
- set job_rune_edq,12;
+ job_rune_edq_book = 0;
+ job_rune_edq = 12;
changequest 3206,3207;
close;
} else if (job_rune_edq > 11 && job_rune_edq < 14) {
@@ -838,7 +838,7 @@ job3_rune01,55,50,3 script Rune Knight, Renoa 4_M_KNIGHT_GOLD,2,2,{
mes "[Rune Knight, Renoa]";
mes "The total number of rune stones you need to make is 20.";
mes "Remember that well.";
- set job_rune_edq,15;
+ job_rune_edq = 15;
changequest 3213,3214;
close;
} else if (job_rune_edq == 15) {
@@ -882,7 +882,7 @@ job3_rune01,55,50,3 script Rune Knight, Renoa 4_M_KNIGHT_GOLD,2,2,{
next;
mes "[Rune Knight, Renoa]";
mes "Ha! You did a good job considering how difficult my test is. If you were nervous, you can relax now.";
- set job_rune_edq,16;
+ job_rune_edq = 16;
if (job_rune_edq2 == 20)
changequest 3214,3215;
close;
@@ -951,7 +951,7 @@ job3_rune01,58,51,1 script Rune Furnace CLEAR_NPC,{
next;
mes "[Rune Knight Renoa]";
mes "1 "+.@str$[0]+" rune was created normally.";
- set job_rune_edq2, job_rune_edq2+1;
+ ++job_rune_edq2;
close;
}
if (rand(1,(6 + job_rune_edq3)) == 3) {
@@ -960,7 +960,7 @@ job3_rune01,58,51,1 script Rune Furnace CLEAR_NPC,{
next;
mes "[Rune Knight Renoa]";
mes "1 "+.@str$[0]+" rune was created normally.";
- set job_rune_edq2, job_rune_edq2+1;
+ ++job_rune_edq2;
close;
}
mes "[Rune Knight Renoa]";
@@ -968,7 +968,7 @@ job3_rune01,58,51,1 script Rune Furnace CLEAR_NPC,{
next;
mes "[Rune Knight Renoa]";
mes "Refining the rune stone has failed... Please try again.";
- set job_rune_edq3, job_rune_edq3+1;
+ ++job_rune_edq3;
close;
}
mes "[Rune Knight Renoa]";
@@ -988,7 +988,7 @@ job3_rune01,40,54,1 script Runes and Rune Knights CLEAR_NPC,{
while(1) {
switch(select("The birth of Rune Knights:Runes and Magic Energy:Stop Reading")) {
case 1:
- set .@book1,1;
+ .@book1 = 1;
mes "Rune Knights are the gathering of evolved swordmen who have achieved the harmony of sword and magic.";
next;
mes "It had been achieved by the legendary swordsman Beljeve who's been known as a Sword Master and a founder of dispensable expenditure.";
@@ -1013,7 +1013,7 @@ job3_rune01,40,54,1 script Runes and Rune Knights CLEAR_NPC,{
next;
break;
case 2:
- set .@book2,1;
+ .@book2 = 1;
mes "A jewel called as a Rune is a medium that contains the formless existence, the magical power and the essence of it can be used directly.";
next;
mes "The Laphine Sage, Serpeone and the founder of Rune Knights Beljeve co-researched runes and the result of their research has only recently become to be known to the world.";
@@ -1027,8 +1027,8 @@ job3_rune01,40,54,1 script Runes and Rune Knights CLEAR_NPC,{
break;
case 3:
if (.@book1 && .@book2 && job_rune_edq < 11 && (job_rune_edq_book & 1) == 0) {
- set job_rune_edq_book, job_rune_edq_book | 1;
- set job_rune_edq, job_rune_edq+1;
+ job_rune_edq_book |= 1;
+ ++job_rune_edq;
}
close;
}
@@ -1047,7 +1047,7 @@ job3_rune01,43,44,1 script The Principles of Runes CLEAR_NPC,{
while(1) {
switch(select("The principle use of Runes:The types of Runes:Stop Reading")) {
case 1:
- set .@book1,1;
+ .@book1 = 1;
mes "A rune is a kind of symbol that's been used on the Rune-Midgard continent since ancient times. Up until now it has only been used by occult circles.";
next;
mes "Runes are used as a symbol system, however, by the story handed down orally, it's known to be used for fortune-telling or used to draw out the human sub consciousness.";
@@ -1058,7 +1058,7 @@ job3_rune01,43,44,1 script The Principles of Runes CLEAR_NPC,{
next;
break;
case 2:
- set .@book2,1;
+ .@book2 = 1;
mes "The runes are created from a a total of 25 small stones and they are very fragile to physical shock. So they require special care when being handled.";
next;
mes "The 25 stones have different meanings and among these, 14 when counter-positioned can have entirely different power and meaning from the original so it's essential to study the exceptional aspects.";
@@ -1074,8 +1074,8 @@ job3_rune01,43,44,1 script The Principles of Runes CLEAR_NPC,{
break;
case 3:
if (.@book1 && .@book2 && job_rune_edq < 11 && (job_rune_edq_book & 2) == 0) {
- set job_rune_edq_book, job_rune_edq_book | 2;
- set job_rune_edq, job_rune_edq+1;
+ job_rune_edq_book |= 2;
+ ++job_rune_edq;
}
close;
}
@@ -1094,7 +1094,7 @@ job3_rune01,50,36,1 script Runes, Make & Use CLEAR_NPC,{
while(1) {
switch(select("The Making of Rune Stones:Rune Stone Ability Details:Stop Reading")) {
case 1:
- set .@book1,1;
+ .@book1 = 1;
mes "The making of Rune stones is achieved through a skill called rune mastery which is learned when one becomes a Rune Knight.";
next;
mes "Rune Mastery is like a code that's been put into the body as a mark of a Rune Knight.";
@@ -1109,7 +1109,7 @@ job3_rune01,50,36,1 script Runes, Make & Use CLEAR_NPC,{
next;
break;
case 2:
- set .@book2,1;
+ .@book2 = 1;
switch(select("Chapter One:Chapter Two:Chapter Three:Chapter Four:Stop Reading")) {
case 1:
mes "Ehwaz - This rune means the enhancement of luck and positive power. It shapes the source in the form of a red spiral in a Rune Furnace.";
@@ -1173,8 +1173,8 @@ job3_rune01,50,36,1 script Runes, Make & Use CLEAR_NPC,{
break;
case 3:
if (.@book1 && .@book2 && job_rune_edq < 11 && (job_rune_edq_book & 4) == 0) {
- set job_rune_edq_book, job_rune_edq_book | 4;
- set job_rune_edq, job_rune_edq+1;
+ job_rune_edq_book |= 4;
+ ++job_rune_edq;
}
close;
}
@@ -1331,7 +1331,7 @@ mid_camp,235,250,3 script Sage Serpeone 4_F_FAIRY,2,2,{
next;
mes "[Sage Serpeone]";
mes "If you have any problems or any questions, please talk to me.";
- set job_rune_edq,13;
+ job_rune_edq = 13;
changequest 3207,3208;
setquest 3209;
setquest 3210;
@@ -1358,7 +1358,7 @@ mid_camp,235,250,3 script Sage Serpeone 4_F_FAIRY,2,2,{
next;
mes "[Sage Serpeone]";
mes "If you have any business here, I'll send you to the Rune Knight gathering place. If you are ready, please tell me.";
- set job_rune_edq,14;
+ job_rune_edq = 14;
changequest 3208,3213;
completequest 3209;
completequest 3210;
@@ -1465,14 +1465,14 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
next;
mes "[Rune Knight Velpino]";
mes "If you are ready just talk to me again.";
- set job_rune_edq,18;
+ job_rune_edq = 18;
changequest 3216,3217;
close;
} else if (job_rune_edq > 17 && job_rune_edq < 21) {
if (countitem(12388)+countitem(12389)+countitem(12390) == 0) {
mes "[Rune Knight Velpino]";
mes "If all of your preparations are done, I'll send you to the final test field.";
- set job_rune_edq,18;
+ job_rune_edq = 18;
next;
if(select("Enter the final test field.:I'm not ready yet.") == 2) close;
if (getequipisequiped(EQI_HEAD_TOP) || getequipisequiped(EQI_ARMOR) || getequipisequiped(EQI_GARMENT) || getequipisequiped(EQI_SHOES) ||
@@ -1491,7 +1491,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
}
if ($@job_rune_test1 == 0) {
if (Weight < 4001) {
- set $@job_rune_test1,1;
+ $@job_rune_test1 = 1;
sc_start SC_INCINT,300000,40;
getitem 12389,30; //Runstone_Storm
getitem 12390,30; //Runstone_Millennium
@@ -1535,7 +1535,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
mes "[Rune Knight Velpino]";
mes "Congratulations!";
mes "Well I'd better go now for the remaining candidates.";
- set job_rune_edq,22;
+ job_rune_edq = 22;
changequest 3218,3219;
close;
}
@@ -1580,8 +1580,8 @@ OnTouch:
donpcevent "job_rune_edq#1st_tcnc::OnDisable";
donpcevent "job_rune_edq#3rd_tb::OnDisable";
donpcevent "job_rune_edq#3rd_tc::OnDisable";
- set $@job_rune_test1,0;
- set $@job_rune_test2,0;
+ $@job_rune_test1 = 0;
+ $@job_rune_test2 = 0;
donpcevent "#RK Test Hidden Portal 1::OnEnable";
mapwarp "job3_rune02","job3_rune01",80,65;
end;
@@ -1647,8 +1647,8 @@ OnTimer305000:
donpcevent "job_rune_edq#3rd_tc::OnDisable";
donpcevent "#RK Test Hidden Portal 1::OnEnable";
mapwarp "job3_rune02","job3_rune01",80,65;
- set $@job_rune_test1,0;
- set $@job_rune_test2,0;
+ $@job_rune_test1 = 0;
+ $@job_rune_test2 = 0;
stopnpctimer;
end;
}
@@ -1738,7 +1738,7 @@ OnDisable:
end;
OnMyMobDead:
if (mobcount("job3_rune02","job_rune_edq#1st_tcmc2::OnMyMobDead") < 1) {
- set job_rune_edq,5;
+ job_rune_edq = 5;
erasequest 3220;
killmonster "job3_rune02","job_rune_edq#1st_tcmc2::OnMyMobDead";
mapannounce "job3_rune02","Congratulations. You've passed the first test.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
@@ -1749,8 +1749,8 @@ OnMyMobDead:
donpcevent "job_rune_edq#1st_tcmc::OnDisable";
donpcevent "job_rune_edq#1st_tcmc2::OnDisable";
donpcevent "#RK Test Hidden Portal 1::OnEnable";
- set $@job_rune_test1,0;
- set $@job_rune_test2,0;
+ $@job_rune_test1 = 0;
+ $@job_rune_test2 = 0;
end;
}
end;
@@ -1767,7 +1767,7 @@ OnEnable:
end;
OnDisable:
stopnpctimer;
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
donpcevent "Captain Tigris#jrt1::OnDisable";
donpcevent "Rune Knight Lunarea#jrt1::OnDisable";
donpcevent "Rune Knight Renoa#jrt1::OnDisable";
@@ -1777,7 +1777,7 @@ OnDisable:
OnUse:
mapannounce "job3_rune02","Captain Tigris : Gentlemen, let's watch the test for a while.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
stopnpctimer;
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
donpcevent "Captain Tigris#jrt1::OnDisable";
donpcevent "Rune Knight Lunarea#jrt1::OnDisable";
donpcevent "Rune Knight Renoa#jrt1::OnDisable";
@@ -1831,7 +1831,7 @@ job3_rune02,34,46,5 script Captain Tigris#jrt1 4_M_KNIGHT_SILVER,2,2,{
sc_start SC_BLOODING,10000,0;
break;
}
- set $@job_rune_test2,1;
+ $@job_rune_test2 = 1;
initnpctimer;
end;
OnInit:
@@ -1843,7 +1843,7 @@ OnEnable:
end;
OnTimer5000:
donpcevent "job_rune_edq#1st_tcnc::OnUse";
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
stopnpctimer;
end;
}
@@ -1876,7 +1876,7 @@ job3_rune02,43,46,3 script Rune Knight Lunarea#jrt1 4_M_KNIGHT_GOLD,2,2,{
sc_start SC_CURSE,30000,0;
break;
}
- set $@job_rune_test2,1;
+ $@job_rune_test2 = 1;
initnpctimer;
end;
OnInit:
@@ -1888,7 +1888,7 @@ OnEnable:
end;
OnTimer5000:
donpcevent "job_rune_edq#1st_tcnc::OnUse";
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
stopnpctimer;
end;
}
@@ -1922,7 +1922,7 @@ job3_rune02,43,34,1 script Rune Knight Renoa#jrt1 4_M_KNIGHT_GOLD,2,2,{
sc_start SC_CURSE,30000,0;
break;
}
- set $@job_rune_test2,1;
+ $@job_rune_test2 = 1;
initnpctimer;
end;
OnInit:
@@ -1933,7 +1933,7 @@ OnEnable:
enablenpc "Rune Knight Renoa#jrt1";
end;
OnTimer5000:
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
donpcevent "job_rune_edq#1st_tcnc::OnUse";
stopnpctimer;
end;
@@ -1967,7 +1967,7 @@ job3_rune02,34,34,7 script Rune Knight Velpino#jrt1 4_M_KNIGHT_BLACK,2,2,{
sc_start SC_SLEEP,10000,0;
break;
}
- set $@job_rune_test2,1;
+ $@job_rune_test2 = 1;
initnpctimer;
end;
OnInit:
@@ -1978,7 +1978,7 @@ OnEnable:
enablenpc "Rune Knight Velpino#jrt1";
end;
OnTimer5000:
- set $@job_rune_test2,0;
+ $@job_rune_test2 = 0;
donpcevent "job_rune_edq#1st_tcnc::OnUse";
stopnpctimer;
end;
@@ -2044,8 +2044,8 @@ OnTimer482000:
donpcevent "job_rune_edq#3rd_tb::OnDisable";
donpcevent "job_rune_edq#3rd_tc::OnDisable";
donpcevent "#RK Test Hidden Portal 1::OnEnable";
- set $@job_rune_test1,0;
- set $@job_rune_test2,0;
+ $@job_rune_test1 = 0;
+ $@job_rune_test2 = 0;
stopnpctimer;
end;
}
@@ -2065,7 +2065,7 @@ OnDisable:
end;
OnMyMobDead:
if (mobcount("job3_rune02","job_rune_edq#3rd_tc1::OnMyMobDead") < 1) {
- set job_rune_edq,19;
+ job_rune_edq = 19;
killmonster "job3_rune02","job_rune_edq#3rd_tc1::OnMyMobDead";
donpcevent "job_rune_edq#3rd_tc2::OnEnable";
donpcevent "job_rune_edq#3rd_tc1::OnDisable";
@@ -2089,7 +2089,7 @@ OnDisable:
end;
OnMyMobDead:
if (mobcount("job3_rune02","job_rune_edq#3rd_tc2::OnMyMobDead") < 1) {
- set job_rune_edq,20;
+ job_rune_edq = 20;
killmonster "job3_rune02","job_rune_edq#3rd_tc2::OnMyMobDead";
donpcevent "job_rune_edq#3rd_tc3::OnEnable";
donpcevent "job_rune_edq#3rd_tc2::OnDisable";
@@ -2113,7 +2113,7 @@ OnDisable:
end;
OnMyMobDead:
if (mobcount("job3_rune02","job_rune_edq#3rd_tc3::OnMyMobDead") < 1) {
- set job_rune_edq,21;
+ job_rune_edq = 21;
changequest 3217,3218;
erasequest 3220;
killmonster "job3_rune02","job_rune_edq#3rd_tc3::OnMyMobDead";
@@ -2127,8 +2127,8 @@ OnMyMobDead:
donpcevent "job_rune_edq#3rd_tb::OnDisable";
donpcevent "job_rune_edq#3rd_tc::OnDisable";
donpcevent "#RK Test Hidden Portal 1::OnEnable";
- set $@job_rune_test1,0;
- set $@job_rune_test2,0;
+ $@job_rune_test1 = 0;
+ $@job_rune_test2 = 0;
end;
}
end;
@@ -2147,7 +2147,7 @@ sec_in02,34,167,3 script R.Knight Job Manager 4_M_KNIGHT_SILVER,1,1,{
mes "The number of Rune Knight Test field right now is... " + getmapusers("job3_rune02") + ".";
close;
case 2:
- set $@job_rune_test1,0;
+ $@job_rune_test1 = 0;
mes "Rune Knight Job Change GlobalVar is modified to 0. The use of the test field is now available.";
close;
}
diff --git a/npc/re/jobs/3-1/warlock.txt b/npc/re/jobs/3-1/warlock.txt
index 973dc915f..3445055c0 100644
--- a/npc/re/jobs/3-1/warlock.txt
+++ b/npc/re/jobs/3-1/warlock.txt
@@ -182,14 +182,14 @@ function script F_Warlock {
mes "[Master Egnoloria]";
mes "Talk to the guy with the weird hair.";
mes "He'll let you know what you should do.";
- set job_wl,2;
+ job_wl = 2;
setquest 11106;
close;
case 2:
mes "[Master Egnoloria]";
mes "Good.";
mes "You are a human being so that's for you.";
- set job_wl,1;
+ job_wl = 1;
close2;
warp "splendide",200,100;
end;
@@ -250,7 +250,7 @@ spl_in02,77,107,5 script Assistant#Warlock1 4_M_FAIRYKID5,{
}
if (SkillPoint != 0) {
mes "First, use all of your remaining job skill points before continuing.";
- set job_wl,3;
+ job_wl = 3;
close;
}
mes "This is the Master's";
@@ -303,7 +303,7 @@ L_Quest:
if (getarg(0)) {
mes "[Yoop]";
mes "Show us how strong you are. And don't forget to wear this.";
- set job_wl,4;
+ job_wl = 4;
getitem 2796,1; //Magical_Stone
getitem 2797,1; //Magical_Stone_
changequest 11106,11107;
@@ -373,7 +373,7 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
delitem 2797,countitem(2797); //Magical_Stone_
delitem 6152,countitem(6152); //Glittering_Crystal
delitem 6151,countitem(6151); //Peice_Of_Great_Bradium
- set job_wl,5;
+ job_wl = 5;
changequest 11107,11108;
close;
}
@@ -479,7 +479,7 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
next;
mes "[Yoop]";
mes "I will guide you into the magic room.";
- set job_wl,7;
+ job_wl = 7;
changequest 11109,11110;
getitem 12384,5; //Rainbow_Ruby_Water
getitem 12386,5; //Rainbow_Ruby_Wind
@@ -521,7 +521,7 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "[Yoop]";
mes "All of the tests are done. Now talk to Master Engoloria.";
mes "I'm so happy that you have succeeded.";
- set job_wl,9;
+ job_wl = 9;
changequest 11111,11112;
close;
} else if (job_wl == 9) {
@@ -600,7 +600,7 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
mes "[Master Egnoloria]";
mes "Talk to the guy with the weird hair.";
mes "He'll let you know what you should do.";
- set job_wl,2;
+ job_wl = 2;
setquest 11106;
close;
case 2:
@@ -645,7 +645,7 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
mes "Yup, Master.";
mes "Please follow me.";
emotion e_ic,0,"Assistant#Warlock2";
- set job_wl,6;
+ job_wl = 6;
changequest 11108,11109;
close;
} else if (job_wl < 9) {
@@ -692,11 +692,11 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
mes "[Master Egnoloria]";
mes "This crystallized magical stone will keep you safe.";
if (Class == Job_High_Wizard) {
- if (JobLevel > 69) set job_wl,13;
- else if (JobLevel > 59) set job_wl,12;
- else set job_wl,11;
+ if (JobLevel > 69) job_wl = 13;
+ else if (JobLevel > 59) job_wl = 12;
+ else job_wl = 11;
}
- else set job_wl,10;
+ else job_wl = 10;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11112;
getitem 5753,1; //Magic_Stone_Hat
@@ -809,7 +809,7 @@ OnMyMobDead:
if (mobcount("job3_war02",strnpcinfo(0)+"::OnMyMobDead") < 1) {
stopnpctimer;
mapannounce "job3_war02","The Monster Invasion has been stopped.",bc_map;
- set .@str$, "The chamber of magic#"+((strnpcinfo(0) == "The chamber of magic#2")?"3":"4");
+ .@str$ = "The chamber of magic#"+((strnpcinfo(0) == "The chamber of magic#2")?"3":"4");
donpcevent .@str$+"::OnEnable";
}
end;
@@ -952,7 +952,7 @@ OnDisable:
OnMyMobDead:
if (mobcount("job3_war02","Hollow Stone#Warlock::OnMyMobDead") < 1) {
mapannounce "job3_war02","The Hollow Stone is crystallized with enough magic power.",bc_map;
- set job_wl,8;
+ job_wl = 8;
changequest 11110,11111;
donpcevent "Hollow Stone#Warlock::OnReset";
donpcevent "Hollow Stone#Warlock::OnDisable";