diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-11-21 10:47:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-11-21 10:47:36 -0300 |
commit | 697ecd8708a654a675d492f161b3f8c9b72a3c15 (patch) | |
tree | 568092df7560d3d7ef56e27be8e9813299fddd53 /npc/functions | |
parent | 4e020f0fbd1409a948cde96d680cd54f1d64e6e6 (diff) | |
download | serverdata-697ecd8708a654a675d492f161b3f8c9b72a3c15.tar.gz serverdata-697ecd8708a654a675d492f161b3f8c9b72a3c15.tar.bz2 serverdata-697ecd8708a654a675d492f161b3f8c9b72a3c15.tar.xz serverdata-697ecd8708a654a675d492f161b3f8c9b72a3c15.zip |
Send MLP data more smartly
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clear_vars.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt index 89ca8c71..b5222e43 100644 --- a/npc/functions/clear_vars.txt +++ b/npc/functions/clear_vars.txt @@ -157,13 +157,12 @@ function script FlushVariables { #NEW_LV+=(BaseLevel-#OLD_LV); if (BaseLevel != #OLD_LV) { #NEW_EXP=BaseExp; - if (getvaultid()) ##01_TMWEXP=BaseExp; // (Techinically wrong) } else { #NEW_EXP+=BaseExp-#OLD_EXP; - if (getvaultid()) ##01_TMWEXP=BaseExp-#OLD_EXP; } #OLD_EXP=0; #OLD_LV=0; + if (getvaultid()) ##01_TMWEXP=#NEW_EXP; // (Techinically wrong) } return; } |