diff options
author | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-04 21:45:50 +0000 |
---|---|---|
committer | masao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-04 21:45:50 +0000 |
commit | b7a88442cefed36b81f80139310061fed10527e1 (patch) | |
tree | 685dd907d26abdf44092c0d44a5ee6c89f825bfc /npc/jobs/2-2/crusader.txt | |
parent | 2e18eabebe80793354d235866bd80be0743e5cbd (diff) | |
download | hercules-b7a88442cefed36b81f80139310061fed10527e1.tar.gz hercules-b7a88442cefed36b81f80139310061fed10527e1.tar.bz2 hercules-b7a88442cefed36b81f80139310061fed10527e1.tar.xz hercules-b7a88442cefed36b81f80139310061fed10527e1.zip |
- Here comes the big Job folder Update.
* Updated all 1-1, 2-1, 2-2 and the expanded files to the latest available official files and also added support for baby job change.
* There might be some optimizations still needed at some places and there maybe occur some errors as well or the job change isn't fully working anymore since I didn't test all the jobs through the end (Me = Lazy), if so then please fill out a bug report in our bug tracker: http://rathena.org/board/tracker/project-4-scripts/
* Ninja, Gunslinger and the other files will follow within the next days.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16579 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-2/crusader.txt')
-rw-r--r-- | npc/jobs/2-2/crusader.txt | 1829 |
1 files changed, 1162 insertions, 667 deletions
diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt index 5f0cebf45..4c4edc091 100644 --- a/npc/jobs/2-2/crusader.txt +++ b/npc/jobs/2-2/crusader.txt @@ -1,60 +1,40 @@ //===== rAthena Script ======================================= -//= Crusader Quest +// Crusader Job change Quest //===== By: ================================================== -//= Made by: Black Dragon -//= Converted by: Shin +//= Masao +//= Credits: Muad_Dib //===== Current Version: ===================================== -//= 3.3 +//= 1.0 //===== Compatible With: ===================================== -//= rAthena SVN +//= Any rAthena SVN //===== Description: ========================================= -//= [Aegis Conversion] -//= Job quest for Crusader classes +//= [Translated from the Official] +//= Job change Quest from Swordman -> Crusader. //===== Additional Comments: ================================= -//= 2.2 Updated All NPCs to the officials one [Samuray22] -//= -Based on the ASB 4.0 Package. -//=-Maybe need be checked the monsters in the test 2 and 4. -//= 2.3 Fixed some bugs that prevented from going further. [SinSloth] -//= 2.4 Updated NPC dialogs using Aegis 10.3 files. [L0ne_W0lf] -//= - Fixed logic error with job change reward for job 50 swordies. -//= - Completely redid the 1st and third tests. -//= - Optimized first four NPC scripts slightly. -//= - Temporary character variables "@" are now ".@" -//= - Fixed some indentation. -//= 2.5 Fixed some spelling and grammar in crusader quest. [L0ne_W0lf] -//= 2.6 Fixed bug (about totally blocked baby class), optimized, -//= made some NPC more unique names: Monster Summon#cr1 [Lupus] -//= 2.7 Fixed Some variables like ".@item", and changed to "@item". [Samuray22] -//= 2.8 Fixed a little minor bug. [Samuray22] -//= 2.9 Minor fixes, typos, an incorrect answer. Thanks to yyCC. [L0ne_W0lf] -//= 2.9a Deleted unused variables. [Samuray22] -//= 3.0 Updated waiting room. (Removes global var) [L0ne_W0lf] -//= 3.1 Adding Hermemton's changes. [L0ne_W0lf] -//= 3.2 Added Quest Log commands. [Kisuka] -//= 3.3 Removed the need for use of 'goto.' [L0ne_W0lf] -//============================================================ - - -//=============== Senior Crusader: 1st Collect Items Test============================ +//= 1.0 Updated to latest available official file. [Masao] +//============================================================ + prt_castle,45,169,5 script Senior Crusader 752,{ - mes "[Michael Halig]"; - if (Upper == 1) { //the baby classes were totally blocked... due to missing == 1 + if (Upper == 1) { + mes "[Michael Halig]"; mes "Go and train yourself in preparation for the holy war that is coming. Victory will be in the hands of those who are most ready to receive it."; next; mes "[Michael Halig]"; mes "You don't belong here, my friend."; - mes "Be advised to continue practicing yourself."; + mes "Be adviced to continue practicing yourself."; close; - } - else if(BaseJob != Job_Swordman) { - if(BaseJob == Job_Crusader) { + } + if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) { + if (Class == Job_Baby_Crusader || Class == Job_Crusader) { + mes "[Michael Halig]"; mes "Go and train yourself in preparation for the holy war that is coming. Victory will be in the hands of those who are most ready to receive it."; next; mes "[Michael Halig]"; mes "Chaos will one day arise to challenge our principles of peace, justice and order. Until we have eliminated evil and created our ideal world, we must not cease training."; close; } - else if(BaseJob == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Michael Halig]"; mes "We are Crusaders,"; mes "warriors preparing"; mes "to fight in the Holy War."; @@ -63,29 +43,17 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "If you wish to join us, you must first learn the Swordsman discipline and train yourself thoroughly..."; close; } + mes "[Michael Halig]"; mes "We are Crusaders,"; mes "warriors preparing"; mes "to fight in the Holy War."; next; mes "[Michael Halig]"; - mes "As it happened one thousand years ago, evil forces will one day attack in droves in an attempt to take over the world once again."; - close; - } - else if(CRUS_Q <= 3 && countitem(1004) && countitem(1009)) { - mes "Ah..."; - mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities."; - next; - mes "[Michael Halig]"; - mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; - next; - delitem 1004, 1; - delitem 1009, 1; - set CRUS_Q,4; - mes "[Michael Halig]"; - mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + mes "As it happened one thousand years ago, evil forces will one day attacking in droves in an attempt to take over the world once again."; close; } - else if(CRUS_Q == 0) { + if (CRUS_Q == 0) { + mes "[Michael Halig]"; mes "We are Crusaders, warriors preparing for the Holy War."; mes "What brings you"; mes "to this place?"; @@ -101,7 +69,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "I am Michael Halig. I am one of but many Crusaders preparing for the Holy War. We continuously train ourselves with sincere faith and endless loyalty."; next; mes "[Michael Halig]"; - mes "We recruit Swordsmen that express exceptional faith, or those who were born as warriors"; + mes "We recruit Swordsman that express exceptional faith, or those who were born as warriors"; mes "by Odin's will."; next; mes "[Michael Halig]"; @@ -115,7 +83,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "I shall test you if you desire. Are you willing to endure these tests in preparation for the Holy War?"; next; if (select("Yes, I do.:I'd like to think about it.") == 1) { - if(JobLevel < 40) { + if (JobLevel < 40) { mes "[Michael Halig]"; mes "Wait..."; mes "You're not ready yet."; @@ -126,8 +94,8 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "[Michael Halig]"; mes "Train yourself more as a Swordsman and wait for your calling. I understand your intent, but as of now, you cannot join us."; close; - } - if (Skillpoint) { + } + if (SkillPoint != 0) { mes "[Michael Halig]"; mes "You haven't finished learning everything as a Swordsman. Use all of your remaining skill points, and then return to me."; close; @@ -141,7 +109,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "" + strcharinfo(0) + "...?"; mes "Let's see..."; next; - if (countitem(1004) && countitem(1009)) { + if ((countitem(1004) > 0) && (countitem(1009) > 0)) { mes "[Michael Halig]"; mes "Ah..."; mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities."; @@ -149,8 +117,8 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "[Michael Halig]"; mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; next; - delitem 1004, 1; - delitem 1009, 1; + delitem 1004,1; //Patriotism_Marks + delitem 1009,1; //Sacred_Marks set CRUS_Q,4; setquest 3009; mes "[Michael Halig]"; @@ -164,35 +132,41 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "Now..."; mes "This is my test for you. Bring me the following items and prove your determination to me."; next; - mes "[Michael Halig]"; - set .@cru_m1,rand(1,3); - if(.@cru_m1 == 1) { - set CRUS_Q, 1; + set .@cru_m1, rand(1,3); + if (.@cru_m1 == 1) { + set CRUS_Q,1; setquest 3006; - mes "10 ^3355FF"+getitemname(957)+"^000000"; - mes "10 ^3355FF"+getitemname(959)+"^000000"; - mes "10 ^3355FF"+getitemname(1099)+"^000000"; - mes "10 ^3355FF"+getitemname(901)+"^000000"; + mes "[Michael Halig]"; + mes "^3355FF10 Decayed Nail^000000,"; + mes "^3355FF10 Stinky Scale^000000,"; + mes "^3355FF10 Worn-out Prison Uniform^000000 and"; + mes "^3355FF10 Daenggie^000000."; next; + mes "[Michael Halig]"; + mes "Show me the strength of your will by gathering these items. If you prove successful, you will progress to the next test. May Odin protect you."; + close; } - else if(.@cru_m1 == 2) { - set CRUS_Q, 2; + if (.@cru_m1 == 2) { + set CRUS_Q,2; setquest 3007; - mes "10 ^3355FF"+getitemname(932)+"^000000"; - mes "10 ^3355FF"+getitemname(1043)+"^000000"; - mes "10 ^3355FF"+getitemname(1098)+"^000000"; - mes "10 ^3355FF"+getitemname(1094)+"^000000"; - next; - } - else { - set CRUS_Q, 3; - setquest 3008; - mes "10 ^3355FF"+getitemname(958)+"^000000"; - mes "10 ^3355FF"+getitemname(930)+"^000000"; - mes "10 ^3355FF"+getitemname(1041)+"^000000"; - mes "10 ^3355FF"+getitemname(1062)+"^000000"; + mes "[Michael Halig]"; + mes "^3355FF10 Skel-Bone^000000,"; + mes "^3355FF10 Orc Claw^000000,"; + mes "^3355FF10 Manacles^000000 and"; + mes "^3355FF10 Short Daenggie^000000."; next; + mes "[Michael Halig]"; + mes "Show me the strength of your will by gathering these items. If you prove successful, you will progress to the next test. May Odin protect you."; + close; } + set CRUS_Q,3; + setquest 3008; + mes "[Michael Halig]"; + mes "^3355FF10 Horrendous Mouth^000000,"; + mes "^3355FF10 Rotten Bandage^000000,"; + mes "^3355FF10 Lantern^000000 and"; + mes "^3355FF10 Jack o' Pumpkin^000000."; + next; mes "[Michael Halig]"; mes "Show me the strength of your will by gathering these items. If you prove successful, you will progress to the next test. May Odin protect you."; close; @@ -207,34 +181,34 @@ prt_castle,45,169,5 script Senior Crusader 752,{ close; } mes "[Michael Halig]"; - if (sex) mes "If you, too, are a man of the sword, constantly train and prepare yourself. No one knows when the Holy War may begin."; - else mes "As a woman of the sword, you must train diligently and constantly. Prepare yourself, for no one knows when the Holy War may be coming."; + if (Sex == 1) { + mes "If you, too, are a man of the sword, constantly train and prepare yourself. No one knows when the Holy War may begin."; + } else { + mes "As a woman of the sword, you must train diligently and constantly. Prepare yourself, for no one knows when the Holy War may be coming."; + } close; } - else if(CRUS_Q >= 1 && CRUS_Q <= 3) { + if (CRUS_Q == 1) { + mes "[Michael Halig]"; mes "Have you proven your determination with the task I have given you, or do you possess the items proving that you have received your calling?"; next; - switch(CRUS_Q) { - case 1: - set @item1, 957; - set @item2, 959; - set @item3, 1099; - set @item4, 901; - break; - Case 2: - set @item1, 932; - set @item2, 1043; - set @item3, 1098; - set @item4, 1094; - break; - Case 3: - set @item1, 958; - set @item2, 930; - set @item3, 1041; - set @item4, 1062; - break; + if ((countitem(1004) > 0) && (countitem(1009) > 0)) { + mes "[Michael Halig]"; + mes "Ah..."; + mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities."; + next; + mes "[Micheal Halig]"; + mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; + next; + delitem 1004,1; //Patriotism_Marks + delitem 1009,1; //Sacred_Marks + set CRUS_Q,4; + changequest 3006,3009; + mes "[Michael Halig]"; + mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + close; } - if (countitem(@item1) > 9 && countitem(@item2) > 9 && countitem(@item3) > 9 && countitem(@item4) > 9) { + if ((countitem(957) > 9) && (countitem(959) > 9) && (countitem(1099) > 9) && (countitem(901) > 9)) { mes "[Michael Halig]"; mes "Ah, well done."; mes "I must acknowledge your efforts and determination. You may now proceed to take the next test."; @@ -242,20 +216,63 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "[Michael Halig]"; mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; next; - delitem @item1, 10; - delitem @item2, 10; - delitem @item3, 10; - delitem @item4, 10; - set CRUS_Q, 4; - if(checkquest(3006) != -1) { - changequest 3006,3009; - } - else if(checkquest(3007) != -1) { - changequest 3007,3009; - } - else { - changequest 3008,3009; - } + delitem 957,10; //Decayed_Nail + delitem 959,10; //Rotten_Scale + delitem 1099,10; //Worn_Out_Prison_Uniform + delitem 901,10; //Danggie + set CRUS_Q,4; + changequest 3006,3009; + mes "[Michael Halig]"; + mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + close; + } + mes "[Michael Halig]"; + mes "Ah, you still have not completed the task I have given to you. Bring me the following items, and prove your will to become a Crusader to me..."; + next; + mes "[Michael Halig]"; + mes "^3355FF10 Decayed Nail^000000,"; + mes "^3355FF10 Stinky Scale^000000,"; + mes "^3355FF10 Worn-out Prison Uniform^000000 and"; + mes "^3355FF10 Daenggie^000000."; + next; + mes "[Michael Halig]"; + mes "If you put forth the effort, you'll be able to accomplish this task. May Odin protect you on your journeys."; + close; + } + if (CRUS_Q == 2) { + mes "[Michael Halig]"; + mes "Have you proven your determination with the task I have given you, or do you possess the items proving that you have received your calling?"; + next; + if ((countitem(1004) > 0) && (countitem(1009) > 0)) { + mes "[Michael Halig]"; + mes "Ah..."; + mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities."; + next; + mes "[Micheal Halig]"; + mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; + next; + delitem 1004,1; //Patriotism_Marks + delitem 1009,1; //Sacred_Marks + set CRUS_Q,4; + changequest 3007,3009; + mes "[Michael Halig]"; + mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + close; + } + if ((countitem(932) > 9) && (countitem(1043) > 9) && (countitem(1098) > 9) && (countitem(1094) > 9)) { + mes "[Michael Halig]"; + mes "Ah, well done."; + mes "I must acknowledge your efforts and determination. You may now proceed to take the next test."; + next; + mes "[Michael Halig]"; + mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; + next; + delitem 932,10; //Skel_Bone + delitem 1043,10; //Nail_Of_Orc + delitem 1098,10; //Manacles + delitem 1094,10; //Short_Daenggie + set CRUS_Q,4; + changequest 3007,3009; mes "[Michael Halig]"; mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; close; @@ -264,42 +281,147 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "Ah, you still have not completed the task I have given to you. Bring me the following items, and prove your will to become a Crusader to me..."; next; mes "[Michael Halig]"; - mes "10 ^3355FF"+getitemname(@item1)+"^000000"; - mes "10 ^3355FF"+getitemname(@item2)+"^000000"; - mes "10 ^3355FF"+getitemname(@item3)+"^000000"; - mes "10 ^3355FF"+getitemname(@item4)+"^000000"; + mes "^3355FF10 Skel-Bone^000000,"; + mes "^3355FF10 Orc Claw^000000,"; + mes "^3355FF10 Manacles^000000 and"; + mes "^3355FF10 Short Daenggie^000000."; next; mes "[Michael Halig]"; mes "If you put forth the effort, you'll be able to accomplish this task. May Odin protect you on your journeys."; close; } - else if(CRUS_Q == 10) { - if(SkillPoint) { + if (CRUS_Q == 3) { + mes "[Michael Halig]"; + mes "Have you proven your determination with the task I have given you, or do you possess the items proving that you have received your calling?"; + next; + if ((countitem(1004) > 0) && (countitem(1009) > 0)) { + mes "[Michael Halig]"; + mes "Ah..."; + mes "I see that you have been called to become a Crusader. We are assured of your will, but now we must test your capabilities."; + next; + mes "[Micheal Halig]"; + mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; + next; + delitem 1004,1; //Patriotism_Marks + delitem 1009,1; //Sacred_Marks + set CRUS_Q,4; + changequest 3008,3009; + mes "[Michael Halig]"; + mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + close; + } + if ((countitem(958) > 9) && (countitem(930) > 9) && (countitem(1041) > 9) && (countitem(1062) > 9)) { + mes "[Michael Halig]"; + mes "Ah, well done."; + mes "I must acknowledge your efforts and determination. You may now proceed to take the next test."; + next; + mes "[Michael Halig]"; + mes "Meet with Moorenak Miyol who is training in the underground dungeon of the Prontera Castle. Go, and speak with him first."; + next; + delitem 958,10; //Horrendous_Mouth + delitem 930,10; //Rotten_Bandage + delitem 1041,10; //Lantern + delitem 1062,10; //Pumpkin_Head + set CRUS_Q,4; + changequest 3008,3009; + mes "[Michael Halig]"; + mes "Moorenak and others like him will test the limits of your capabilities and help you find your path. Return to me after you have completed their tests..."; + close; + } + mes "[Michael Halig]"; + mes "Ah, you still have not completed the task I have given to you. Bring me the following items, and prove your will to become a Crusader to me..."; + next; + mes "[Michael Halig]"; + mes "^3355FF10 Horrendous Mouth^000000,"; + mes "^3355FF10 Rotten Bandage^000000,"; + mes "^3355FF10 Lantern^000000 and"; + mes "^3355FF10 Jack o' Pumpkin^000000."; + next; + mes "[Michael Halig]"; + mes "If you put forth the effort, you'll be able to accomplish this task. May Odin protect you on your journeys."; + close; + } + if (CRUS_Q == 10) { + if (JobLevel < 40) { + set CRUS_Q,0; + mes "[Michael Halig]"; + mes "Wait ... You can not sign up."; + mes "You must reach job level 40 before you can apply."; + next; + mes "[Michael Halig]"; + mes "Train as a Swordsman and wait for the call of Odin."; + mes "I know your feelings, but you can not join us now..."; + close; + } + if (SkillPoint != 0) { + mes "[Michael Halig]"; mes "You haven't finished learning everything as a Swordsman. Use all of your remaining skill points, and then return to me."; close; } + if (JobLevel == 50) { + mes "[Michael Halig]"; + mes "Congratulations on completing all of your tests. You are truly worthy of fighting alongside side us in the Holy War as a Crusader."; + next; + mes "[Michael Halig]"; + mes "Together, let us ready ourselves and be victorious over evil and tyranny!"; + next; + completequest 3015; + set CRUS_Q,0; + if(Class == Job_Baby_Swordman){ + jobchange Job_Baby_Crusader; + } else { + jobchange Job_Crusader; + } + set FJOB,Job_Royal_Guard; + mes "[Michael Halig]"; + mes "Behold...!"; + mes "You are now a Crusader!"; + mes "When the Holy War comes, we shall fight side by side against the forces of evil."; + next; + mes "[Michael Halig]"; + mes "Now you are"; + mes "one of us!"; + if (Sex == 1) { + mes "...Brother."; + } + else { + mes "...Comrade."; + } + next; + getitem 504,12; //White_Potion + mes "[Michael Halig]"; + mes "And use this in times of dire peril. It will give you strength when your wounds are most grievous."; + next; + mes "[Michael Halig]"; + mes "Never forget that the Holy War is approaching. We must be prepare for the inevitable tide of evil that will sweep this world. Now, go forth and fight for the principles of freedom and justice!"; + close; + } + mes "[Michael Halig]"; mes "Congratulations on completing all of your tests. You are truly worthy of fighting alongside side us in the Holy War as a Crusader."; next; mes "[Michael Halig]"; mes "Together, let us ready ourselves and be victorious over evil and tyranny!"; next; - set .@Joblevel,JobLevel; completequest 3015; - callfunc "Job_Change",Job_Crusader; - callfunc "F_ClearJobVar"; //clears all job variables for the current player + set CRUS_Q,0; + if(Class == Job_Baby_Swordman){ + jobchange Job_Baby_Crusader; + } else { + jobchange Job_Crusader; + } + set FJOB,Job_Royal_Guard; mes "[Michael Halig]"; mes "Behold...!"; mes "You are now a Crusader!"; - mes "When the Holy War comes, we shall fight side by side against the forces of evil."; - next; - mes "[Michael Halig]"; - mes "Now you are"; - mes "one of us!"; - if (sex) mes "...Brother."; - else mes "...Comrade."; + mes "When the Holy War comes, we shall fight side by side against the forces of evil. Now you are one of us!"; + if (Sex == 1) { + mes "...Brother."; + } + else { + mes "...Comrade."; + } next; - if(.@JobLevel != 50) getitem 504, 6; - else getitem 504, 12; + getitem 504,6; //White_Potion mes "[Michael Halig]"; mes "And use this in times of dire peril. It will give you strength when your wounds are most grievous."; next; @@ -307,6 +429,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "Never forget that the Holy War is approaching. We must be prepare for the inevitable tide of evil that will sweep this world. Now, go forth and fight for the principles of freedom and justice!"; close; } + mes "[Michael Halig]"; mes "It seems that you have not yet completed all of the testing. You will not be ready to become a Crusader until you have completed the tests set before you."; next; mes "[Michael Halig]"; @@ -314,15 +437,15 @@ prt_castle,45,169,5 script Senior Crusader 752,{ close; } -//===================== Suffering Man: 2nd Endurance Test =============================================== prt_castle,164,32,1 script Man in Anguish 733,{ - mes "[Murnak Mijoul]"; - if(BaseJob != Job_Swordman) { - if (BaseJob == Job_Crusader) { + if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) { + if (Class == Job_Baby_Crusader || Class == Job_Crusader) { + mes "[Murnak Mijoul]"; mes "Don't linger around in a place like this and forge your own path towards discovering your own strengths. The day that we will join hands in battle will come soon."; close; } - else if(BaseJob == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Murnak Mijoul]"; mes "A Novice...?"; mes "So green, and yet,"; mes "so much potential."; @@ -331,10 +454,12 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "Let me assure you that I'm no criminal. I'm here merely to train myself. Perhaps as you become stronger, you will understand."; close; } + mes "[Murnak Mijoul]"; mes "Hm. You have no business in a place like this. Please leave, and do not interrupt my training."; close; } - else if(CRUS_Q >= 0 && CRUS_Q <= 3) { + if (CRUS_Q == 0) { + mes "[Murnak Mijoul]"; mes "What do you want...?"; mes "If you have no business here,"; mes "then please leave. A tranquil state of mind is essential in self training..."; @@ -343,11 +468,46 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "I wish to improve the sense of serenity in my heart in preparation for the Holy War that is to come. So please, do not disturb me."; close; } - else if(CRUS_Q == 4) { + if (CRUS_Q == 1) { + mes "[Murnak Mijoul]"; + mes "What do you want...?"; + mes "If you have no business here,"; + mes "then please leave. A tranquil state of mind is essential in self training..."; + next; + mes "[Murnak Mijoul]"; + mes "I wish to improve the sense of serenity in my heart in preparation for the Holy War that is to come. So please, do not disturb me."; + close; + } + if (CRUS_Q == 2) { + mes "[Murnak Mijoul]"; + mes "What do you want...?"; + mes "If you have no business here,"; + mes "then please leave. A tranquil state of mind is essential in self training..."; + next; + mes "[Murnak Mijoul]"; + mes "I wish to improve the sense of serenity in my heart in preparation for the Holy War that is to come. So please, do not disturb me."; + close; + } + if (CRUS_Q == 3) { + mes "[Murnak Mijoul]"; + mes "What do you want...?"; + mes "If you have no business here,"; + mes "then please leave. A tranquil state of mind is essential in self training..."; + next; + mes "[Murnak Mijoul]"; + mes "I wish to improve the sense of serenity in my heart in preparation for the Holy War that is to come. So please, do not disturb me."; + close; + } + if (CRUS_Q == 4) { + mes "[Murnak Mijoul]"; mes "What is it...?"; mes "Do you have business"; - if (sex) mes "with me, man of the sword?"; - else mes "with me, woman of the sword?"; + if (Sex == 1) { + mes "with me, man of the sword?"; + } + else { + mes "with me, woman of the sword?"; + } next; if (select("I'd like to take the Crusader test.:Nothing.") == 1) { mes "[Murnak Mijoul]"; @@ -359,7 +519,7 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "Let me take"; mes "a look at your face."; next; - if(getequipid(7) != 2608 && getequipid(8) != 2608) { + if (!isequipped(2608)) { mes "[Murnak Mijoul]"; mes "Hmm. You wish to become a Crusader, but do not wear a Rosary? I have no business with you if you cannot uphold our customs."; close; @@ -391,7 +551,8 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "You seem to have a lot of time on your hands. Why don't you do something more productive, like pick Jellopy off the streets or something?"; close; } - else if(CRUS_Q == 5) { + if (CRUS_Q == 5) { + mes "[Murnak Mijoul]"; mes "What is it...?"; mes "You're the Swordman from before. What happened, did you fail?"; next; @@ -400,7 +561,7 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "I'll let you retake the test as much as you like. But if you continuously fail, there's an inherent problem with your"; mes "state of mind."; next; - if(getequipid(7) != 2608 && getequipid(8) != 2608) { + if (!isequipped(2608)) { mes "[Murnak Mijoul]"; mes "Wait..."; mes "Where have you left your Rosary? You can't let that lie around just anywhere. We are supposed to be warriors of holiness."; @@ -426,6 +587,7 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "Good luck."; close2; warp "job_cru",98,40; + end; } mes "[Murnak Mijoul]"; mes "Who are you to say that you don't like my test? With that kind of attitude, you'll never become a Crusader."; @@ -434,24 +596,26 @@ prt_castle,164,32,1 script Man in Anguish 733,{ mes "I can understand if you are easily frustrated, but you must overcome your frustration to pass this test."; close; } - else if(CRUS_Q == 6) { + if (CRUS_Q == 6) { + mes "[Murnak Mijoul]"; mes "Hmm, seems like you did well. It shouldn't have been too hard. You no longer have any business"; mes "with me."; next; + changequest 3010,3011; mes "[Murnak Mijoul]"; mes "For your next test, go look for Gabriel Valentine in the Prontera Sanctuary. Well then, I'll see you around."; close; } + mes "[Murnak Mijoul]"; mes "Hmmm..."; mes "You still have tests to complete if you want to become a Crusader, don't you?"; close; } -//===================== Gabriel Valentine: 3rd Knowledge Test ================================= -prt_church,95,127,3 script Crusader 745,{ - mes "[Gabriel Valentine]"; - if(BaseJob != Job_Swordman) { - if (BaseJob == Job_Crusader) { +prt_church,95,127,5 script Crusader 745,{ + if ((Class != Job_Baby_Swordmann) && (Class != Job_Swordman)) { + if (Class == Job_Baby_Crusader || Class == Job_Crusader) { + mes "[Gabriel Valentine]"; mes "Welcome, fellow Crusader."; mes "How is your training"; mes "coming along?"; @@ -460,7 +624,8 @@ prt_church,95,127,3 script Crusader 745,{ mes "You must not forget to train everyday, and prepare for the day the Holy War will come upon us."; close; } - else if(BaseJob == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Gabriel Valentine]"; mes "Welcome, I am a Crusader."; mes "I am preparing for the"; mes "foretold Holy War"; @@ -471,8 +636,9 @@ prt_church,95,127,3 script Crusader 745,{ next; mes "[Gabriel Valentine]"; mes "We are located in the Prontera Central Palace, so if you have time, it wouldn't hurt to stop by."; - close; + close2; } + mes "[Gabriel Valentine]"; mes "Welcome, we are Crusaders."; mes "We are preparing for the"; mes "foretold Holy War"; @@ -482,7 +648,8 @@ prt_church,95,127,3 script Crusader 745,{ mes "I hope you will train yourself in preparation for the future as well."; close; } - else if(CRUS_Q == 0) { + if (CRUS_Q == 0) { + mes "[Gabriel Valentine]"; mes "Welcome. We are Crusaders."; mes "We are preparing for the"; mes "foretold Holy War"; @@ -492,226 +659,458 @@ prt_church,95,127,3 script Crusader 745,{ mes "If you would like to become a Crusader, please speak with our leader in the Prontera Central Palace."; close; } - else if((CRUS_Q == 6) || (CRUS_Q == 7)) { - if(CRUS_Q == 6) { - mes "Welcome."; - mes "Did you do well"; - mes "on those painful tests?"; - mes "I will be conducting your next test."; + if (CRUS_Q == 6) { + mes "[Gabriel Valentine]"; + mes "Welcome."; + mes "Did you do well"; + mes "on those painful tests?"; + mes "I will be conducting your next test."; + next; + mes "[Gabriel Valentine]"; + mes "My name is Gabriel Valentine. I, too, am preparing for the Holy War. For the time being, I act as guard for this church."; + next; + mes "[Gabriel Valentine]"; + mes "I will test to see if you have acquired the knowledge that is necessary to become a Crusader."; + mes "We can't very well win the Holy War just by swinging a sword."; + next; + set .@cru_m, rand(1,3); + set @cru_t, 0; + mes "[Gabriel Valentine]"; + mes "I will give"; + mes "you 10 questions."; + mes "Answer them correctly."; + next; + if (.@cru_m == 1) { + mes "[Gabriel Valentine]"; + mes "1. Which attribute is the most effective in atttacking the Undead?"; next; + if (select("Neutral:Earth:Undead:Holy") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "My name is Gabriel Valentine. I, too, am preparing for the Holy War. For the time being, I act as guard for this church."; + mes "2. If the monster is a level 2 Undead, how much more damage does a Holy attack do compared to Fire?"; next; + if (select("25%:50%:75%:100%") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "I will test to see if you have acquired the knowledge that is necessary to become a Crusader."; - mes "We can't very well win the Holy War just by swinging a sword."; + mes "3. What item can you not get from an Evil Druid?"; next; + if (select("Monk Hat:Yggdrasil leaf:White Herb:Amulet ") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "I will give"; - mes "you 10 questions."; - mes "Answer them correctly."; + mes "4. Which Undead monster has the highest HP?"; next; + if (select("Ghoul:Skeleton Prisoner:Wraith:Zombie Prisoner") == 4) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "5. Which of the following is a different size?"; + next; + if (select("Wraith:Khalitzburg:Drake:Evil Druid") == 3) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "6. Which card is immune to undead attacks?"; + next; + if (select("Orc Skeleton Card:Orc Zombie Card:Ghoul Card:Skel Worker Card") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "7. What was teh relationship between Munak and Bongun before they passed away?"; + next; + if (select("Big Brother and Little Sister:Neighborhood Older Sister and Younger Brother:Stepbrother and sister:Did not know each other") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "8. Which monster is a different type of undead monster?"; + next; + if (select("Soldier Skeleton:Orc Skeleton:Skeleton:Skel Worker") == 3) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "9. What is the name of a shield with a Munak Card?"; + next; + if (select("Atomic Shield:Amulet Shield:Hypnotic Shield:Homeroth Shield") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "10. Which of the following monsters does not drop its article left at death?"; + next; + if (select("Munak:Ghoul:Mummy:Soldier Skeleton") == 1) { + set @cru_t, @cru_t + 10; + } } - else if(CRUS_Q == 7) { - mes "Welcome back~"; - mes "Did you prepare"; - mes "well for this test?"; - mes "Let's try again,"; - mes "shall we...?"; + if (.@cru_m == 2) { + mes "[Gabriel Valentine]"; + mes "1. Which of the following monsters has a different attribute?"; + next; + if (select("Carat:Wind Ghost:Isis:Wanderer") == 3) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "2. Which sword is effective in attacking demon monsters?"; + next; + if (select("Decussate Tsurugi:Hollowed Tsurugi:Damned Tsurugi:Drowsy Tsurugi") == 1) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "3. Which item does the Dokebi NOT drop?"; + next; + if (select("Rough Elunium:Golden Hammer:Sword Mace:Mighty Staff") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "4. Which demon monster has the most HP?"; + next; + if (select("Giearth:Magnolia:Dokebi:Marionette") == 4) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "5. Which demon monster is a different size?"; + next; + if (select("Ghostring:Whisper:Deviruchi:Baphomet Junior") == 1) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "6. Which shield decreases attacks from demon monsters?"; + next; + if (select("Satanic Shield:Shield from Hell:Amulet Shield:Excellent Shield") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "7. Which attribute is the most effective on the Wind Ghost?"; next; + if (select("Water:Earth:Fire:Wind") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "8. Which monster is different from the other demon monsters?"; + next; + if (select("Sohee:Isis:Dokebi:Whisper") == 4) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "9. What effect does the Marionette Card have?"; + next; + if (select("Increase defense against shadow attacks by 30%:Increase defense against poison attacks by 30%:Increase defense against ghost attacks by 30%:Increase defense against neutral attacks by 30%") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "Once again, I'm going"; - mes "to give you 10 questions"; - mes "Listen carefully, and"; - mes "choose the correct answer."; + mes "10. Which of the following is an effective way to react when encountering a demon monster?"; next; + if (select("Yell out - Evil one go away!:Offer your soul and get a deal.:Put Holy Water on weapon and attack.:Put on a Deviruchi hat.") == 3) { + set @cru_t, @cru_t + 10; + } } - set .@cru_m,rand(1,3); + else { + mes "[Gabriel Valentine]"; + mes "1. What level of 'Divine Protection' do you need to learn 'Demon Bane'?"; + next; + if (select("Lv. 1:Lv. 2:Lv. 3:Lv. 4") == 3) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "2. If your INT is 30 at level 55 (including the INT from equipment) how much HP does Lv. 5 Heal recover?"; + next; + if (select("396:440:484:528") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "3. When using Divine Protection Lv. 7, how much does your defense increase by against Undead?"; + next; + if (select("21:22:23:24") == 1) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "4. Which of the following spears can attack the Nightmare with ghost attributes?"; + next; + if (select("Lance:Bill Guisarme:Cresent scythe:Zephyrus") == 4) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "5. What level of 'Heal' do you need to learn 'Cure'?"; + next; + if (select("Lv. 1:Lv. 2:Lv. 3:Lv. 4") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "6. What is the attack speed with Cavalier Mastery Lv.3?"; + next; + if (select("70% of normal speed:80% of normal speed:90% of normal speed:100% of normal speed") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "7. Which of the following is not a correction description of Demon Bane?"; + next; + if (select("Increase attack on Undead:Only Acolytes can learn the skill.:When mastered, +30 increase.:Passive Skill") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "8. How much SP does Heal Lv. 7 use?"; + next; + if (select("30:31:33:35") == 2) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "9. When can you cure with Cure?"; + next; + if (select("Curse:Silence:Chaos:Blind") == 1) { + set @cru_t, @cru_t + 10; + } + mes "[Gabriel Valentine]"; + mes "10. What best describes a Crusader?"; + next; + if (select("One preparing a cookie.:One preparing for the Holy War.:One preparing to drink.:One preparing potions.") == 2) { + set @cru_t, @cru_t + 10; + } + } + mes "[Gabriel Valentine]"; + mes "Good work~"; + mes "Well, first let me"; + mes "look at your results."; + next; + mes "[Gabriel Valentine]"; + mes " " + strcharinfo(0) + "'s score"; + mes "is " + @cru_t + " points..."; + if (@cru_t == 100) { + set CRUS_Q,8; + changequest 3011,3013; + mes "Superb! Now, it's time for"; + mes "you to take the next test."; + next; + mes "[Gabriel Valentine]"; + mes "Go to Prontera Castle"; + mes "and meet Bliant Piyord."; + mes "I will inform him that"; + mes "he will be testing you next."; + close; + } + if (@cru_t == 90) { + set CRUS_Q,8; + changequest 3011,3013; + mes "Well done~ Now, it's time for"; + mes "you to take the next test."; + next; + mes "[Gabriel Valentine]"; + mes "Go to Prontera Castle"; + mes "and meet Bliant Piyord."; + mes "I will inform him that"; + mes "he will be testing you next."; + close; + } + set CRUS_Q,7; + changequest 3011,3012; + mes "Hmmm... What a pity."; + mes "Go study some more and"; + mes "take this test again, okay?"; + next; + mes "[Gabriel Valentine]"; + mes "Don't stress, you need to know a lot in order to pass this test. In any case, I'll be waiting right here. When you think you're ready, come back, alright?"; + close; + } + if (CRUS_Q == 7) { + mes "[Gabriel Valentine]"; + mes "Welcome back~"; + mes "Did you prepare"; + mes "well for this test?"; + mes "Let's try again,"; + mes "shall we...?"; + next; + set .@cru_m, rand(1,3); + set @cru_t, 0; + mes "[Gabriel Valentine]"; + mes "Once again, I'm going"; + mes "to give you 10 questions"; + mes "Listen carefully, and"; + mes "choose the correct answer."; + next; if (.@cru_m == 1) { mes "[Gabriel Valentine]"; mes "1. Which attribute is the most effective in atttacking the Undead?"; next; - if (select("Neutral:Earth:Undead:Holy") == 4) - set .@cru_t,.@cru_t+10; - + if (select("Neutral:Earth:Undead:Holy") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "2. If the monster is a Level 2 Undead, how much more damage does a Holy attack do compared to Fire?"; + mes "2. If the monster is a level 2 Undead, how much more damage does a Holy attack do compared to Fire?"; next; - if (select("25 %:50 %:75 %:100 %") == 1) - set .@cru_t,.@cru_t+10; - + if (select("25%:50%:75%:100%") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; mes "3. What item can you not get from an Evil Druid?"; next; - if (select("Monk Hat:Yggdrasil leaf:White Herb:Amulet ") == 1) - set .@cru_t,.@cru_t+10; - + if (select("Monk Hat:Yggdrasil leaf:White Herb:Amulet ") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "4. Which Undead monster"; - mes "has the highest HP?"; + mes "4. Which Undead monster has the highest HP?"; next; - if (select("Ghoul:Skeleton Prisoner:Wraith:Zombie Prisoner") == 4) - set .@cru_t,.@cru_t+10; - + if (select("Ghoul:Skeleton Prisoner:Wraith:Zombie Prisoner") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "5. Which of the following monsters is a different size than the others?"; + mes "5. Which of the following is a different size?"; next; - if (select("Wraith:Khalitzburg:Drake:Evil Druid") == 3) - set .@cru_t,.@cru_t+10; - + if (select("Wraith:Khalitzburg:Drake:Evil Druid") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "6. Which card grants you tolerance to Undead property attacks?"; + mes "6. Which card is immune to undead attacks?"; next; - if (select("Orc Skeleton Card:Orc Zombie Card:Ghoul Card:Skel Worker Card") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Orc Skeleton Card:Orc Zombie Card:Ghoul Card:Skel Worker Card") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "7. What was the relationship between Munak and Bongun before they passed away?"; + mes "7. What was teh relationship between Munak and Bongun before they passed away?"; next; - if (select("Big Brother and Little Sister:Childhood friends in the same village:Stepbrother and sister:Complete strangers") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Big Brother and Little Sister:Neighborhood Older Sister and Younger Brother:Stepbrother and sister:Did not know each other") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "8. Which of the following monsters is not aggressive?"; + mes "8. Which monster is a different type of undead monster?"; next; - if (select("Soldier Skeleton:Orc Skeleton:Skeleton:Skel Worker") == 3) - set .@cru_t,.@cru_t+10; - + if (select("Soldier Skeleton:Orc Skeleton:Skeleton:Skel Worker") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "9. What is the name of the shield in which a Munak Card has been inserted?"; + mes "9. What is the name of a shield with a Munak Card?"; next; - if (select("Atomic Shield:Amulet Shield:Hypnotic Shield:Homeroth Shield") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Atomic Shield:Amulet Shield:Hypnotic Shield:Homeroth Shield") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "10. Which of the following monsters does not drop Memento?"; + mes "10. Which of the following monsters does not drop its article left at death?"; next; - if (select("Munak:Ghoul:Mummy:Soldier Skeleton") == 1) - set .@cru_t,.@cru_t+10; + if (select("Munak:Ghoul:Mummy:Soldier Skeleton") == 1) { + set @cru_t, @cru_t + 10; + } } - else if (.@cru_m == 2) { + if (.@cru_m == 2) { mes "[Gabriel Valentine]"; - mes "1. Which of the following monsters is a different attribute than the others?"; + mes "1. Which of the following monsters has a different attribute?"; next; - if (select("Carat:Wind Ghost:Isis:Wanderer") == 3) - set .@cru_t,.@cru_t+10; - + if (select("Carat:Wind Ghost:Isis:Wanderer") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "2. Which sword is effective in attacking Demon monsters?"; + mes "2. Which sword is effective in attacking demon monsters?"; next; - if (select("Decussate Tsurugi:Hollowed Tsurugi:Damned Tsurugi:Drowsy Tsurugi") == 1) - set .@cru_t,.@cru_t+10; - + if (select("Decussate Tsurugi:Hollowed Tsurugi:Damned Tsurugi:Drowsy Tsurugi") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "3. Which item is NOT dropped by Dokebi?"; + mes "3. Which item does the Dokebi NOT drop?"; next; - if (select("Rough Elunium:Golden Hammer:Sword Mace:Mighty Staff") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Rough Elunium:Golden Hammer:Sword Mace:Mighty Staff") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "4. Which Demon monster has the most HP?"; + mes "4. Which demon monster has the most HP?"; next; - if (select("Giearth:Magnolia:Dokebi:Marionette") == 4) - set .@cru_t,.@cru_t+10; - + if (select("Giearth:Magnolia:Dokebi:Marionette") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "5. Which Demon monster is a different size than the others?"; + mes "5. Which demon monster is a different size?"; next; - if (select("Ghostring:Whisper:Deviruchi:Baphomet Junior") == 1) - set .@cru_t,.@cru_t+10; - + if (select("Ghostring:Whisper:Deviruchi:Baphomet Junior") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "6. Which shield reduces damage inflicted by Demon monsters?"; + mes "6. Which shield decreases attacks from demon monsters?"; next; - if (select("Satanic Shield:Shield from Hell:Amulet Shield:Excellent Shield") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Satanic Shield:Shield from Hell:Amulet Shield:Excellent Shield") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; mes "7. Which attribute is the most effective on the Wind Ghost?"; next; - if (select("Water:Earth:Fire:Wind") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Water:Earth:Fire:Wind") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "8. Which monster is different from the other Demon monsters?"; + mes "8. Which monster is different from the other demon monsters?"; next; - if (select("Sohee:Isis:Dokebi:Whisper") == 4) - set .@cru_t,.@cru_t+10; - + if (select("Sohee:Isis:Dokebi:Whisper") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; mes "9. What effect does the Marionette Card have?"; next; - if (select("Increase defense against Shadow attacks by 30 %:Increase defense against poison attacks by 30 %:Increase defense against Ghost attacks by 30 %:Increase defense against Neutral attacks by 30 %") == 3) - set .@cru_t,.@cru_t+10; - + if (select("Increase defense against shadow attacks by 30%:Increase defense against poison attacks by 30%:Increase defense against ghost attacks by 30%:Increase defense against neutral attacks by 30%") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; mes "10. Which of the following is an effective way to react when encountering a demon monster?"; next; - if (select("Scream, 'Evil one, go away!':Offer your soul and get a deal.:Put Holy Water on a weapon and attack.:Put on a Deviruchi hat.") == 3) - set .@cru_t,.@cru_t+10; + if (select("Yell out - Evil one go away!:Offer your soul and get a deal.:Put Holy Water on weapon and attack.:Put on a Deviruchi hat.") == 3) { + set @cru_t, @cru_t + 10; + } } else { mes "[Gabriel Valentine]"; - mes "1. What level of 'Divine Protection' do you need to learn 'Demon Bane?'"; + mes "1. What level of 'Divine Protection' do you need to learn 'Demon Bane'?"; next; - if (select("Level 1:Level 2:Level 3:Level 4") == 3) - set .@cru_t,.@cru_t+10; - + if (select("Lv. 1:Lv. 2:Lv. 3:Lv. 4") == 3) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "2. If your INT is 30, including INT bonuses from quipment, at level 55, how much HP does Level 5 Heal recover?"; + mes "2. If your INT is 30 at level 55 (including the INT from equipment) how much HP does Lv. 5 Heal recover?"; next; - if (select("396:440:484:528") == 2) - set .@cru_t,.@cru_t+10; - + if (select("396:440:484:528") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "3. With Level 7 Divine Protection, by how much is your defense against the Undead increased?"; + mes "3. When using Divine Protection Lv. 7, how much does your defense increase by against Undead?"; next; - if (select("21:22:23:24") == 1) - set .@cru_t,.@cru_t+10; - + if (select("21:22:23:24") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "4. Which of the following spears can attack Nightmare, which is endowed with the Ghost attribute?"; + mes "4. Which of the following spears can attack the Nightmare with ghost attributes?"; next; - if (select("Lance:Bill Guisarme:Cresent scythe:Zephyrus") == 4) - set .@cru_t,.@cru_t+10; - + if (select("Lance:Bill Guisarme:Cresent scythe:Zephyrus") == 4) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "5. What level of 'Heal' do you need to learn 'Cure?'"; + mes "5. What level of 'Heal' do you need to learn 'Cure'?"; next; - if (select("Level 1:Level 2:Level 3:Level 4") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Lv. 1:Lv. 2:Lv. 3:Lv. 4") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "6. What is the attack speed when Level 3 Cavalier Mastery is learned?"; + mes "6. What is the attack speed with Cavalier Mastery Lv.3?"; next; - if (select("70 % of normal speed:80 % of normal speed:90 % of normal speed:100 % of normal speed") == 2) - set .@cru_t,.@cru_t+10; - + if (select("70% of normal speed:80% of normal speed:90% of normal speed:100% of normal speed") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "7. Which of the following is not correct of the Demon Bane skill?"; + mes "7. Which of the following is not a correction description of Demon Bane?"; next; - if (select("Increase attack on Undead:Only Acolytes can learn the skill:When mastered, + 30 increase:Passive Skill") == 2) - set .@cru_t,.@cru_t+10; - + if (select("Increase attack on Undead:Only Acolytes can learn the skill.:When mastered, +30 increase.:Passive Skill") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "8. How much SP does Level 7 Heal use?"; + mes "8. How much SP does Heal Lv. 7 use?"; next; - if (select("30:31:33:35") == 2) - set .@cru_t,.@cru_t+10; - + if (select("30:31:33:35") == 2) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; - mes "9. What status cannot be"; - mes "cured with the Cure skill?"; + mes "9. When can you cure with Cure?"; next; - if (select("Curse:Silence:Chaos:Blind") == 1) - set .@cru_t,.@cru_t+10; - + if (select("Curse:Silence:Chaos:Blind") == 1) { + set @cru_t, @cru_t + 10; + } mes "[Gabriel Valentine]"; mes "10. What best describes a Crusader?"; next; - if (select("One preparing for matrimony.:One preparing for the Holy War.:One preparing consummation.:One preparing potions.") == 2) - set .@cru_t,.@cru_t+10; - + if (select("One preparing a cookie.:One preparing for the Holy War.:One preparing to drink.:One preparing potions.") == 2) { + set @cru_t, @cru_t + 10; + } } mes "[Gabriel Valentine]"; mes "Good work~"; @@ -719,11 +1118,11 @@ prt_church,95,127,3 script Crusader 745,{ mes "look at your results."; next; mes "[Gabriel Valentine]"; - mes " " + strcharinfo(0) + "'s score"; - mes "is " + .@cru_t + " points..."; - if(.@cru_t == 100) { - set CRUS_Q, 8; - changequest 3011,3013; + mes "" + strcharinfo(0) + "'s score"; + mes "is " + @cru_t + " points..."; + if (@cru_t == 100) { + set CRUS_Q,8; + changequest 3012,3013; mes "Superb! Now, it's time for"; mes "you to take the next test."; next; @@ -734,9 +1133,9 @@ prt_church,95,127,3 script Crusader 745,{ mes "he will be testing you next."; close; } - else if(.@cru_t == 90) { - set CRUS_Q, 8; - changequest 3011,3013; + if (@cru_t == 90) { + set CRUS_Q,8; + changequest 3012,3013; mes "Well done~ Now, it's time for"; mes "you to take the next test."; next; @@ -747,9 +1146,9 @@ prt_church,95,127,3 script Crusader 745,{ mes "he will be testing you next."; close; } - else if (.@cru_t == 80 && CRUS_Q == 7) { + if (@cru_t == 80) { set CRUS_Q,8; - changequest 3011,3013; + changequest 3012,3013; mes "Seems like you prepared a lot so I'll let you pass this time."; mes "Hurry now and go take the next test."; next; @@ -759,28 +1158,32 @@ prt_church,95,127,3 script Crusader 745,{ close; } set CRUS_Q,7; - if(checkquest(3011) != -1) { - changequest 3011,3012; - } - mes "Hmmm... What a pity."; - mes "Go study some more and"; - mes "take this test again, okay?"; + mes "Aww, what a pity. Come again after studying some more."; next; mes "[Gabriel Valentine]"; - mes "Don't stress, you need to know a lot in order to pass this test. In any case, I'll be waiting right here. When you think you're ready, come back, alright?"; + mes "I shall wait since there is a lot of preparation required."; + mes "Come back when you believe you are ready..."; + close; + } + if (CRUS_Q == 8) { + mes "[Gabriel Valentine]"; + mes "Like I mentioned before, you should go to Prontera Castle and meet with Bliant Piyord to take your next test. Good luck, and become a Crusder soon, alright?"; close; - } - else if(CRUS_Q == 8 || CRUS_Q == 9) { + } + if (CRUS_Q == 9) { + mes "[Gabriel Valentine]"; mes "Like I mentioned before, you should go to Prontera Castle and meet with Bliant Piyord to take your next test. Good luck, and become a Crusder soon, alright?"; close; } - else if(CRUS_Q == 10) { + if (CRUS_Q == 10) { + mes "[Gabriel Valentine]"; mes "What are you still doing here? You've already completed all the tests. Go talk to our leader, you're pretty much ready to become a Crusader now."; next; mes "[Gabriel Valentine]"; mes "You will soon join us in our preparations for the Holy War. Continue to live with faith after becoming a Crusader."; close; } + mes "[Gabriel Valentine]"; mes "Mmm...?"; mes "It seems that you're"; mes "an aspiring Crusader..."; @@ -795,20 +1198,21 @@ prt_church,95,127,3 script Crusader 745,{ close; } -//===================== Crusader: 4th Purification Test ===================================================== -prt_castle,35,151,5 script Patron Knight 751,{ - mes "[Bliant Piyord]"; - mes "Welcome."; - if(BaseJob != Job_Swordman) { - if(BaseJob == Job_Crusader) { +prt_castle,35,151,5 script Patron Kinght 751,{ + if ((Class != Job_Baby_Swordman) && (Class != Job_Swordman)) { + if (Class == Job_Baby_Crusader || Class == Job_Crusader) { + mes "[Bliant Piyord]"; + mes "Welcome."; mes "How goes"; mes "your training?"; next; mes "[Bliant Piyord]"; mes "Develop your faith. From faith springs strength and discipline. Day after day, train yourself and become a great Crusader."; - close; + close2; } - else if(BaseJob == Job_Novice) { + if (Class == Job_Baby || Class == Job_Novice) { + mes "[Bliant Piyord]"; + mes "Welcome."; mes "We are Crusaders,"; mes "warriors of holiness preparing for the great Holy War that is to come."; next; @@ -823,6 +1227,8 @@ prt_castle,35,151,5 script Patron Knight 751,{ mes "Train as a Swordsman and come to us when you think you are ready. If you have been called by Odin to become a Crusader, that would be even better."; close; } + mes "[Bliant Piyord]"; + mes "Welcome."; mes "We are Crusaders,"; mes "warriors of holiness preparing for the great Holy War that is to come."; next; @@ -830,7 +1236,9 @@ prt_castle,35,151,5 script Patron Knight 751,{ mes "Even in these relatively peaceful times, our training is ceaseless. We must be ready for the day with the tides of darkness shall rush against mankind..."; close; } - else if(CRUS_Q == 0) { + if (CRUS_Q == 0) { + mes "[Bliant Piyord]"; + mes "Welcome."; mes "We are Crusaders,"; mes "warriors of holiness preparing for the great Holy War that is to come."; next; @@ -849,43 +1257,99 @@ prt_castle,35,151,5 script Patron Knight 751,{ mes "be with you..."; close; } - else if(CRUS_Q == 8 || CRUS_Q == 9) { - if (CRUS_Q == 8) { - mes "It's nice"; - mes "to meet you."; - mes "It is now time"; - mes "for your final test."; - next; - mes "[Bliant Piyord]"; - mes "My name is Bliant Piyord and I too, am preparing for the Holy War. It must've been quite a hassle to come all this way."; - next; - mes "[Bliant Piyord]"; - mes "This test will gauge your skills in battle. Only those with great fighting ability can become Crusaders."; - next; - mes "[Bliant Piyord]"; - mes "To take the battle test, bring"; - mes "1 ^3355FFHoly Water^000000. This will be used to purify you prior to taking the test."; - if(checkquest(3013) != -1) { + if (CRUS_Q == 8) { + mes "[Bliant Piyord]"; + mes "Welcome. "; + mes "It's nice"; + mes "to meet you."; + mes "It is now time"; + mes "for your final test."; + next; + mes "[Bliant Piyord]"; + mes "My name is Bliant Piyord and I too, am preparing for the Holy War. It must've been quite a hassle to come all this way."; + next; + mes "[Bliant Piyord]"; + mes "This test will gauge your skills in battle. Only those with great fighting ability can become Crusaders."; + next; + mes "[Bliant Piyord]"; + mes "To take the battle test, bring"; + mes "1 ^3355FFHoly Water^000000. This will be used to purify you prior to taking the test."; + next; + mes "[Bliant Piyord]"; + mes "Well then..."; + mes "Shall we"; + mes "begin right away?"; + mes "Or do you need time"; + mes "to prepare yourself?"; + next; + if (select("I would like to begin.:Give me some time to prepare.") == 1) { + if (!isequipped(2608)) { + set CRUS_Q,9; changequest 3013,3014; + mes "[Bliant Piyord]"; + mes "Just a second, you do not have a Rosary equipped. As a Crusader, you must always have a Rosary on your person."; + next; + mes "[Bliant Piyord]"; + mes "Come back and take"; + mes "the test after you"; + mes "have a Rosary."; + close; } - next; + if (countitem(523) > 0) { + changequest 3013,3014; + set CRUS_Q,9; + delitem 523,1; //Holy_Water + mes "[Bliant Piyord]"; + mes "Then, I'll start"; + mes "the test. You will"; + mes "be purified with the"; + mes "Holy Water you prepared."; + next; + mes "[Bliant Piyord]"; + mes "..............."; + next; + mes "[Bliant Piyord]"; + mes "Let's begin."; + mes "Go and enter"; + mes "the waiting room."; + mes "Defeat the monsters"; + mes "that appear in"; + mes "the 4 stages."; + close2; + warp "job_cru",24,169; + end; + } + set CRUS_Q,9; + changequest 3013,3014; mes "[Bliant Piyord]"; - mes "Well then..."; - mes "Shall we"; - mes "begin right away?"; - mes "Or do you need time"; - mes "to prepare yourself?"; - } - else { - mes "Are you prepared"; - mes "for the test now?"; + mes "Prepare 1 ^3355FFHoly Water^000000 to take the battle test. As I've said, it will be used to purify you prior to taking the test."; next; mes "[Bliant Piyord]"; - mes "Would you like to begin now, or do you still need time to make preparations?"; + mes "Come back and take"; + mes "the test after you"; + mes "have prepared"; + mes "1 Holy Water."; + mes "I shall be"; + mes "waiting."; + close; } + mes "[Bliant Piyord]"; + mes "Well then,"; + mes "take your time."; + mes "I shall be waiting."; + close; + } + if (CRUS_Q == 9) { + mes "[Bliant Piyord]"; + mes "Welcome."; + mes "Are you prepared"; + mes "for the test now?"; + next; + mes "[Bliant Piyord]"; + mes "Would you like to begin now, or do you still need time to make preparations?"; next; if (select("I would like to begin.:Give me some time to prepare.") == 1) { - if(getequipid(7) != 2608 && getequipid(8) != 2608) { + if (!isequipped(2608)) { mes "[Bliant Piyord]"; mes "Just a second, you do not have a Rosary equipped. As a Crusader, you must always have a Rosary on your person."; next; @@ -895,50 +1359,48 @@ prt_castle,35,151,5 script Patron Knight 751,{ mes "have a Rosary."; close; } - else if(countitem(523) < 1) { + if (countitem(523) > 0) { + delitem 523,1; //Holy_Water mes "[Bliant Piyord]"; - mes "For the battle test, please prepare one ^3355FFHoly water^000000."; - mes "I told you just to purify the candidates."; + mes "Then, I'll start"; + mes "the test. You will"; + mes "be purified with the"; + mes "Holy Water you prepared."; next; mes "[Bliant Piyord]"; - mes "Get prepares and come back to here."; - mes "I will wait for you."; - close; + mes "..............."; + next; + mes "[Bliant Piyord]"; + mes "Let's begin."; + mes "Go and enter"; + mes "the waiting room."; + mes "Defeat the monsters"; + mes "that appear in"; + mes "the 4 stages."; + close2; + warp "job_cru",24,169; + end; } - delitem 523, 1; //Holy Water - mes "[Bliant Piyord]"; - mes "Then, I'll start"; - mes "the test. You will"; - mes "be purified with the"; - mes "Holy Water you prepared."; - next; mes "[Bliant Piyord]"; - mes "..............."; + mes "Prepare 1 ^3355FFHoly Water^000000 to take the battle test. As I've said, it will be used to purify you prior to taking the test."; next; mes "[Bliant Piyord]"; - mes "Let's begin."; - mes "Go and enter"; - mes "the waiting room."; - mes "Defeat the monsters"; - mes "that appear in"; - mes "the 4 stages."; - close2; - warp "job_cru",24,169; - end; + mes "Come back and take"; + mes "the test after you"; + mes "have prepared"; + mes "1 Holy Water."; + mes "I shall be"; + mes "waiting."; + close; } mes "[Bliant Piyord]"; - mes "Prepare 1 ^3355FFHoly Water^000000 to take the battle test. As I've said, it will be used to purify you prior to taking the test."; - next; - mes "[Bliant Piyord]"; - mes "Come back and take"; - mes "the test after you"; - mes "have prepared"; - mes "1 Holy Water."; - mes "I shall be"; - mes "waiting."; + mes "Well then,"; + mes "take your time."; + mes "I shall be waiting."; close; - } - else if(CRUS_Q == 10) { + } + if (CRUS_Q == 10) { + mes "[Bliant Piyord]"; mes "Congratulations."; mes "You have completed"; mes "all the tests to"; @@ -953,6 +1415,8 @@ prt_castle,35,151,5 script Patron Knight 751,{ mes "coming Holy War."; close; } + mes "[Bliant Piyord]"; + mes "Welcome."; mes "Are you not one of the ones in the process of becoming a Crusader?"; next; mes "[Bliant Piyord]"; @@ -968,245 +1432,247 @@ prt_castle,35,151,5 script Patron Knight 751,{ close; } +job_cru,1,1,1 script Summoner#1 107,{ + end; - -//=== Actual tests ======================================== -//=== Endurance Test ====================================== -job_cru,1,1,1 script Summoner#cr1 -1,{ OnTimer300000: - donpcevent "Summoner#cr1::OnReset"; + donpcevent "Summoner#1::OnReset"; end; OnTimer300500: - donpcevent "Summoner#cr1::OnEnd"; + donpcevent "Summoner#1::OnDisable"; end; OnTimer301000: - donpcevent "Summoner#cr1::OnStart"; + donpcevent "Summoner#1::OnEnable"; stopnpctimer; end; OnInit: - enablenpc "Summoner#cr1"; - monster "job_cru",94,45,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,55,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,65,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,75,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,85,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,95,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,45,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,55,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,65,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,75,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,85,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,95,"Mandragora",1020,1,"Summoner#cr1::OnDead"; + hideoffnpc "Summoner#1"; + monster "job_cru",94,45,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,55,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,65,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,75,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,85,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,95,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,45,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,55,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,65,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,75,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,85,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,95,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; initnpctimer; end; -OnStart: - enablenpc "Summoner#cr1"; - monster "job_cru",94,45,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,55,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,65,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,75,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,85,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",94,95,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,45,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,55,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,65,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,75,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,85,"Mandragora",1020,1,"Summoner#cr1::OnDead"; - monster "job_cru",101,95,"Mandragora",1020,1,"Summoner#cr1::OnDead"; +OnEnable: + hideoffnpc "Summoner#1"; + monster "job_cru",94,45,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,55,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,65,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,75,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,85,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",94,95,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,45,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,55,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,65,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,75,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,85,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; + monster "job_cru",101,95,"Mandragora",1020,1,"Summoner#1::OnMyMobDead"; initnpctimer; end; OnReset: - killmonster "job_cru","Summoner#cr1::OnDead"; + killmonster "job_cru","Summoner#1::OnMyMobDead"; end; -OnEnd: - disablenpc "Summoner#cr1"; +OnDisable: + hideonnpc "Summoner#1"; end; -OnDead: +OnMyMobDead: warp "prt_fild05",353,251; end; } -job_cru,1,2,1 script Summoner#cr2 -1,{ +job_cru,1,2,1 script Summoner#2 107,1,1,{ + end; + OnTimer345000: - donpcevent "Summoner#cr2::OnReset"; + donpcevent "Summoner#2::OnReset"; end; OnTimer345500: - donpcevent "Summoner#cr2::OnEnd"; + donpcevent "Summoner#2::OnDisable"; end; OnTimer346000: - donpcevent "Summoner#cr2::OnStart"; + donpcevent "Summoner#2::OnEnable"; stopnpctimer; end; OnInit: - enablenpc "Summoner#cr2"; - monster "job_cru",98,50,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",92,60,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",104,60,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",98,70,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",92,80,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",104,90,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",98,90,"Flora",1118,1,"Summoner#cr2::OnDead"; + hideoffnpc "Summoner#2"; + monster "job_cru",98,50,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",92,60,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",104,60,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",98,70,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",92,80,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",104,80,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",98,90,"Flora",1118,1,"Summoner#2::OnMyMobDead"; initnpctimer; end; -OnStart: - enablenpc "Summoner#cr2"; - monster "job_cru",98,50,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",92,60,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",104,60,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",98,70,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",92,80,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",104,90,"Flora",1118,1,"Summoner#cr2::OnDead"; - monster "job_cru",98,90,"Flora",1118,1,"Summoner#cr2::OnDead"; +OnEnable: + hideoffnpc "Summoner#2"; + monster "job_cru",98,50,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",92,60,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",104,60,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",98,70,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",92,80,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",104,80,"Flora",1118,1,"Summoner#2::OnMyMobDead"; + monster "job_cru",98,90,"Flora",1118,1,"Summoner#2::OnMyMobDead"; initnpctimer; end; OnReset: - killmonster "job_cru","Summoner#cr2::OnDead"; + killmonster "job_cru","Summoner#2::OnMyMobDead"; end; -OnEnd: - disablenpc "Summoner#cr2"; +OnDisable: + hideonnpc "Summoner#2"; end; -OnDead: +OnMyMobDead: warp "prt_fild05",353,251; end; } -job_cru,1,3,1 script Summoner#cr3 -1,{ +job_cru,1,3,1 script Summoner#3 107,1,1,{ + end; + OnTimer345000: - donpcevent "Summoner#cr3::OnReset"; + donpcevent "Summoner#3::OnReset"; end; OnTimer345500: - donpcevent "Summoner#cr3::OnEnd"; + donpcevent "Summoner#3::OnDisable"; end; OnTimer346000: - donpcevent "Summoner#cr3::OnStart"; + donpcevent "Summoner#3::OnEnable"; stopnpctimer; end; OnInit: - enablenpc "Summoner#cr3"; - monster "job_cru",92,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",92,70,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,70,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,80,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",92,90,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,90,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - Initnpctimer; - end; - -OnStart: - enablenpc "Summoner#cr3"; - monster "job_cru",92,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,50,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",92,70,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,70,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,80,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",92,90,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - monster "job_cru",104,90,"Greatest General",1277,1,"Summoner#cr3::OnDead"; - Initnpctimer; + hideoffnpc "Summoner#3"; + monster "job_cru",92,50,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",104,50,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",98,60,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",92,70,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",104,70,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",98,80,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",92,90,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",104,90,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + initnpctimer; + end; + +OnEnable: + hideoffnpc "Summoner#3"; + monster "job_cru",90,50,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",105,50,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",98,60,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",90,70,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",105,70,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",98,80,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",90,90,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + monster "job_cru",105,90,"Greatest General",1277,1,"Summoner#3::OnMyMobDead"; + initnpctimer; end; OnReset: - killmonster "job_cru","Summoner#cr3::OnDead"; + killmonster "job_cru","Summoner#3::OnMyMobDead"; end; -OnEnd: - disablenpc "Summoner#cr3"; +OnDisable: + hideonnpc "Summoner#3"; end; -OnDead: +OnMyMobDead: warp "prt_fild05",353,251; end; } -job_cru,1,4,1 script Summoner#cr4 -1,{ -OnTimer345000: - donpcevent "Summoner#cr4::OnReset"; +job_cru,1,3,1 script Summoner#4 107,1,1,{ end; -OnTimer345500: - donpcevent "Summoner#cr4::OnEnd"; +OnTimer185000: + donpcevent "Summoner#4::OnReset"; end; -OnTimer346000: - donpcevent "Summoner#cr4::OnStart"; +OnTimer185500: + donpcevent "Summoner#4::OnDisable"; + end; + +OnTimer186000: + donpcevent "Summoner#4::OnEnable"; stopnpctimer; end; OnInit: - enablenpc "Summoner#cr4"; - monster "job_cru",98,50,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,55,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,60,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,65,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,70,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,75,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,80,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,85,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,90,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",90,34,"Mushroom",1182,1,"Summoner#cr3::OnDead"; - monster "job_cru",105,34,"Mushroom",1182,1,"Summoner#cr3::OnDead"; + hideoffnpc "Summoner#4"; + monster "job_cru",98,50,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,55,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,60,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,65,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,70,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,75,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,80,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,85,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,90,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",90,34,"Mushroom",1182,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",105,34,"Mushroom",1182,1,"Summoner#4::OnMyMobDead"; initnpctimer; end; -OnStart: - enablenpc "Summoner#cr4"; - monster "job_cru",98,50,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,55,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,60,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,65,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,70,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,75,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,80,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,85,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",98,90,"Familiar",1005,1,"Summoner#cr3::OnDead"; - monster "job_cru",90,34,"Mushroom",1182,1,"Summoner#cr3::OnDead"; - monster "job_cru",105,34,"Mushroom",1182,1,"Summoner#cr3::OnDead"; +OnEnable: + hideoffnpc "Summoner#4"; + monster "job_cru",98,50,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,55,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,60,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,65,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,70,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,75,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,80,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,85,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",98,90,"Familiar",1005,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",90,34,"Mushroom",1182,1,"Summoner#4::OnMyMobDead"; + monster "job_cru",105,34,"Mushroom",1182,1,"Summoner#4::OnMyMobDead"; initnpctimer; end; OnReset: - killmonster "job_cru","Summoner#cr4::OnDead"; + killmonster "job_cru","Summoner#4::OnMyMobDead"; end; -OnEnd: - disablenpc "Summoner#cr4"; +OnDisable: + hideonnpc "Summoner#4"; end; -OnDead: +OnMyMobDead: warp "prt_fild05",353,251; end; } +job_cru,98,105,0 script Summoner#5 45,4,3,{ -job_cru,98,105,4 script Summoner#cr5 45,3,3,{ OnTouch: set CRUS_Q,6; - changequest 3010,3011; warp "prt_castle",164,28; end; } -//=== Purification Test =================================== -job_cru,24,187,4 script Patron Knight#2 751,{ +job_cru,24,187,4 script Patron Knight 751,{ mes "[Bliant Piyord]"; mes "Welcome."; mes "You will take"; @@ -1223,27 +1689,28 @@ job_cru,24,187,4 script Patron Knight#2 751,{ close; } -job_cru,24,187,2 script Waiting Room#cr1 700,{ +job_cru,24,187,2 script Waiting Room#1 700,{ end; OnInit: - disablenpc "Waiting Room#cr1"; - waitingroom "Waiting Room",20,"Waiting Room#cr1::OnStartArena",1; + hideonnpc "Waiting Room#1"; + waitingroom "Waiting Room",20,"Waiting Room#1::OnStartArena",1; enablewaitingroomevent; end; OnStartArena: - warpwaitingpc "job_cru",168,21; - donpcevent "Monster Summon#cr0::OnStart"; + warpwaitingpc "job_cru",168,17; + donpcevent "Monster Summon#0::OnEnable"; disablewaitingroomevent; end; -OnStart: +OnEnable: enablewaitingroomevent; end; } -job_cru,168,17,0 script Zombie Guide -1,2,2,{ +job_cru,168,17,0 script Zombie Guide 139,2,2,{ + OnTouch: mes "[Bliant Piyord]"; mes "Go forth and defeat all"; @@ -1255,202 +1722,218 @@ OnTouch: mes "You will be given"; mes "4 minutes. Go forth"; mes "and do your best..."; - close; + close2; + end; } -job_cru,2,1,1 script Monster Summon#cr0 -1,{ +job_cru,2,1,1 script Monster Summon#0 110,1,1,{ + end; + OnInit: - disablenpc "Monster Summon#cr0"; + hideonnpc "Monster Summon#0"; end; -OnStart: - set .MyMonsterCount,0; - enablenpc "Monster Summon#cr0"; - donpcevent "Monster Summon#cr1::OnStart"; - donpcevent "Monster Summon#cr2::OnStart"; - donpcevent "Monster Summon#cr3::OnStart"; - donpcevent "Monster Summon#cr4::OnStart"; - donpcevent "Monster Summon#cr6::OnStart"; +OnEnable: + hideoffnpc "Monster Summon#0"; + donpcevent "Monster Summon#1::OnEnable"; + donpcevent "Monster Summon#2::OnEnable"; + donpcevent "Monster Summon#3::OnEnable"; + donpcevent "Monster Summon#4::OnEnable"; + donpcevent "Monster Summon#6::OnEnable"; end; -OnMonster1: - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#cr0::OnDead"; +OnM1: + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,45,"Zombie",1015,1,"Monster Summon#0::OnMyMobDead"; end; -OnMonster2: - monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#cr0::OnDead"; +OnM2: + monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#0::OnMyMobDead"; + monster "job_cru",168,80,"Soldier Skeleton",1028,1,"Monster Summon#0::OnMyMobDead"; end; -OnMonster3: - monster "job_cru",168,110,"Archer Skeleton",1016,1,"Monster Summon#cr0::OnDead"; - monster "job_cru",168,115,"Mummy",1041,1,"Monster Summon#cr0::OnDead"; +OnM3: + monster "job_cru",168,115,"Mummy",1041,1,"Monster Summon#0::OnMyMobDead"; end; -OnDead: - set .MyMonsterCount,.MyMonsterCount+1; - if (.MyMonsterCount >= 10) { +OnMyMobDead: + if (mobcount ("job_cru","Monster Summon#0::OnMyMobDead") < 1) { set CRUS_Q,10; changequest 3014,3015; } end; -OnEnd: - disablenpc "Monster Summon#cr0"; +OnDisable: + hideonnpc "Monster Summon#0"; end; OnReset: - killmonster "job_cru","Monster Summon#cr0::OnDead"; + killmonster "job_cru","Monster Summon#0::OnMyMobDead"; end; } -job_cru,168,45,0 script Monster Summon#cr1 -1,15,1,{ -OnInit: - disablenpc "Monster Summon#cr1"; - end; +job_cru,168,45,0 script Monster Summon#1 139,15,1,{ OnTouch: - donpcevent "Monster Summon#cr0::OnMonster1"; - donpcevent "Monster Summon#cr1::OnEnd"; + donpcevent "Monster Summon#0::OnM1"; + donpcevent "Monster Summon#1::OnDisable"; end; -OnStart: - enablenpc "Monster Summon#cr1"; +OnInit: + hideonnpc "Monster Summon#1"; end; -OnEnd: - disablenpc "Monster Summon#cr1"; +OnEnable: + hideoffnpc "Monster Summon#1"; end; -} -job_cru,168,80,0 script Monster Summon#cr2 -1,15,1,{ -OnInit: - disablenpc "Monster Summon#cr2"; +OnDisable: + hideonnpc "Monster Summon#1"; end; +} + +job_cru,168,80,0 script Monster Summon#2 139,15,1,{ OnTouch: - donpcevent "Monster Summon#cr0::OnMonster2"; - donpcevent "Monster Summon#cr2::OnEnd"; + donpcevent "Monster Summon#0::OnM2"; + donpcevent "Monster Summon#2::OnDisable"; end; -OnStart: - enablenpc "Monster Summon#cr2"; +OnInit: + hideonnpc "Monster Summon#2"; end; -OnEnd: - disablenpc "Monster Summon#cr2"; +OnEnable: + hideoffnpc "Monster Summon#2"; end; -} -job_cru,165,115,0 script Monster Summon#cr3 -1,15,1,{ -OnInit: - disablenpc "Monster Summon#cr3"; +OnDisable: + hideonnpc "Monster Summon#2"; end; +} + +job_cru,168,115,0 script Monster Summon#3 139,15,1,{ OnTouch: - donpcevent "Monster Summon#cr0::OnMonster3"; - donpcevent "Monster Summon#cr3::OnEnd"; + monster "job_cru",168,110,"Archer Skeleton",1016,1; + donpcevent "Monster Summon#0::OnM3"; + donpcevent "Monster Summon#3::OnDisable"; end; -OnStart: - enablenpc "Monster Summon#cr3"; +OnInit: + hideonnpc "Monster Summon#3"; end; -OnEnd: - disablenpc "Monster Summon#cr3"; +OnEnable: + hideoffnpc "Monster Summon#3"; end; -} -job_cru,168,150,0 script Monster Summon#cr4 -1,15,1,{ -OnInit: - disablenpc "Monster Summon#cr4"; +OnDisable: + hideonnpc "Monster Summon#3"; end; +} + +job_cru,168,150,0 script Monster Summon#4 139,15,1,{ OnTouch: - monster "job_cru",168,150,strcharinfo(0),1036,1,"Monster Summon#cr4-a::OnDead"; - donpcevent "Monster Summon#cr4::OnEnd"; + monster "job_cru",168,150,"Ghoul",1036,1; + donpcevent "Monster Summon#4::OnDisable"; end; -OnDead: - donpcevent "Monster Summon#cr5::OnStart"; +OnInit: + hideonnpc "Monster Summon#4"; end; -OnStart: - enablenpc "Monster Summon#cr4"; +OnMyMobDead: + donpcevent "Monster Summon#5::OnEnable"; end; -OnReset: - killmonster "job_cru","Monster Summon#cr4-a::OnDead"; +OnEnable: + hideoffnpc "Monster Summon#4"; end; -OnEnd: - disablenpc "Monster Summon#cr4"; +OnReset: + killmonster "job_cru","Monster Summon#4::OnMyMobDead"; end; -} - -job_cru,168,150,0 script Monster Summon#cr4-a -1,{ -OnDead: - donpcevent "Monster Summon#cr5::OnStart"; +OnDisable: + hideonnpc "Monster Summon#4"; end; } -job_cru,168,180,4 script Monster Summon#cr5 45,3,3,{ -OnInit: - disablenpc "Monster Summon#cr5"; - end; +job_cru,168,180,0 script Monster Summon#5 45,4,3,{ OnTouch: warp "prt_castle",35,147; - donpcevent "Monster Summon#cr0::OnReset"; - donpcevent "Monster Summon#cr4::OnReset"; - donpcevent "Monster Summon#cr0::OnEnd"; - donpcevent "Monster Summon#cr4::OnEnd"; - donpcevent "Monster Summon#cr5::OnEnd"; - donpcevent "Monster Summon#cr6::OnStop"; - donpcevent "Monster Summon#cr6::OnEnd"; - donpcevent "Waiting Room#cr1::OnStart"; + donpcevent "Monster Summon#0::OnReset"; + donpcevent "Monster Summon#0::OnDisable"; + donpcevent "Monster Summon#6::OnStop"; + donpcevent "Monster Summon#6::OnDisable"; + donpcevent "Monster Summon#5::OnDisable"; + donpcevent "Waiting Room#1::OnEnable"; + end; + +OnInit: + hideonnpc "Monster Summon#5"; end; -OnStart: - enablenpc "Monster Summon#cr5"; +OnEnable: + hideoffnpc "Monster Summon#5"; end; -OnEnd: - disablenpc "Monster Summon#cr5"; +OnDisable: + hideonnpc "Monster Summon#5"; end; } -job_cru,2,2,1 script Monster Summon#cr6 -1,{ +job_cru,2,2,1 script Monster Summon#6 110,1,1,{ + end; + +OnTimer60000: + donpcevent "Monster Summon#8::OnEnable"; + end; + +OnTimer61000: + donpcevent "Monster Summon#8::OnDisable"; + end; + +OnTimer240000: + donpcevent "Monster Summon#7::OnEnable"; + end; + OnTimer241000: - areawarp "job_cru",160,14,175,178,"job_cru",24,169; - donpcevent "Monster Summon#cr0::OnReset"; - donpcevent "Monster Summon#cr4::OnReset"; - donpcevent "Monster Summon#cr0::OnEnd"; - donpcevent "Monster Summon#cr4::OnEnd"; - donpcevent "Monster Summon#cr5::OnEnd"; - donpcevent "Monster Summon#cr6::OnStop"; - donpcevent "Monster Summon#cr6::OnEnd"; - donpcevent "Waiting Room#cr1::OnStart"; + donpcevent "Monster Summon#0::OnReset"; + donpcevent "Monster Summon#4::OnReset"; + end; + +OnTimer242000: + donpcevent "Monster Summon#0::OnDisable"; + donpcevent "Monster Summon#4::OnDisable"; + donpcevent "Monster Summon#7::OnDisable"; + end; + +OnTimer243000: + donpcevent "Monster Summon#6::OnDisable"; + donpcevent "Waiting Room#1::OnEnable"; + stopnpctimer; end; OnInit: - disablenpc "Monster Summon#cr6"; + hideonnpc "Monster Summon#6"; end; -OnStart: - enablenpc "Monster Summon#cr6"; +OnEnable: + hideoffnpc "Monster Summon#6"; initnpctimer; end; -OnEnd: - disablenpc "Monster Summon#cr6"; +OnDisable: + hideonnpc "Monster Summon#6"; end; OnStop: @@ -1458,28 +1941,40 @@ OnStop: end; } -//============================================================ -// mapflag -//============================================================ +job_cru,168,110,0 script Monster Summon#7 139,14,82,{ -//============================================================ -// Old changelog -//============================================================ -//= Need optimalization and fixing -//= thanks to Komurka, KiLLaLeN, Lupus (fixing error) -//= just a temp Job Quest -//= 1.2 minor fix of announcement by Freya people -//= 1.3 Added Baby Class Support, fixed 40/50 lvl item reward -//= also fixed too common script names [Lupus] -//= 1.3a fixed "dead lock" bugs [Lupus] -//= 1.3b changed monsters ID in patience test [Komurka] -//= 1.4 Fixed Job Level parameters mix-up. [massdriller] (Thanks to Komurka) -//= 1.5 Fixed possible EXP abuse [Lupus] -//= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] -//= 1.7 Updated names and required items, Chivalry Emblem + -//= Hand of God allow to skip item gathering [DracoRPG] -//= 2.0 Changed numbers to constants. [Vicious] -//= 2.1 Fixed endless loop, wrong condition check [Lupus] -//= also changed all job numbers to constants, fixed logic +OnTouch: + warp "prontera",234,318; + end; + +OnInit: + hideonnpc "Monster Summon#7"; + end; + +OnEnable: + hideoffnpc "Monster Summon#7"; + end; + +OnDisable: + hideonnpc "Monster Summon#7"; + end; +} + +job_cru,168,17,0 script Monster Summon#8 139,14,5,{ + +OnTouch: + warp "prontera",234,318; + end; + +OnInit: + hideonnpc "Monster Summon#8"; + end; + +OnEnable: + hideoffnpc "Monster Summon#8"; + end; + +OnDisable: + hideonnpc "Monster Summon#8"; + end; +}
\ No newline at end of file |