From 784bbb4ee8c190df9414ad076d9b93d1413295c9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 16 Jul 2018 21:23:44 -0300 Subject: Update for skills.xml --- npc/functions/clientversion.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'npc/functions/clientversion.txt') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 2821ad836..ab12d8e6b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -16,7 +16,7 @@ function script checkclientversion { // Update handler (use `date +%s` for this) // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 if (Lang > 5 && UPDATE < 1528369855) { - UPDATE=gettimetick(2); + UPDATE=1528369855; Lang=0; mesn "Jesus Saves"; mesc l("Oh, noes! Due lack of translators, some languages were removed from this project."); @@ -52,9 +52,14 @@ function script checkclientversion { next; } if (is_admin() && UPDATE < 1528369855) { - UPDATE=gettimetick(2); // Perhaps we should use above number, and leave all UPDATE fields here? + UPDATE=1528369855; dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system. } + if (is_admin() && UPDATE < 1531786864) { + UPDATE=1531786864; + skill TMW2_FAKESKILL, 1, 0; + skill TMW2_FAKESKILL2, 1, 0; + } if (ClientVersion >= 24) return; -- cgit v1.2.3-70-g09d2