From 27ca3344ff39d80a9fc476f055694999a9ba0033 Mon Sep 17 00:00:00 2001 From: skyleo Date: Mon, 8 Aug 2016 16:02:17 +0200 Subject: Fixed wrong requirements for Crazy Uproar Quest. Alchemists & Blacksmiths needed to be JLVL 15 or higher. --- npc/quests/skills/merchant_skills.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt index 8a187f70f..ee84bd837 100644 --- a/npc/quests/skills/merchant_skills.txt +++ b/npc/quests/skills/merchant_skills.txt @@ -36,7 +36,7 @@ //================= Description =========================================== //= Quests for skills: Crazy Uproar, Change Cart, Cart Revolution //================= Current Version ======================================= -//= 1.8 +//= 1.9 //========================================================================= alberta,83,96,5 script Necko 4W_M_02,7,7,{ @@ -65,7 +65,7 @@ alberta,83,96,5 script Necko 4W_M_02,7,7,{ mes "Ppyakikakikakakakakakakaka!!"; close; } - else if (JobLevel < 15) { + else if (BaseJob == Job_Merchant && JobLevel < 15) { mes "[Necko]"; mes "Oh, did you come because"; mes "you are infatuated with my voice?"; @@ -86,7 +86,7 @@ alberta,83,96,5 script Necko 4W_M_02,7,7,{ mes "Kyukwakakakakakakakakakaka!"; close; } - else if ((countitem(Scarlet_Jewel) > 6) && (countitem(Banana_Juice) > 0) && (countitem(Mushroom_Spore) > 49) && (JobLevel >= 15 || (BaseJob == Job_Blacksmith || BaseJob == Job_Alchemist))) { + else if ((countitem(Scarlet_Jewel) > 6) && (countitem(Banana_Juice) > 0) && (countitem(Mushroom_Spore) > 49)) { mes "[Necko]"; mes "Oh! You!"; mes "You are qualified to learn how to shout!"; -- cgit v1.2.3-70-g09d2 From 06911c55eb6a4fdecc2102541cb7cad51ada4a64 Mon Sep 17 00:00:00 2001 From: skyleo Date: Mon, 8 Aug 2016 16:06:38 +0200 Subject: Added missing changequest at one quest route in Luoyang Doctor Quest. (Questlog wouldn't be cleaned before) --- npc/quests/quests_louyang.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index 21e56ee25..fad528368 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -1429,6 +1429,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{ mes "^3355FF10 Sprout^000000 and"; mes "^3355FF5 Honey Pot^000000."; ch_par = 17; + changequest 11056,11057; close; } else if (ch_par == 17) { -- cgit v1.2.3-70-g09d2 From fff97f21f78ded9a3a2e1b904075d4b645c775c0 Mon Sep 17 00:00:00 2001 From: skyleo Date: Mon, 8 Aug 2016 16:15:45 +0200 Subject: Fixed a variable name typo that Kafra Headquarter's Potato Trader always enter you into the lottery. And fixed a scope typo that broke the correct display of a menu. --- npc/cities/aldebaran.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt index 7cd989574..e7ebe9141 100644 --- a/npc/cities/aldebaran.txt +++ b/npc/cities/aldebaran.txt @@ -36,7 +36,7 @@ //================= Description =========================================== //= Aldebaran Town NPCs //================= Current Version ======================================= -//= 2.3 +//= 2.4 //========================================================================= //== Aldebaran ============================================= @@ -1098,7 +1098,7 @@ aldeba_in,79,161,6 script Kafra#04 4_F_KAFRA3,{ .@list$ = ""; .@numitemchoices = 0; for (.@i = 0; .@i < getarraysize(.@choices) - 3; .@i += 3) { // Skip the last entry as it's handled separately - .@list$ += .@choices[i] + "- " + getitemname(.@choices[.@i+1]) + " " + .@choices[.@i+2] + " ea:"; + .@list$ += .@choices[.@i] + "- " + getitemname(.@choices[.@i+1]) + " " + .@choices[.@i+2] + " ea:"; ++.@numitemchoices; } .@list$ += .@choices[.@i] + "- " + .@ordinal$ + " Lottery Chance!:" + .@changepage$ +":Cancel"; @@ -1111,7 +1111,7 @@ aldeba_in,79,161,6 script Kafra#04 4_F_KAFRA3,{ continue; } RESRVPTS -= .@choices[.@chosen * 3]; - if (.@chosen < .@numitemchances) { + if (.@chosen < .@numitemchoices) { // Item mes "[Kafra]"; mes "Here you are."; -- cgit v1.2.3-70-g09d2