summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-16 07:58:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-16 07:58:28 -0300
commit2f08e400a3d77d0b196ad42ebbf05d7bb19c3b40 (patch)
tree0821f382430cacd3caed03228eeb3fe48b480aa1 /npc/functions
parent60e768c0cbc4c0671cb2da8113ef4ca980ccd8fd (diff)
downloadserverdata-2f08e400a3d77d0b196ad42ebbf05d7bb19c3b40.tar.gz
serverdata-2f08e400a3d77d0b196ad42ebbf05d7bb19c3b40.tar.bz2
serverdata-2f08e400a3d77d0b196ad42ebbf05d7bb19c3b40.tar.xz
serverdata-2f08e400a3d77d0b196ad42ebbf05d7bb19c3b40.zip
Fortress Town is the official location of who am I quest
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/gmbot.txt3
-rw-r--r--npc/functions/util.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index 6029fd873..30f95dde9 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -187,6 +187,7 @@ function matrixlb {
.@pts+=min(3, reputation("Halin")/33);
.@pts+=min(3, reputation("Frostia")/33);
.@pts+=min(3, reputation("Candor")/33);
+ .@pts+=min(3, reputation("Fortress")/33);
// What about Lilit?
// Who am I bonus TODO
@@ -203,7 +204,7 @@ function matrixlb {
// Rebirth (2pts per level)
.@pts+=limit(0, REBIRTH*2, 10);
- // Max points: 101→104→114
+ // Max points: 101→104→114→117
return .@pts;
}
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index efd46e75b..183ca5781 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -531,6 +531,22 @@ function script reputation {
.@nr=.@nr*100/10;
+
+
+
+
+
+ // Fortress Town Quests (1 point/special)
+ } else if (getarg(0) == "Fortress") {
+
+ // Who am I? (+1 rep)
+ if (getq(General_Narrator) >= 22)
+ .@nr=.@nr+1;
+
+ // FORTRESS TOWN Magical Forumula
+ .@nr=.@nr*100/1;
+
+
// Final
}