diff options
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 55ccc3fbd..443e5b10b 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1145,27 +1145,6 @@ function script clientupdater { } } - // Permanent Level Boost - // #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted. - if (#ADD_LVL) { - //logmes "[Merger] EXP +"+#ADD_LVL, LOGMES_ATCOMMAND; - if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) { - do { - if (BaseLevel >= TOP3AVERAGELVL()) break; // Boundaries - .@v=readparam(NextBaseExp)-readparam(BaseExp); - getexp .@v, 0; - #ADD_LVL-=.@v; - } while (readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp)); - } - // Only give remaining EXP if you did not hit the boundary - if (BaseLevel < TOP3AVERAGELVL()) { - 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 together. Any problem, ask for help in #world - the Discord bridge! Enjoy our game!", 20); - // TODO: Maybe give an item which lets you open the storage anywhere? - } - if (.@dg) { next; closeclientdialog; |