summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-30 21:36:02 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-30 21:36:02 -0300
commit140661254e43f620e2b8c038bd5e0071fd551cdb (patch)
treedb3802cb12e95f865fe24a327b562692d88dfe81
parentc9853eb951d631cf790085ca243c4898faccbc2b (diff)
downloadserver-140661254e43f620e2b8c038bd5e0071fd551cdb.tar.gz
server-140661254e43f620e2b8c038bd5e0071fd551cdb.tar.bz2
server-140661254e43f620e2b8c038bd5e0071fd551cdb.tar.xz
server-140661254e43f620e2b8c038bd5e0071fd551cdb.zip
Avoid experience from becoming a float.
-rw-r--r--battle/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/battle/main.py b/battle/main.py
index 98a6d7e..5a05dae 100644
--- a/battle/main.py
+++ b/battle/main.py
@@ -114,6 +114,7 @@ def get_result(token, victory, world, quest_id):
# TODO: Roll the loots for every enemy in every death
+ result["exp"]=int(result["exp"])
stdout("GR: Looting")
# For now, loots are rolled for quest
# 2- Roll loot list