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/battleground/tierra/tierra01.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/battleground/tierra/tierra01.txt')
-rw-r--r-- | npc/battleground/tierra/tierra01.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt index 10e2bfc85..2a6d5991a 100644 --- a/npc/battleground/tierra/tierra01.txt +++ b/npc/battleground/tierra/tierra01.txt @@ -73,7 +73,7 @@ bat_a01,352,342,0 script #bat_a01_quest_a -1,5,5,{ end; OnTouch: - if (checkquest(2069) < 0) + if (!questprogress(2069)) setquest 2069; end; } @@ -82,7 +82,7 @@ bat_a01,353,52,0 script #bat_a01_quest_b -1,5,5,{ end; OnTouch: - if (checkquest(2069) < 0) + if (!questprogress(2069)) setquest 2069; end; } @@ -634,16 +634,14 @@ OnTouch: bat_a01,352,342,0 script A_CODE#bat_a01 -1,5,5,{ OnTouch: - set .@chk_bfquest,checkquest(2069); - if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1)) + if (questprogress(2069) == 1) setquest 2069; end; } bat_a01,353,52,0 script B_CODE#bat_a01 -1,5,5,{ OnTouch: - set .@chk_bfquest,checkquest(2069); - if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1)) + if (questprogress(2069) == 1) setquest 2069; end; } |