diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-23 18:03:38 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-23 18:03:38 +0000 |
commit | 9f0f50396896dc54c53703d1e10ba6460a88b340 (patch) | |
tree | 58716630fbc1273f91e99ce20804d9f0bcd78683 | |
parent | ef078aa470f6bb5b1a3c88939f1aabf5bad13fdf (diff) | |
download | hercules-9f0f50396896dc54c53703d1e10ba6460a88b340.tar.gz hercules-9f0f50396896dc54c53703d1e10ba6460a88b340.tar.bz2 hercules-9f0f50396896dc54c53703d1e10ba6460a88b340.tar.xz hercules-9f0f50396896dc54c53703d1e10ba6460a88b340.zip |
* Fixed error in Megingjard seal quest. (bugreport:2261)
* Applied fix to Hanson in Novice Grounds. (bugreport:1747)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13235 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/Changelog.txt | 4 | ||||
-rw-r--r-- | npc/jobs/novice/novice.txt | 56 | ||||
-rw-r--r-- | npc/quests/seals/megingard_seal.txt | 5 |
3 files changed, 47 insertions, 18 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index a13644fde..dc1be0599 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,6 +1,8 @@ -Date Added +Date Added ====== 2008/09/23 + * Rev. 13233 Fixed error in Megingjard seal quest. (bugreport:2261) [L0ne_W0lf] + * Applied fix to Hanson in Novice Grounds. (bugreport:1747) * Changed some " + name +" to strcharinfo(0) in Brisingamen Seal. [Samuray22] 2008/09/22 * Fixed a little Exploit to bug the Dancer Job Quest. (bugreport:2252) [Samuray22] diff --git a/npc/jobs/novice/novice.txt b/npc/jobs/novice/novice.txt index 71c25f185..0db720198 100644 --- a/npc/jobs/novice/novice.txt +++ b/npc/jobs/novice/novice.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Dr.Evil & MasterOfMuppets //===== Current Version: ===================================== -//= 2.2 +//= 2.3 //===== Compatible With: ===================================== //= eAthena SVN 3422+(Requires jA Script System) //===== Description: ========================================= @@ -20,6 +20,7 @@ //= 2.0 Fixed savepoint not being changed sometimes. [L0ne_W0lf] //= 2.1 Corrected spacing issue in welcome message. [L0ne_W0lf] //= 2.2 Corrected Leo's endless dialog. [L0ne_W0lf] +//= 2.3 Added fix to Hanson from GM-windsor- and Saithis. [L0ne_W0lf] //============================================================ // Bulletin Board @@ -3350,7 +3351,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "izlude_in",74,167; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Swordsman"; end; } } @@ -3423,7 +3424,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "geffen_in",163,98; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Mage"; end; } } @@ -3494,7 +3495,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "alberta_in",62,44; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Merchant"; end; } } @@ -3562,7 +3563,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "moc_ruins",155,44; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Thief"; end; } } @@ -3631,7 +3632,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "payon_in02",64,65; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Archer"; end; } } @@ -3703,7 +3704,7 @@ new_1-4,100,29,1 script Hanson#nv 46,{ warp "prt_church",172,19; end; case 2: - callsub S_UserJobchoice; + callsub S_UserJobchoice,"Acolyte"; end; } } @@ -3837,10 +3838,31 @@ S_UserJobchoice: mes "I see. It's your choice."; mes "There is no obligation to change to the job we recommend. Please choose the job you wish to become."; next; - select("Mage:Merchant:Thief:Archer:Acolyte"); + setarray .@JOBS$[0],"Swordsman","Mage","Merchant","Thief","Archer","Acolyte"; + + for( set .@i,0; .@i < getarraysize(.@JOBS$); set .@i,.@i+1 ) + { + if(.@JOBS$[@i] == getarg(0)) set .@menu$,.@menu$+":"; + else set .@menu$,.@menu$+.@JOBS$[@i]+":"; + } + set .@menu, select(.@menu$) -1; + if( .@JOBS$[.@menu] == "Swordsman" ) set @menu,1; + else if( .@JOBS$[.@menu] == "Mage" ) set @menu,2; + else if( .@JOBS$[.@menu] == "Merchant" ) set @menu,3; + else if( .@JOBS$[.@menu] == "Thief" ) set @menu,4; + else if( .@JOBS$[.@menu] == "Archer" ) set @menu,5; + else if( .@JOBS$[.@menu] == "Acolyte" ) set @menu,6; mes "[Hanson]"; mes "You have chosen"; if (@menu == 1) { + mes "to become a Swordsman."; + mes "You will be sent to"; + mes "the town of Izlude."; + next; + mes "[Hanson]"; + mes "The Swordman Association is located to the Northwest in Izlude. Please remember this."; + } + else if (@menu == 2) { mes "to become a Mage."; mes "You will be sent to"; mes "the town of Geffen."; @@ -3848,12 +3870,12 @@ S_UserJobchoice: mes "[Hanson]"; mes "The Mage Academy is located in the NorthWest in town. Please remember this."; } - else if (@menu == 2) { + else if (@menu == 3) { mes "to become a Merchant."; mes "You will be sent to"; mes "the town of Alberta."; } - else if (@menu == 3) { + else if (@menu == 4) { mes "to become a Thief."; mes "You will be sent to"; mes "the town of Morroc."; @@ -3861,7 +3883,7 @@ S_UserJobchoice: mes "[Hanson]"; mes "The Thief guild is in the underground 1st floor of a pyramid which is NorthWest of town. Please remember this."; } - else if (@menu == 4) { + else if (@menu == 5) { mes "to become an Archer."; mes "You will be sent to"; mes "the town of Payon."; @@ -3922,19 +3944,23 @@ S_UserJobchoice: set nov_3_magician,0; set nov_3_acolyte,0; set nov_3_merchant,0; - if (@menu == 1) { + if(@menu == 1) { + savepoint "izlude",93,104; + warp "izlude_in",74,167; + } + else if (@menu == 2) { savepoint "geffen",119,37; warp "geffen_in",163,98; } - else if (@menu == 2) { + else if (@menu == 3) { savepoint "alberta",30,232; warp "alberta_in",62,44; } - else if (@menu == 3) { + else if (@menu == 4) { savepoint "morocc",150,99; warp "moc_ruins",155,44; } - else if (@menu == 4) { + else if (@menu == 5) { savepoint "payon",70,100; warp "payon_in02",64,65; } diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index 2b0e6a9ad..8696089ce 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= SinSloth //===== Current Version: ===================================== -//= 1.5 +//= 1.6 //===== Compatible With: ===================================== //= eAthena //===== Description: ========================================= @@ -15,6 +15,7 @@ //= 1.3 Updated several aspects of the script. [L0ne_W0lf] //= 1.4 Minor Touchups to quest. [L0ne_W0lf] //= 1.5 Fixed missing close2 in Rebarev Doug. [L0ne_w0lf] +//= 1.6 Corrected mismatched variables. [L0ne_W0lf] //============================================================ prt_castle,44,151,0 script Rebarev Doug 56,{ @@ -1136,7 +1137,7 @@ prt_in,172,106,0 script Librarian#megin 833,{ mes "Please do not use"; mes "capital letters.^000000"; next; - input @str$; + input .@input$; if (compare(.@input$,"crusader") == 1) { mes "^663300[Keyword: ^996633Crusader^663300]"; mes "Crusaders are warriors preparing for the upcoming Holy War against Evil. Experienced swordsmen, usually with remarkable spiritual prowess.^000000"; |