diff options
author | shennetsind <ind@henn.et> | 2014-11-03 08:15:05 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-11-03 08:15:05 -0200 |
commit | bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678 (patch) | |
tree | 79f9aec5171e8aed2d701bf67167f260e05f41db /npc/re/jobs/3-1/guillotine_cross.txt | |
parent | 239d480487e24294975f35ed55f210837ad1088e (diff) | |
parent | ce3f4bfbe016ea69c855146667ba9bd9e0e2e221 (diff) | |
download | hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.gz hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.bz2 hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.xz hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.zip |
Merge branch 'master' of github.com:HerculesWS/Hercules
Signed-off-by: shennetsind <ind@henn.et>
Conflicts:
src/map/battle.c
Diffstat (limited to 'npc/re/jobs/3-1/guillotine_cross.txt')
-rw-r--r-- | npc/re/jobs/3-1/guillotine_cross.txt | 230 |
1 files changed, 124 insertions, 106 deletions
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt index 7bafa8562..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 (checkquest(7112) == 1) { mes "Madelle saw a person who looked like a priest from Rachel late at night."; set .@i,.@i+1; } - if (checkquest(7113) == 1) { mes "Crave said that there was a girl who bought lots of things day and night."; set .@i,.@i+1; } - if (checkquest(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 (checkquest(7115) == 1) { mes "A peddler wears shabby clothes, but she buys fresh and expensive things every single day."; set .@i,.@i+1; } - if (checkquest(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,10 +410,10 @@ 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 (checkquest(7091) == 1) { + if (questprogress(7091) == 1) { mes "You hope that there will be something in the glass?"; mes "Information can't come out of empty glasses."; close; @@ -453,7 +468,8 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ next; switch(select("Figure out based on information.:Stop the stage.")) { case 1: - if (checkquest(7091) == 1) set .@j,1; + if (questprogress(7091) == 1) + .@j = 1; callfunc "func_3rdgc",.@j; close; case 2: @@ -461,7 +477,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ close; } } else if (job_3rd_gc == 8) { - if (checkquest(7092) == 1) { + if (questprogress(7092) == 1) { mes "Wait in an alley where she usually shows up to find her, and you will be able to pursue the question."; next; mes "[Daora]"; @@ -531,7 +547,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ close; } } else if (job_3rd_gc == 9) { - if (checkquest(7093) == 1) { + if (questprogress(7093) == 1) { mes "So, go to the east of village, you can see a narrow alley directed to the north."; next; mes "[Daora]"; @@ -575,7 +591,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ mes "I sent a girl named Estillda to her home."; mes "Why do we handle worthless things like it?"; next; - if (checkquest(7094) == 1) { + if (questprogress(7094) == 1) { mes "[Daora]"; mes "I'm not sure if he still lives..."; mes "Anyway, he is a key artisan in Rachel,"; @@ -639,7 +655,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ close; } } else if (job_3rd_gc == 15) { - if (checkquest(7095) == 1) { + if (questprogress(7095) == 1) { mes "The field northwest of Veins."; mes "You can find that easily with a map."; mes "There are lots of wolves, so be careful."; @@ -874,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) { @@ -936,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) { @@ -957,9 +973,11 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{ mes "At least you came back alive."; } next; - set .@all_wine,0; - for(set .@i,0; .@i<5; set .@i,.@i+1) - if (checkquest(7091+.@i) == 1) set .@all_wine, .@all_wine+1; + .@all_wine = 0; + for(.@i = 0; .@i < 5; ++.@i) + if (questprogress(7091+.@i) == 1) { + ++.@all_wine; + } mes "[Mayshell]"; if (.@all_wine < 2) { mes "You did the job by yourself"; @@ -975,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 { @@ -998,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 { @@ -1013,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; } @@ -1032,18 +1050,18 @@ 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; erasequest 7093; - if (checkquest(7094) > -1) erasequest 7094; - if (checkquest(7095) > -1) erasequest 7095; + if (questprogress(7094)) erasequest 7094; + if (questprogress(7095)) erasequest 7095; erasequest 7112; erasequest 7113; erasequest 7114; - if (checkquest(7115) > -1) erasequest 7115; - if (checkquest(7116) > -1) erasequest 7116; + if (questprogress(7115)) erasequest 7115; + if (questprogress(7116)) erasequest 7116; changequest 7111,.@quest; next; mes "[Mayshell]"; @@ -1104,8 +1122,8 @@ ve_in,228,108,3 script Waitress#3rdgc04 1_F_PUBGIRL,{ mes "Visit and take a rest~"; close; } else if (job_3rd_gc == 6) { - if (checkquest(7091) == 1) { - if (checkquest(7112) == 1) { + if (questprogress(7091) == 1) { + if (questprogress(7112) == 1) { mes "That's all the information that I know."; mes "After that, I can't remember anything else."; next; @@ -1194,7 +1212,7 @@ ve_in,228,108,3 script Waitress#3rdgc04 1_F_PUBGIRL,{ } } } else { - if (checkquest(7112) == 1) { + if (questprogress(7112) == 1) { mes "That's all the information that I know."; mes "I haven't seen them since."; next; @@ -1338,8 +1356,8 @@ ve_in,246,303,3 script Young Merchant#3rdgc05 4_M_RACHMAN2,{ close; } else if (job_3rd_gc == 6) { - if (checkquest(7091) == 1) { - if (checkquest(7113) == 1) { + if (questprogress(7091) == 1) { + if (questprogress(7113) == 1) { mes "[Crave]"; mes "I already gave you all the information I have."; mes "I'm quick in visual learning."; @@ -1413,7 +1431,7 @@ ve_in,246,303,3 script Young Merchant#3rdgc05 4_M_RACHMAN2,{ } } } else { - if (checkquest(7113) == 1) { + if (questprogress(7113) == 1) { mes "[Crave]"; mes "I already gave you all the information I have."; mes "I'm quick in visual learning."; @@ -1534,8 +1552,8 @@ veins,291,215,3 script Vigilante#3rdgc06 4_DST_SOLDIER,{ close; } else if (job_3rd_gc == 6) { - if (checkquest(7091) == 1) { - if (checkquest(7114) == 1) { + if (questprogress(7091) == 1) { + if (questprogress(7114) == 1) { mes "[Trovan]"; mes "I already gave you all the information I have."; mes "He's the only suspicious person that's been seen."; @@ -1616,7 +1634,7 @@ veins,291,215,3 script Vigilante#3rdgc06 4_DST_SOLDIER,{ } } } else { - if (checkquest(7114) == 1) { + if (questprogress(7114) == 1) { mes "[Trovan]"; mes "I already gave you all the information I have."; mes "He's the only suspicious person that's been seen."; @@ -1698,12 +1716,12 @@ veins,187,143,5 script Peddler#3rdgc07 4_F_HUGRANMA,{ close; } else if (job_3rd_gc == 6) { - if (checkquest(7091) == 1) { + if (questprogress(7091) == 1) { mes "What a huge sandstorm."; mes "Are you ok?"; close; } else { - if (checkquest(7115) == 1) { + if (questprogress(7115) == 1) { mes "So, did you find that girl?"; mes "If you do, let her know that she has to come and visit me."; next; @@ -1799,11 +1817,11 @@ veins,235,126,3 script Old Man#3rdgc07 4_M_DST_GRAND,{ mes "Haha... I can remember my past when I see a young adventurer like you..."; close2; } else if (job_3rd_gc == 6) { - if (checkquest(7091) == 1) { + if (questprogress(7091) == 1) { mes "Haha... I can remember my past when I see a young adventurer like you..."; close; } else { - if (checkquest(7116) == 1) { + if (questprogress(7116) == 1) { mes "Thanks for talking to me."; next; mes "- I can't get anymore information from the Old Man. What information have I collected? -"; @@ -1924,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?"; @@ -1937,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; @@ -1957,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]"; @@ -1977,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]"; @@ -2014,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."; @@ -2075,12 +2093,12 @@ veins,337,284,0 script #ghostestilla_3rdgc HIDDEN_WARP_NPC,3,3,{ end; OnTouch: if (job_3rd_gc == 9) { - if ((checkquest(7104,PLAYTIME) == 1) || (checkquest(7105,PLAYTIME) == 1)) { + if ((questprogress(7104,PLAYTIME) == 1) || (questprogress(7105,PLAYTIME) == 1)) { mes ".....?"; mes "There's a sign of somebody present."; mes "You still have time."; close; - } else if ((checkquest(7104,PLAYTIME) == 2) || (checkquest(7105,PLAYTIME) == 2)) { + } else if ((questprogress(7104,PLAYTIME) == 2) || (questprogress(7105,PLAYTIME) == 2)) { mes "The blind alley that Melissa told me about must be this street."; next; mes "There's a sign of somebody present."; @@ -2088,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."; @@ -2158,9 +2176,9 @@ OnTouch: next; mes "- I demand that she walks as usual and tell her how to get to Daora's pub. -"; donpcevent "Estillda#3rdgc10::OnDisable"; - if (checkquest(7104) > -1) erasequest 7104; - if (checkquest(7105) > -1) erasequest 7105; - set job_3rd_gc, 10; + if (questprogress(7104)) erasequest 7104; + if (questprogress(7105)) erasequest 7105; + job_3rd_gc = 10; setquest 7106; next; mes "- The pub in the underground of Veins is the best place to keep her safe. -"; @@ -2168,8 +2186,8 @@ OnTouch: } else { mes "- I tried to take her by the wrist, but she already knew and ran away screaming. -"; donpcevent "Estillda#3rdgc10::OnDisable"; - if (checkquest(7104) > -1) erasequest 7104; - if (checkquest(7105) > -1) erasequest 7105; + if (questprogress(7104)) erasequest 7104; + if (questprogress(7105)) erasequest 7105; setquest 7105; next; mes "You couldn't catch Estillda."; @@ -2291,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: @@ -2316,18 +2334,18 @@ 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) { - if (checkquest(7107,PLAYTIME) == 2) { + if (questprogress(7107,PLAYTIME) == 2) { mes "This must be the place Estillda told me about."; next; switch(select("Go inside.:Observe the situation.")) { 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."; @@ -2339,7 +2357,7 @@ OnTouch: mes "I back up to watch the situation unfold."; close; } - } else if (checkquest(7107,PLAYTIME) == 1) { + } else if (questprogress(7107,PLAYTIME) == 1) { mes "This must be the place Estillda told me about."; mes "I have enough time for meeting."; close; @@ -2372,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; @@ -2392,7 +2410,7 @@ OnTimer299000: donpcevent "#3rdgc_room01_mag01::OnEnable"; end; OnTimer300000: - set $@3rdgc_room01, 0; + $@3rdgc_room01 = 0; stopnpctimer; end; } @@ -2402,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"; @@ -2467,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; } @@ -2494,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; @@ -2632,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."; @@ -2683,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]"; @@ -2694,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: @@ -2705,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) { @@ -2724,7 +2742,7 @@ ve_fild02,330,384,3 script Girl#3rdgc14 4_F_GUILLOTINE,{ close; } OnInit: - set $@3rdgc_room02, 0; + $@3rdgc_room02 = 0; end; } @@ -2748,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: @@ -2809,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; } @@ -3350,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"; @@ -3396,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 @@ -3431,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; @@ -3475,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: @@ -3533,27 +3551,27 @@ OnTimer61000: end; OnTimer61500: donpcevent "#3rdgc_event01::OnEnable"; - set $@3rdgc_room02, 0; + $@3rdgc_room02 = 0; stopnpctimer; end; } job3_guil03,146,70,3 script Renzak#3rdgc16 4_F_GUILLOTINE,{ mes "[Renzak]"; - if (checkquest(7110,HUNTING) == 2) { + if (questprogress(7110,HUNTING) == 2) { mes "My peers will come here to settle this affair."; mes "Go to Mayshell for the report."; next; mes "[Renzak]"; - if (checkquest(7110,PLAYTIME) == 1) { + 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; @@ -3653,17 +3671,17 @@ job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{ mes "A sword of the shadow..."; setlook 7,0; jobchange roclass(eaclass()|EAJL_THIRD); - if (checkquest(7096) == 1) { - set job_3rd_gc, 25; + if (questprogress(7096) == 1) { + job_3rd_gc = 25; erasequest 7096; - } else if (checkquest(7097) == 1) { - set job_3rd_gc, 26; + } else if (questprogress(7097) == 1) { + job_3rd_gc = 26; erasequest 7097; - } else if (checkquest(7098) == 1) { - set job_3rd_gc, 27; + } else if (questprogress(7098) == 1) { + job_3rd_gc = 27; erasequest 7098; - } else if (checkquest(7099) == 1) { - set job_3rd_gc, 28; + } else if (questprogress(7099) == 1) { + job_3rd_gc = 28; erasequest 7099; } getitem 2795,1; //Green_Apple_Ring @@ -3837,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."; @@ -3856,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; @@ -3876,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."; @@ -3927,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; |