summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 12:10:57 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 12:10:57 -0200
commit435f9aba140528e758518d3c00dc1b3850d399e7 (patch)
tree9aacfc8e1b3bef6abd432931757d462ad15de443 /npc/functions/clientversion.txt
parent6f1a2ad1083c5a1b638690d58c847f029d1f4915 (diff)
downloadserverdata-435f9aba140528e758518d3c00dc1b3850d399e7.tar.gz
serverdata-435f9aba140528e758518d3c00dc1b3850d399e7.tar.bz2
serverdata-435f9aba140528e758518d3c00dc1b3850d399e7.tar.xz
serverdata-435f9aba140528e758518d3c00dc1b3850d399e7.zip
Update Eugene quest experience. Prepare update system so old players get rewarded.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt12
1 files changed, 11 insertions, 1 deletions
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;
+
+ }