From 69683a1f984f6ea12ed62cd22e6a0014d6d35bcc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 11 Aug 2021 00:04:01 -0300 Subject: Alpha version of summoning --- battle/spheres.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'battle/spheres.py') 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 -- cgit v1.2.3-70-g09d2