summaryrefslogtreecommitdiff
path: root/npc/re/cities
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/re/cities
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/re/cities')
-rw-r--r--npc/re/cities/malangdo.txt2
-rw-r--r--npc/re/cities/malaya.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt
index e8cfdb615..5a651c090 100644
--- a/npc/re/cities/malangdo.txt
+++ b/npc/re/cities/malangdo.txt
@@ -19,7 +19,7 @@
// Malangdo Transportation :: malangdo_go
//============================================================
- script Dolangmal -1,{
- if (checkquest(5091) == -1) {
+ if (!questprogress(5091)) {
mes "[Dolangmal]";
mes "Hey~! Hi human~ This is Mr. Dolangmal. kakaka~";
next;
diff --git a/npc/re/cities/malaya.txt b/npc/re/cities/malaya.txt
index da19e67c5..54064d8a5 100644
--- a/npc/re/cities/malaya.txt
+++ b/npc/re/cities/malaya.txt
@@ -222,7 +222,7 @@ OnTouch:
if (getcharid(0) == getpartyleader(getcharid(1),2))
set .@pass,1;
} else if (.@i%4 == 3) {
- if (checkquest(4229,PLAYTIME) > -1 && checkquest(9223,PLAYTIME) > -1 && checkquest(12278,PLAYTIME) > -1)
+ if (questprogress(4229,PLAYTIME) && questprogress(9223,PLAYTIME) && questprogress(12278,PLAYTIME))
set .@pass,1;
} else if (.@i%4 == 0) {
if (rand(1,100)%10 == 7)