diff options
author | Haru <haru@dotalux.com> | 2014-10-20 04:20:29 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-28 00:27:54 +0100 |
commit | 32169c383f2658192b6b8cb02d7f818a361dda03 (patch) | |
tree | ff1f1d902920d922b74eb879070e8c9973daa0dd /npc/jobs/2-1/knight.txt | |
parent | 3e395756f10befe9aa0707169d8af7897706eb93 (diff) | |
download | hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.gz hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.bz2 hercules-32169c383f2658192b6b8cb02d7f818a361dda03.tar.xz hercules-32169c383f2658192b6b8cb02d7f818a361dda03.zip |
Removed use of 'checkquest' from scripts (common folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/jobs/2-1/knight.txt')
-rw-r--r-- | npc/jobs/2-1/knight.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt index da1d8a8e4..62fd03aaf 100644 --- a/npc/jobs/2-1/knight.txt +++ b/npc/jobs/2-1/knight.txt @@ -1109,7 +1109,7 @@ prt_in,79,94,4 script Sir Windsor#knt 4_M_JOB_KNIGHT1,{ mes "..."; next; set KNIGHT_Q,7; - if (checkquest(9004) != -1) { + if (questprogress(9004)) { changequest 9004,9005; } mes "[Sir Windsor]"; @@ -1126,7 +1126,8 @@ prt_in,79,94,4 script Sir Windsor#knt 4_M_JOB_KNIGHT1,{ mes "...This way."; } close2; - if(checkquest(9006) == -1) changequest 9005,9006; + if (!questprogress(9006)) + changequest 9005,9006; warp "job_knt",89,101; end; } @@ -1416,7 +1417,7 @@ OnMyMobDead: mes "Amy Beatrice now."; close2; set KNIGHT_Q,8; - if(checkquest(9007) == -1) { + if (!questprogress(9007)) { changequest 9006,9007; } warp "prt_in",80,100; @@ -1544,7 +1545,8 @@ prt_in,69,107,6 script Lady Amy#knt 4_F_JOB_KNIGHT,{ mes "come to Amy?"; next; if (select("Sir Windsor told me to--:Oh, nothing.") == 1) { - if(checkquest(9008) == -1) changequest 9007,9008; + if (!questprogress(9008)) + changequest 9007,9008; mes "[Lady Amy]"; mes "Oh!"; mes "No need to say"; |