summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
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;
+
+ }