From 435f9aba140528e758518d3c00dc1b3850d399e7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 12:10:57 -0200 Subject: Update Eugene quest experience. Prepare update system so old players get rewarded. --- npc/functions/clientversion.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'npc/functions/clientversion.txt') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 31d841fa2..96922d2b1 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -9,7 +9,7 @@ function script checkclientversion { // Skip any update for newcomers - if (isin("000-0", 0, 0, 40, 40)) { + if (getmap() ~= "000-0*") { UPDATE=gettimetick(2); } @@ -23,15 +23,25 @@ function script checkclientversion { mesc l("You might have been affected. Please, select your desired language."); asklanguage(LANG_IN_SHIP); } + // Report client version for debugging purposes if (is_admin() && UPDATE < 1528369855) { UPDATE=1528369855; dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system. } + // New skills introduced if (UPDATE < 1531786864) { UPDATE=1531786864; skill TMW2_FAKESKILL, 1, 0; skill TMW2_FAKESKILL2, 1, 0; } + // Update new quest exp, and make sure you have the extended basic skills with you + if (UPDATE < 1545228412) { + UPDATE=1545228412; + adddefaultskills; + if (getq(TulimsharQuests_Fishman) == 2) + getexp 12, 0; + + } -- cgit v1.2.3-70-g09d2