summaryrefslogtreecommitdiff
path: root/battle/spheres.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-11 00:04:01 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-11 00:04:01 -0300
commit69683a1f984f6ea12ed62cd22e6a0014d6d35bcc (patch)
treefbb2413d6ec468a66285c32841947855a35b374f /battle/spheres.py
parent7dc285029db11348ae9ef2d90b805a39ba61f918 (diff)
downloadserver-69683a1f984f6ea12ed62cd22e6a0014d6d35bcc.tar.gz
server-69683a1f984f6ea12ed62cd22e6a0014d6d35bcc.tar.bz2
server-69683a1f984f6ea12ed62cd22e6a0014d6d35bcc.tar.xz
server-69683a1f984f6ea12ed62cd22e6a0014d6d35bcc.zip
Alpha version of summoning
Diffstat (limited to 'battle/spheres.py')
-rw-r--r--battle/spheres.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/battle/spheres.py b/battle/spheres.py
index 594636f..3a312a7 100644
--- a/battle/spheres.py
+++ b/battle/spheres.py
@@ -79,6 +79,10 @@ def sphere_attack(token, unit, sphere, idx=0):
# We are done!
#stdout("Attack completed")
- Battle[token]["log"].append(["party", idx, sphere, dmg, "enemy", target_id])
+ ## FIXME
+ if sphere not in [SPH_HEAL, SPH_HEALALL]:
+ Battle[token]["log"].append(["party", idx, sphere, dmg, "enemy", target_id])
+ elif sphere == SPH_HEAL:
+ Battle[token]["log"].append(["party", idx, sphere, dmg, "party", target_id])
return True