summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/rogue.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-2/rogue.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-2/rogue.txt')
-rw-r--r--npc/jobs/2-2/rogue.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt
index cf20d5203..d0b2ba95f 100644
--- a/npc/jobs/2-2/rogue.txt
+++ b/npc/jobs/2-2/rogue.txt
@@ -757,10 +757,10 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
switch(rand(1,3)) {
case 1:
set ROGUE_Q,9;
- if(checkquest(2018) != -1) {
+ if (questprogress(2018)) {
changequest 2018,2022;
}
- else if(checkquest(2019) != -1) {
+ else if (questprogress(2019)) {
changequest 2019,2022;
}
else {
@@ -794,10 +794,10 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
close;
case 2:
set ROGUE_Q,10;
- if(checkquest(2018) != -1) {
+ if (questprogress(2018)) {
changequest 2018,2023;
}
- else if(checkquest(2019) != -1) {
+ else if (questprogress(2019)) {
changequest 2019,2023;
}
else {
@@ -830,10 +830,10 @@ in_rogue,376,23,1 script Mr. Smith#rg 1_M_LIBRARYMASTER,{
close;
case 3:
set ROGUE_Q,11;
- if(checkquest(2018) != -1) {
+ if (questprogress(2018)) {
changequest 2018,2024;
}
- else if(checkquest(2019) != -1) {
+ else if (questprogress(2019)) {
changequest 2019,2024;
}
else {