diff options
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 10 |
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; |