summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-09 18:13:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-09 18:13:06 -0300
commit9c7bc9144eaf91eaca08d46686eaa50d0804c940 (patch)
tree727f749777d6fef398b0314aeb4762d1c429d27a /npc/functions/clientversion.txt
parent3a0bc0a85b4165989266899f5bf46efee6a02e7e (diff)
downloadserverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.gz
serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.bz2
serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.tar.xz
serverdata-9c7bc9144eaf91eaca08d46686eaa50d0804c940.zip
FIX THE PVP BUG
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 9108e9689..e4f6a034b 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -526,6 +526,12 @@ function script clientupdater {
} // if ranking
}
+ // Negative Karma = good. And positive karma allows PvP. So...
+ // sex ago 9 18:10:20 -03 201
+ if (UPDATE < 1565385020) {
+ UPDATE=1565385020;
+ Karma=0;
+ }
// #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted.