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/instances/OctopusCave.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/instances/OctopusCave.txt')
-rw-r--r-- | npc/re/instances/OctopusCave.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt index 43c2ac66f..cbf45e5f1 100644 --- a/npc/re/instances/OctopusCave.txt +++ b/npc/re/instances/OctopusCave.txt @@ -76,8 +76,8 @@ mal_dun01,151,235,5 script Starfish 4_ASTER,{ next; break; case 2: - set .@playtime, checkquest(4197,PLAYTIME); - if (.@playtime == 0 || .@playtime == 1) { + .@playtime = questprogress(4197,PLAYTIME); + if (.@playtime == 1) { mes "[Starfish]"; mes "Octopus is not around now, hehe."; mes "Please come back later."; @@ -130,7 +130,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{ case 1: if (countitem(6442)) { if (has_instance("1@cash") == "") { - if (checkquest(4197,PLAYTIME) == 0 || checkquest(4197,PLAYTIME) == 1) { + if (questprogress(4197,PLAYTIME) == 1) { mes "[Starfish]"; mes "Ah, now is not the time..."; mes "Would you come back later? Hehe."; @@ -143,7 +143,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{ close; } mapannounce "mal_dun01", getpartyname(getcharid(1))+" party's "+strcharinfo(0)+" member started to hunt the Octopus!",bc_map,"0x00ff99"; - if (checkquest(4197) == -1) setquest 4197; + if (!questprogress(4197)) setquest 4197; warp "1@cash",199,99; end; } |