From 697ecd8708a654a675d492f161b3f8c9b72a3c15 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 21 Nov 2021 10:47:36 -0300 Subject: Send MLP data more smartly --- npc/functions/clear_vars.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'npc') 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; } -- cgit v1.2.3-60-g2f50