From 65b3428fad4d6371253e8492cb1d1149eefafbb1 Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Sat, 1 Mar 2008 17:05:27 +0000 Subject: Resolves bugreport:1025, bugreport:1062, bugreport:1077 and bugreport:1078. :P git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12275 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/quests_louyang.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'npc/quests/quests_louyang.txt') diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index d2f1514d3..a2f6887cc 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Evera and The eAthena Dev Team //===== Current Version: ===================================== -//= 1.7 +//= 1.8 //===== Compatible With: ===================================== //= eAthena 1.0 //===== Description: ========================================= @@ -28,6 +28,7 @@ //= quest progress from the old scripts. //= 1.7 Added missing checkweights. And corrected [L0ne_W0lf] //= a typo in Poison King quest. +//= 1.8 Bug fixes. (bugreport:1025 bugreport:1062) [L0ne_Wplf] //============================================================ // Soup Quest @@ -361,7 +362,6 @@ lou_in02,62,183,3 script Chef#1-2 820,2,2,{ close; OnTouch: - set rand(1,10),rand(1,10); if (ch_tre == 2 || ch_tre == 3) { if (gettime(3) >= 10 && gettime(3) < 14) { if (rand(1,10) < 9) { @@ -2417,12 +2417,13 @@ lou_in02,203,159,0 warp Storage Warp#4 1,1,louyang,129,118 //============================================================ lou_in02,123,39,4 script Poison King#lou 824,{ // Attempt to preserve prior quest progress. - if (QL_POISONKING <= 12) set ch_poison,QL_POISONKING; - else if (QL_POISONKING == 16) set ch_poison,19; - else if (QL_POISONKING >= 17) set ch_poison,20; - // Remove outdated variable. - set QL_POISONKING,0; - + if (ch_poison == 0 && CL_POISONKING != 0) { + if (QL_POISONKING <= 12) set ch_poison,QL_POISONKING; + else if (QL_POISONKING == 16) set ch_poison,19; + else if (QL_POISONKING >= 17) set ch_poison,20; + // Remove outdated variable. + set QL_POISONKING,0; + } if (checkweight(1201,1) == 0) { mes "^3355FF * Wait a minute! *"; mes "Right now, you are carrying too many items with you. Please place some of your items into Kafra Storage and try again.^000000"; @@ -3072,7 +3073,7 @@ lou_in02,123,39,4 script Poison King#lou 824,{ mes "my worst memories."; next; set ch_poison,1; - if (BaseCalss == Job_Thief) { + if (BaseClass == Job_Thief) { mes "[Nagash Arses]"; mes "Ah, you look just like I did when"; mes "I was young. It seems you know"; -- cgit v1.2.3-60-g2f50