summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-16 09:22:31 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-16 09:22:31 -0300
commit43e207c2a87d1275f4f4a6eb3d9ddb94e283b8ae (patch)
tree48b9fa13d030bd680996b20e1e54679f1dcc8af3
parent507ce01d3cbe8865fb81de1102c28c78b2860c2c (diff)
downloadserver-43e207c2a87d1275f4f4a6eb3d9ddb94e283b8ae.tar.gz
server-43e207c2a87d1275f4f4a6eb3d9ddb94e283b8ae.tar.bz2
server-43e207c2a87d1275f4f4a6eb3d9ddb94e283b8ae.tar.xz
server-43e207c2a87d1275f4f4a6eb3d9ddb94e283b8ae.zip
Send job for the units
-rw-r--r--battle/common.py1
-rw-r--r--battle/main.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/battle/common.py b/battle/common.py
index dadc49d..0a40a57 100644
--- a/battle/common.py
+++ b/battle/common.py
@@ -199,6 +199,7 @@ def advance_wave(token, world, quest_id, next_wave):
"hp": int(900*mil),
"atk": int(100*mil),
"ele": en["attribute"],
+ "job": 2, # FIXME
"status_effects": 0
})
diff --git a/battle/main.py b/battle/main.py
index a477171..caa2c2e 100644
--- a/battle/main.py
+++ b/battle/main.py
@@ -136,6 +136,7 @@ def begin_quest(args, token, client_side=True):
"hp": un["hp"]+hpboost,
"atk": un["strength"]+akboost,
"ele": un["attribute"],
+ "job": un["job"],
"status_effects": 0
})