summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-15 18:11:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-15 18:11:57 -0300
commit77f40892736b396c7d201a403dbd31bf07bca118 (patch)
treeb5648e1ebc0e0cb3fa08f86c3d6902b222d7cd2a /npc/functions
parent753859f5a8101256973e0b962190473afaf79221 (diff)
downloadserverdata-77f40892736b396c7d201a403dbd31bf07bca118.tar.gz
serverdata-77f40892736b396c7d201a403dbd31bf07bca118.tar.bz2
serverdata-77f40892736b396c7d201a403dbd31bf07bca118.tar.xz
serverdata-77f40892736b396c7d201a403dbd31bf07bca118.zip
Fix Karma System and hidden bug
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index b3d0e96f1..ca9ea89c8 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -202,10 +202,19 @@ function script checkclientversion {
// Update Tycoon quest exp
// dom mar 3 12:22:04 -03 2019
if (UPDATE < 1551626524) {
- UPDATE=1550280141;
+ UPDATE=1551626524;
if (getq(MineQuest_Tycoon) >= 15)
getexp 43000, 0;
}
+ // Update Karma for the flexibility I need
+ // sex mar 15 18:10:00 -03 2019
+ if (UPDATE < 1552684200) {
+ UPDATE=1552684200;
+ if (Karma >= 250)
+ Karma=98;
+ else
+ Karma=100+Karma;
+ }