summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/hunter.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-20 04:20:29 +0200
committerHaru <haru@dotalux.com>2014-10-28 00:27:54 +0100
commit32169c383f2658192b6b8cb02d7f818a361dda03 (patch)
treeff1f1d902920d922b74eb879070e8c9973daa0dd /npc/jobs/2-1/hunter.txt
parent3e395756f10befe9aa0707169d8af7897706eb93 (diff)
downloadhercules-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/hunter.txt')
-rw-r--r--npc/jobs/2-1/hunter.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt
index b1f1f518b..ab163860f 100644
--- a/npc/jobs/2-1/hunter.txt
+++ b/npc/jobs/2-1/hunter.txt
@@ -223,7 +223,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 4_F_JOB_HUNTER,{
mes "shall we begin?";
next;
if (select("Yes~ Let's start now.:No, I'll be back later.") == 1) {
- if(checkquest(4000) == -1) {
+ if (!questprogress(4000)) {
setquest 4000;
}
mes "[Hunter Sherin]";
@@ -556,22 +556,22 @@ hu_in01,382,382,4 script Guild Receptionist#hnt 4_M_JOB_HUNTER,{
mes "[Demon Hunter]";
mes "You brought all of the necessary materials... You can get directions to the testing area from our Guildmaster who is currently in the Payon Central Palace.";
set HNTR_Q,.@items[6];
- if(checkquest(4002) != -1) {
+ if (questprogress(4002)) {
changequest 4002,4009;
}
- else if(checkquest(4003) != -1) {
+ else if (questprogress(4003)) {
changequest 4003,4009;
}
- else if(checkquest(4004) != -1) {
+ else if (questprogress(4004)) {
changequest 4004,4009;
}
- else if(checkquest(4005) != -1) {
+ else if (questprogress(4005)) {
changequest 4005,4009;
}
- else if(checkquest(4006) != -1) {
+ else if (questprogress(4006)) {
changequest 4006,4010;
}
- else if(checkquest(4007) != -1) {
+ else if (questprogress(4007)) {
changequest 4007,4010;
}
else {