From 4559c2efac0be24d00bd914e9e1d04d0fdb5ddde Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Feb 2020 09:32:32 -0300 Subject: LoF/GTMW Merge-specific: #ADD_SC variable. Log usage of these variables. --- npc/functions/clientversion.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/functions') 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; -- cgit v1.2.3-60-g2f50