diff options
author | Sirius <zopokx@gmail.com> | 2013-05-26 16:43:46 -0700 |
---|---|---|
committer | Sirius <zopokx@gmail.com> | 2013-05-26 16:43:46 -0700 |
commit | f68d0c0b7c7c2285c03d9546ecf7121be3b3875c (patch) | |
tree | a89396322bb0782fbcae2a54a3a5704f7e4c07d7 /npc | |
parent | bcc26308706af5ac48953ad3904c9886752aafa2 (diff) | |
download | hercules-f68d0c0b7c7c2285c03d9546ecf7121be3b3875c.tar.gz hercules-f68d0c0b7c7c2285c03d9546ecf7121be3b3875c.tar.bz2 hercules-f68d0c0b7c7c2285c03d9546ecf7121be3b3875c.tar.xz hercules-f68d0c0b7c7c2285c03d9546ecf7121be3b3875c.zip |
Thanks to Euphy for pointing out a problem with the level check that shouldn't be at beginning of the script.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/re/quests/eden/56-70.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt index 95b62955d..4bf3f9863 100644 --- a/npc/re/quests/eden/56-70.txt +++ b/npc/re/quests/eden/56-70.txt @@ -20,10 +20,6 @@ moc_para01,42,38,3 script Mission [56 - 70] 857,{ mes "To get these missions, I need to Join the Eden Group first. I must find Secretary Lime Evenor and become a member."; close; } - if ((BaseLevel < 56) && (BaseLevel > 70)) { - mes "These missions are not fit for my level. I should look for other missions."; - close; - } mes "Here is the list of various adventures for level 56~70 adventurers."; next; mes "Lots of missions such as a Monster Hunting, Delivery Goods, Finding People."; @@ -65,6 +61,10 @@ L_Quest: mes "Would you like to accept this mission?"; next; if(select("Accept the mission.:Do not accept the mission.") == 2) { + if ((BaseLevel < 56) && (BaseLevel > 70)) { + mes "These missions are not fit for my level. I should look for other missions."; + close; + } setquest getarg(0); mes "I have successfully accepted the mission. I have to come back and confirm my work after I complete the mission."; next; @@ -97,6 +97,10 @@ L_HuntingQuest: mes "Would you like to accept this mission?"; next; if(select("Accept the mission.:Do not accept the mission.") == 2) { + if ((BaseLevel < 56) && (BaseLevel > 70)) { + mes "These missions are not fit for my level. I should look for other missions."; + close; + } setquest getarg(0); mes "I have successfully accepted the mission. I have to come back and confirm my work after I complete the mission."; next; |