From 5f686a30412eefcfaebbd1fe72e83dcaca21ce19 Mon Sep 17 00:00:00 2001 From: Lupus Date: Sun, 8 Jun 2008 12:53:48 +0000 Subject: fixed 4 bugs in Blacksmith job quest, put some garbage var to clear. Fixed a typo in Bard Job q git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12791 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 2 ++ npc/jobs/2-1/blacksmith.txt | 32 ++++++++++++-------------------- npc/jobs/2-2/bard.txt | 2 +- npc/other/Global_Functions.txt | 6 +++++- 4 files changed, 20 insertions(+), 22 deletions(-) diff --git a/npc/Changelog.txt b/npc/Changelog.txt index a0bfd1060..67da23168 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,6 +1,8 @@ Date Added ====== + 2008/06/08 + * Fixed 4 bugs: blacksmith.txt. Added a garbage variable to F_ClearGarbage [Lupus] * Fixed one of Einbroch (east) kafras not displaying a name, bugreport:857 * Fixed Engel giving back 7 Sobbing Starlight on failing to refine it, bugreport:1473 * Removed duplicated quest warp portal on /warps/dungeons/juperos.txt, bugreport:1486 diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt index c7721045f..48685f3f3 100644 --- a/npc/jobs/2-1/blacksmith.txt +++ b/npc/jobs/2-1/blacksmith.txt @@ -7,7 +7,7 @@ //= Optimized and further edited by kobra_k88. //= Further bugfixed and tested by Lupus //===== Current Version: ===================================== -//= 2.5 +//= 2.6 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -36,6 +36,7 @@ //= 2.4d Fixed an incorrect answer in the quiz. (Trojal) [L0ne_W0lf] //= 2.4e Touched up a few issues as pointed out by Ultramage. [L0ne_W0lf] //= 2.5 Krongast is in Lighthalzen. (DarkValmir) [L0ne_W0lf] +//= 2.6 Fixed 4 bugs [Lupus] //============================================================== ein_in01,18,28,4 script Guildsman#BLS 731,{ @@ -317,7 +318,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ next; if (select("Yes.:Um, can I have some time to prepare?") == 1) { L_AskQuestions: - if (rand(1)) { + if (rand(2)) { mes "[Geschupenschte]"; mes "1. Which one of the following regions is matched incorrectly"; mes "with its specialty item?"; @@ -527,7 +528,7 @@ L_AskQuestions: mes "Well, to make"; mes "this you will need..."; next; - switch(rand(1,6)) { + switch(rand(1,5)) { //Steel, Rotten_Bandage, Blue_Gemstone, Arc_Wand case 1: setarray .@items[0], 999,1, 930,1, 717,2, 1610,1, 4; break; //Sparkling_Dust, Skel_Bone, Zargon, Gladius @@ -552,14 +553,6 @@ L_AskQuestions: mes "Collecting these items will be your test. Coincidentally, it's also a bit of a good way for me to save money. I'll repeat what you'll need to bring back to me..."; next; mes "[Geschupenschte]"; - mes "^8E6B23"+.@items[1]+" "+getitemname(.@items[0])+"^000000,"; - mes "^8E6B23"+.@items[3]+" "+getitemname(.@items[2])+"^000000,"; - mes "^8E6B23"+.@items[5]+" "+getitemname(.@items[4])+"^000000, and"; - mes "^8E6B23"+.@items[7]+" "+getitemname(.@items[6])+"^000000, the kind"; - mes "you can buy from"; - mes "an NPC shop."; - next; - mes "[Geschupenschte]"; mes "Okay~"; mes "Good luck"; mes "on your first job!"; @@ -1000,7 +993,7 @@ morocc,27,112,4 script Wickebine#BLS 725,{ mes "Tell him I'm satisfied with the quality of the workmanship."; next; getitem 1073,1; //Merchant_Voucher_1 - Emotion e_lv; + emotion e_lv; mes "[Wickebine]"; mes "Here's the receipt."; mes "I think you did"; @@ -1011,7 +1004,7 @@ morocc,27,112,4 script Wickebine#BLS 725,{ end; } else if (BSMITH_Q == 14) { - Emotion e_lv; + emotion e_lv; cutin "Job_Black_hucke02",2; mes "[Wickebine]"; mes "Thanks for the delivery."; @@ -1037,7 +1030,7 @@ morocc,27,112,4 script Wickebine#BLS 725,{ mes "[Wickebine]"; mes "How long does it take for something to ship from Geschupenschte? Usually, the Geffen Blacksmith Guild is pretty prompt..."; next; - Emotion e_lv; + emotion e_lv; mes "[Wickebine]"; mes "Ooohh..."; mes "This is very"; @@ -1299,7 +1292,7 @@ hugel,168,183,1 script Bismarc#BLS 118,{ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{ if (BSMITH_Q == 16) { - Emotion e_hmm; + emotion e_hmm; mes "[Mitehmaeeuh]"; mes "Oh...so you're the one who wants to be a blacksmith?"; mes "Nice, heh heh."; @@ -1317,8 +1310,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{ mes "you fail. And I won't"; mes "tell you what you missed."; next; - set wizard_m2,rand(1,3); - set blackss_te,0; + set .@blackss_te,0; mes "[Mitehmaeeuh]"; mes "Please listen"; mes "and answer carefully..."; @@ -1457,7 +1449,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{ next; mes "[Mitehmaeeuh]"; mes "You earned"; - mes .@blackss_te +" points..."; + mes ""+ .@blackss_te +" points..."; if (.@blackss_te > 70) { mes "Very nice!"; mes "Congratulations!"; @@ -1487,7 +1479,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{ close; } else if (BSMITH_Q == 17) { - Emotion e_hmm; + emotion e_hmm; mes "[Mitehmaeeuh]"; mes "Yeap, you just passed the Blacksmith job test~"; next; @@ -1502,7 +1494,7 @@ ein_in01,24,41,5 script Blacksmith Guildsman#moc 726,{ close; } else { - Emotion e_hmm; + emotion e_hmm; mes "[Mitehmaeeuh]"; mes "I had to deal with the heat when I was in Morroc,"; mes "and now I have to deal with the smog in this Einbroch!"; diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt index d9e03963e..5df84f449 100644 --- a/npc/jobs/2-2/bard.txt +++ b/npc/jobs/2-2/bard.txt @@ -94,7 +94,7 @@ comodo,226,123,5 script Wandering Bard 741,{ cutin "job_bard_aiolo01",2; mes "[Lalo]"; if (sex) mes "Hi! Delightful Archer."; - else mes "Hello! Beautif ul Archer Lady."; + else mes "Hello! Beautiful Archer Lady."; mes "How can a wanderer like me help you?"; next; switch(select("You have a nice voice.:Could you sing for me, please?:Nothing.")) { diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index a5736fe77..260a1f755 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Lupus, kobra_k88 //===== Current Version: ===================================== -//= 2.12 +//= 2.13 //===== Compatible With: ===================================== //= eAthena 1.0 //===== Description: ========================================= @@ -35,6 +35,7 @@ //= 2.10a Removed function F_CheckMaxCount. Not needed. [L0ne_W0lf] //= 2.11 Updated function Job_Change to jobchange based on Upper value. [Paradox924X] //= 2.12 Added more unused vars to F_ClearGarbage [Lupus] +//= 2.13 Added more unused vars to F_ClearGarbage [Lupus] //============================================================ @@ -94,6 +95,9 @@ function script F_ClearGarbage { set RES_SKILL,0; //Here you put outdated variables from your outdated EVENTS //e.g. Is XMAS done? Add the EVENT var clearing code here. + + //due to bugs in BS quest: + set wizard_m2,0; return; } -- cgit v1.2.3-60-g2f50