diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 9 | ||||
-rw-r--r-- | npc/functions/main.txt | 6 |
2 files changed, 13 insertions, 2 deletions
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; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 365943742..cf882f3a0 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -72,6 +72,12 @@ function script adddefaultskills { if (getskilllv(NV_BASIC) < 6) { skill NV_BASIC, 6, 0; } + if (getskilllv(TMW2_FAKESKILL) < 1) { + skill TMW2_FAKESKILL, 1, 0; + } + if (getskilllv(TMW2_FAKESKILL2) < 1) { + skill TMW2_FAKESKILL2, 1, 0; + } return; } |