summaryrefslogtreecommitdiff
path: root/battle/spheres.py
diff options
context:
space:
mode:
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