diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-11 15:56:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-11 15:56:52 -0300 |
commit | fe619dc26d4532b16c41faeba6564d30e92c38a0 (patch) | |
tree | ff6e4c586aee2533f3c55b4d53331a760c38cc12 /npc/functions/clear_vars.txt | |
parent | c9e58e505601c38a8591aed510d65ecd0866a5a9 (diff) | |
download | serverdata-fe619dc26d4532b16c41faeba6564d30e92c38a0.tar.gz serverdata-fe619dc26d4532b16c41faeba6564d30e92c38a0.tar.bz2 serverdata-fe619dc26d4532b16c41faeba6564d30e92c38a0.tar.xz serverdata-fe619dc26d4532b16c41faeba6564d30e92c38a0.zip |
We need to record original EXP/LV as well.
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r-- | npc/functions/clear_vars.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt index cb43db28..d0ae3682 100644 --- a/npc/functions/clear_vars.txt +++ b/npc/functions/clear_vars.txt @@ -145,6 +145,10 @@ function script ClearVariables { // Christmas 2021 Event if (isChristmas21()) { + if (!#ORG_LV || !#ORG_EXP) { + #ORG_EXP=BaseExp; + #ORG_LV=BaseLevel; + } #OLD_EXP=BaseExp; #OLD_LV=BaseLevel; } |