summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-18 09:32:32 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-18 09:32:32 -0300
commit4559c2efac0be24d00bd914e9e1d04d0fdb5ddde (patch)
treedc81e4bf18f417aeecaa0564a295d4f7ca2fb1d3 /npc/functions/clientversion.txt
parent3511d802ad1fab04e4e174529095cb98c64c2787 (diff)
downloadserverdata-4559c2efac0be24d00bd914e9e1d04d0fdb5ddde.tar.gz
serverdata-4559c2efac0be24d00bd914e9e1d04d0fdb5ddde.tar.bz2
serverdata-4559c2efac0be24d00bd914e9e1d04d0fdb5ddde.tar.xz
serverdata-4559c2efac0be24d00bd914e9e1d04d0fdb5ddde.zip
LoF/GTMW Merge-specific: #ADD_SC variable.
Log usage of these variables.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 3bfdfd523..e35b04df9 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -804,6 +804,14 @@ function script clientupdater {
#ADD_GP=0;
}
+ // Permanent Strange Coins Boost
+ // #ADD_SC means the user have to right to get some strange coins
+ if (#ADD_SC) {
+ logmes "[Merger] Strange Coins +"+#ADD_SC, LOGMES_ATCOMMAND;
+ getitem StrangeCoin, #ADD_SC;
+ #ADD_SC=0;
+ }
+
// Non Permament Level Boost
if (#ADD_TMP_LVL) {
// Grant the level
@@ -853,11 +861,13 @@ function script clientupdater {
#ADD_LVL-=.@v;
} while (readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp));
}
+ logmes "[Merger] EXP +"+#ADD_LVL, LOGMES_ATCOMMAND;
getexp #ADD_LVL, 0;
#ADD_LVL=0;
rodex_sendmail(getcharid(0), "TMW2 Team", "Welcome to Moubootaur Legends", "Hey, thanks for believing on us! We hope to have a great time togheter. Any problem, ask for help in #world - the Discord bridge! Enjoy our game!", 20);
}
+ // FIXME: ADD_COIN
if (.@dg) {
next;