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/quests/eden/41-55.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/quests/eden/41-55.txt')
-rw-r--r-- | npc/re/quests/eden/41-55.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt index eb1c22e42..7898060b5 100644 --- a/npc/re/quests/eden/41-55.txt +++ b/npc/re/quests/eden/41-55.txt @@ -22,7 +22,7 @@ moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{ mes "You cannot receive any more items because you're carrying too many items. Please try again after you lighten up.^000000"; close; } - if (checkquest(12088) == -1) { + if (!questprogress(12088)) { if (BaseLevel < 41 || BaseLevel > 55) { mes "Mission bulletin board for Lv41~55 adventurers."; close; @@ -56,7 +56,7 @@ moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{ } setarray .@exp[0],9600,7200,15750,7875,11100,8550,17100,9000,12300,9900,20250,10350,13800,11025,22500,11250; for(set .@i,0; .@i<16; set .@i,.@i+1) - if (checkquest(12072+.@i,HUNTING) == 2) { + if (questprogress(12072+.@i,HUNTING) == 2) { mes "[Mission Board]"; mes "You have completed the mission."; mes "Here is your reward."; @@ -66,7 +66,10 @@ moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{ getexp .@exp[.@i],0; close; } - if ((checkquest(12072,HUNTING) == 0) && (checkquest(12073,HUNTING) == 0) && (checkquest(12074,HUNTING) == 0) && (checkquest(12075,HUNTING) == 0) && (checkquest(12076,HUNTING) == 0) && (checkquest(12077,HUNTING) == 0) && (checkquest(12078,HUNTING) == 0) && (checkquest(12079,HUNTING) == 0) && (checkquest(12080,HUNTING) == 0) && (checkquest(12081,HUNTING) == 0) && (checkquest(12082,HUNTING) == 0) && (checkquest(12083,HUNTING) == 0) && (checkquest(12084,HUNTING) == 0) && (checkquest(12085,HUNTING) == 0) && (checkquest(12086,HUNTING) == 0) && (checkquest(12087,HUNTING) == 0)) { + if (!questprogress(12072,HUNTING) && !questprogress(12073,HUNTING) && !questprogress(12074,HUNTING) && !questprogress(12075,HUNTING) + && !questprogress(12076,HUNTING) && !questprogress(12077,HUNTING) && !questprogress(12078,HUNTING) && !questprogress(12079,HUNTING) + && !questprogress(12080,HUNTING) && !questprogress(12081,HUNTING) && !questprogress(12082,HUNTING) && !questprogress(12083,HUNTING) + && !questprogress(12084,HUNTING) && !questprogress(12085,HUNTING) && !questprogress(12086,HUNTING) && !questprogress(12087,HUNTING)) { mes "You may now view the bulletin board."; erasequest 12088; close; |