summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-19 21:39:03 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-19 21:39:03 -0300
commit09b50311e35d27b07c8ae062d7707f4e95766cbc (patch)
tree875b4938ad83c5848dd6d8029ba058f5b670e29d /npc
parent25deff9068d6b1d00ec1b2fb638944e54530cd5f (diff)
downloadserverdata-09b50311e35d27b07c8ae062d7707f4e95766cbc.tar.gz
serverdata-09b50311e35d27b07c8ae062d7707f4e95766cbc.tar.bz2
serverdata-09b50311e35d27b07c8ae062d7707f4e95766cbc.tar.xz
serverdata-09b50311e35d27b07c8ae062d7707f4e95766cbc.zip
Lightbringer: Double how long you can wield (up to 4x) if you get at least
100 points.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/gmbot.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index e6f335a59..c5c227338 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -35,7 +35,13 @@ L_Today:
}
// Else: score > 60, 2 minutes per additional score
- // TODO: If > 100, grant it for a week/month or so?
+ // If you are above 100: +2 minutes per score
+ // If you are above 110: +4 minutes per score
+ if (@lbscore > 100)
+ @lbscore*=2;
+ if (@lbscore > 110*2)
+ @lbscore*=2;
+
rentitem Lightbringer, (120*(@lbscore-60));
dispbottom l("This live sword drafts itself to your hand. You can wield it for a while.");
disablenpc .name$;