diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-11 00:04:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-11 00:04:01 -0300 |
commit | 69683a1f984f6ea12ed62cd22e6a0014d6d35bcc (patch) | |
tree | fbb2413d6ec468a66285c32841947855a35b374f /battle/spheres.py | |
parent | 7dc285029db11348ae9ef2d90b805a39ba61f918 (diff) | |
download | server-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.py | 6 |
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 |