diff options
author | Kisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-09-05 07:30:30 +0000 |
---|---|---|
committer | Kisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-09-05 07:30:30 +0000 |
commit | c5b4a8858a9cab1e11ec1e2a5d490172fc7d0afa (patch) | |
tree | 9d96c25fa65eddfca2b985db3eb840ffb8c1b547 /npc/jobs/1-1/merchant.txt | |
parent | 0a4dce9f566ae2a992625acd0f75b565fc37f3b5 (diff) | |
download | hercules-c5b4a8858a9cab1e11ec1e2a5d490172fc7d0afa.tar.gz hercules-c5b4a8858a9cab1e11ec1e2a5d490172fc7d0afa.tar.bz2 hercules-c5b4a8858a9cab1e11ec1e2a5d490172fc7d0afa.tar.xz hercules-c5b4a8858a9cab1e11ec1e2a5d490172fc7d0afa.zip |
- Added some missing quests to quest_db.
- Fixed an issue on some 1-1 job quest log commands.
- Fixed some issues with hair_style. (bugreport:3558)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14041 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/1-1/merchant.txt')
-rw-r--r-- | npc/jobs/1-1/merchant.txt | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/npc/jobs/1-1/merchant.txt b/npc/jobs/1-1/merchant.txt index 06ac821cb..4d0e9fd11 100644 --- a/npc/jobs/1-1/merchant.txt +++ b/npc/jobs/1-1/merchant.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88; L0ne_W0lf //===== Current Version: ===================================== -//= 2.2 +//= 2.3 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -27,6 +27,7 @@ //= 2.0 Should "fix" the problem with the Biliban Kafra. [L0ne_W0lf] //= 2.1 Fixed mistake in condition check. [L0ne_W0lf] //= 2.2 Added Quest Log commands. [L0ne_W0lf] +//= 2.3 Fixed an issue with completequest by adding checkquest. [Kisuka] //============================================================ alberta_in,53,43,6 script Merchant#mer 86,{ @@ -152,10 +153,18 @@ alberta_in,53,43,6 script Merchant#mer 86,{ mes "Congratulations!"; callfunc "Job_Change",Job_Merchant; callfunc "F_ClearJobVar"; - completequest 1009; - completequest 1010; - completequest 1011; - completequest 1012; + if(checkquest(1009) != "-1") { + completequest 1009; + } + else if(checkquest(1010) != "-1") { + completequest 1010; + } + else if(checkquest(1011) != "-1") { + completequest 1011; + } + else { + completequest 1012; + } mes "I'm very pleased that you are joining the Merchant Guild and hope that you will play an active part in Rune-Midgarts' economy."; next; if (quest_alb_01 == 1) { |