summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-21 23:39:14 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-21 23:39:14 -0300
commita59d3f7158081d5aa18a238577cc0d971bd68d37 (patch)
treee21fea1305c393e2481173a596b5dbbfadc11586
parent764ff30f3aae0cf28d99b42ecb00fb92a887f1b2 (diff)
downloadserverdata-a59d3f7158081d5aa18a238577cc0d971bd68d37.tar.gz
serverdata-a59d3f7158081d5aa18a238577cc0d971bd68d37.tar.bz2
serverdata-a59d3f7158081d5aa18a238577cc0d971bd68d37.tar.xz
serverdata-a59d3f7158081d5aa18a238577cc0d971bd68d37.zip
Mark the four new Blue Sage Quests as compulsory for Nivalis Ship Discounts.
-rw-r--r--npc/functions/util.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 3bfbd3bea..644954942 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -316,8 +316,24 @@ function script reputation {
if (getq(NivalisQuest_Cindy) >= 5)
.@nr=.@nr+1;
+ // Blue Sage: Investigation Quest (+1 rep)
+ if (getq(NivalisQuest_BlueSage) >= 12)
+ .@nr=.@nr+1;
+
+ // Blue Sage: Slime Hunting Quest (+1 rep)
+ if (getq(NivalisQuest_BlueSageSlimes) >= 12)
+ .@nr=.@nr+1;
+
+ // Blue Sage: Page Makers Quest (+1 rep)
+ if (getq(NivalisQuest_BlueSagePagemaker) >= 12)
+ .@nr=.@nr+1;
+
+ // Blue Sage: Page Finders Quest (+1 rep)
+ if (getq(NivalisQuest_BlueSagePagefinder) >= 12)
+ .@nr=.@nr+1;
+
// NIVALIS Magical Forumula
- .@nr=.@nr*100/2;
+ .@nr=.@nr*100/6;