diff options
author | Haru <haru@dotalux.com> | 2014-10-21 21:03:46 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-28 00:28:47 +0100 |
commit | bba3e690de390f1576d70f227f76b4721ac3a010 (patch) | |
tree | 5849259e9174eab76b65079f5617d4e509f099d1 /npc/re/jobs/repair.txt | |
parent | 88929e74e284e649eb32b2a923f819c35ecccbf6 (diff) | |
download | hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.gz hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.bz2 hercules-bba3e690de390f1576d70f227f76b4721ac3a010.tar.xz hercules-bba3e690de390f1576d70f227f76b4721ac3a010.zip |
Removed use of 'checkquest' from scripts (re folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/jobs/repair.txt')
-rw-r--r-- | npc/re/jobs/repair.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/re/jobs/repair.txt b/npc/re/jobs/repair.txt index 184f7071f..58d2489e4 100644 --- a/npc/re/jobs/repair.txt +++ b/npc/re/jobs/repair.txt @@ -169,7 +169,7 @@ prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{ L_Second: if (getd(getarg(0)) != 0) { setd getarg(0),0; - if (checkquest(getarg(1)) == 2) + if (questprogress(getarg(1)) == 2) erasequest getarg(1); mes "[Valerie]"; mes "I will help clear your problems for you that came from your former attempts."; @@ -184,15 +184,15 @@ L_Third: if (getd(getarg(0)) != 0) { setd getarg(0),0; if (getarg(1)) { - if (checkquest(getarg(1)) == 2) + if (questprogress(getarg(1)) == 2) erasequest getarg(1); } for(set .@i,getarg(2); .@i<=getarg(3); set .@i,.@i+1) { - if (checkquest(.@i) > -1) + if (questprogress(.@i)) erasequest .@i; } if (getarg(4,0)) { - if (checkquest(getarg(4)) > -1) + if (questprogress(getarg(4))) erasequest getarg(4); } mes "[Valerie]"; |