diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-26 16:04:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-26 16:04:05 -0300 |
commit | 37fde43c73646064646e1aa480e0a337e375944e (patch) | |
tree | 454edbf0b3c7b1cfe54534440623b5bae3d43340 | |
parent | fff3cdd88a05e973e4b80da1f1145cc1426a8f28 (diff) | |
download | server-37fde43c73646064646e1aa480e0a337e375944e.tar.gz server-37fde43c73646064646e1aa480e0a337e375944e.tar.bz2 server-37fde43c73646064646e1aa480e0a337e375944e.tar.xz server-37fde43c73646064646e1aa480e0a337e375944e.zip |
Send to clients rk_exp/rk_mexp so they can resync exp bars
-rw-r--r-- | battle/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/battle/main.py b/battle/main.py index 146e2f4..8722392 100644 --- a/battle/main.py +++ b/battle/main.py @@ -187,6 +187,8 @@ def get_result(token, victory, world, quest_id): rk=player.check_rank_up(token) if rk["code"]: result["rank"]=1+rk["ap"] + result["rk_exp"]=Player[token]["exp"] + result["rk_mexp"]=Player[token]["max_exp"] stdout("GR: Complete") |