From 32169c383f2658192b6b8cb02d7f818a361dda03 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 20 Oct 2014 04:20:29 +0200 Subject: Removed use of 'checkquest' from scripts (common folder) Signed-off-by: Haru --- npc/re/cities/malangdo.txt | 2 +- npc/re/cities/malaya.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/re') 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) -- cgit v1.2.3-60-g2f50