diff options
Diffstat (limited to 'battle/spheres.py')
-rw-r--r-- | battle/spheres.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/battle/spheres.py b/battle/spheres.py index e3b0d88..d0e42b4 100644 --- a/battle/spheres.py +++ b/battle/spheres.py @@ -23,12 +23,12 @@ from battle.common import find_target, attackall, calc_dmg # Handle sphere attacks. Unit is a member from Battle[token][scope] def sphere_attack(token, unit, sphere, idx=0): - stdout("%s is attacking" % str(unit)) - stdout("Sphere selected: %d" % sphere) + stdout("%s is attacking" % str(unit), 2) + stdout("Sphere selected: %d" % sphere, 2) # Select the enemy which should be attacked target_id=find_target(token, "enemy") - stdout("Enemy selected: %d" % target_id) + stdout("Enemy selected: %d" % target_id, 2) target=Battle[token]["enemy"][target_id] # Now cycle though spheres @@ -55,7 +55,7 @@ def sphere_attack(token, unit, sphere, idx=0): unit["atk"]*=-1 elif (sphere == SPH_NONE): # Normal Attack - stdout("It's a normal attack!") + stdout("It's a normal attack!", 2) target["hp"]-=calc_dmg(token, unit, target, unit["atk"]) elif (sphere == SPH_ATKUP): # Attack up sphere: Add SC_ATKUP to all members (even dead ones) |