diff options
author | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-28 16:41:45 +0000 |
---|---|---|
committer | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-28 16:41:45 +0000 |
commit | a729ad911231464e843883b14b765eb7a3185f55 (patch) | |
tree | 124d58f6028df448237b9271919c942653b01389 /npc/jobs | |
parent | c14f77fca09ba5adbead00201b6660ae4cc88cb0 (diff) | |
download | hercules-a729ad911231464e843883b14b765eb7a3185f55.tar.gz hercules-a729ad911231464e843883b14b765eb7a3185f55.tar.bz2 hercules-a729ad911231464e843883b14b765eb7a3185f55.tar.xz hercules-a729ad911231464e843883b14b765eb7a3185f55.zip |
Fixed issue in niflheim quest where the script set a variable not related to the quest at all (bugreport:4104).
Added check in Knight job change test to prevent repeating the quest (bugreport:4099).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs')
-rw-r--r-- | npc/jobs/2-1/knight.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt index d8b33b285..9d4dca8ff 100644 --- a/npc/jobs/2-1/knight.txt +++ b/npc/jobs/2-1/knight.txt @@ -1223,14 +1223,18 @@ prt_in,79,94,4 script Sir Windsor#knt 733,{ mes ".....What?"; next; } - else + else { set .@mes$,"I want to try again!:..."; + next; + } if (select(.@mes$) == 1) { mes "[Sir Windsor]"; mes "..."; next; set KNIGHT_Q,7; - changequest 9004,9005; + if (checkquest(9004) != -1) { + changequest 9004,9005; + } mes "[Sir Windsor]"; mes "..."; mes "......"; |