summaryrefslogtreecommitdiff
path: root/npc/012-2/rakinorf.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-14 16:00:01 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-14 16:00:01 -0200
commit1dab71476e7fa493966b8e389e3a8c9f3a3616ee (patch)
tree13520d64685e39060563eccdbe336d39644ddf40 /npc/012-2/rakinorf.txt
parentd7b6cf2e133e1bf2ed70368df929dd53bcf04fe5 (diff)
downloadserverdata-1dab71476e7fa493966b8e389e3a8c9f3a3616ee.tar.gz
serverdata-1dab71476e7fa493966b8e389e3a8c9f3a3616ee.tar.bz2
serverdata-1dab71476e7fa493966b8e389e3a8c9f3a3616ee.tar.xz
serverdata-1dab71476e7fa493966b8e389e3a8c9f3a3616ee.zip
Introduce a new helper for main storyline: msObjective().
Diffstat (limited to 'npc/012-2/rakinorf.txt')
-rw-r--r--npc/012-2/rakinorf.txt20
1 files changed, 4 insertions, 16 deletions
diff --git a/npc/012-2/rakinorf.txt b/npc/012-2/rakinorf.txt
index 23fac1ed3..90aedfde1 100644
--- a/npc/012-2/rakinorf.txt
+++ b/npc/012-2/rakinorf.txt
@@ -238,25 +238,13 @@ L_MainStory:
case 8:
mesc b(l(".:: Main Quest 2-2 ::.")), 3;
- if (BaseLevel >= 40)
- mesc l("* @@/@@ Base Level", BaseLevel, 40), 2;
- else
- mesc l("* @@/@@ Base Level", BaseLevel, 40), 9;
+ msObjective(BaseLevel >= 40, l("* @@/@@ Base Level", BaseLevel, 40));
- if (JobLevel >= 15)
- mesc l("* @@/@@ Job Level", JobLevel, 15), 2;
- else
- mesc l("* @@/@@ Job Level", JobLevel, 15), 9;
+ msObjective(JobLevel >= 15, l("* @@/@@ Job Level", JobLevel, 15));
- if (countitem(Scythe))
- mesc l("* @@/@@ @@", countitem(Scythe), 1, getitemlink(Scythe)), 2;
- else
- mesc l("* @@/@@ @@", countitem(Scythe), 1, getitemlink(Scythe)), 9;
+ msObjective(countitem(Scythe), l("* @@/@@ @@", countitem(Scythe), 1, getitemlink(Scythe)));
- if (getq(HurnscaldQuest_BloodDonor))
- mesc l("* Donate blood at least once."), 2;
- else
- mesc l("* Donate blood at least once."), 9;
+ msObjective(getq(HurnscaldQuest_BloodDonor), l("* Donate blood at least once."));
next;
if (BaseLevel >= 40 &&