diff options
Diffstat (limited to 'battle/common.py')
-rw-r--r-- | battle/common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/battle/common.py b/battle/common.py index 649d852..e9bf3ee 100644 --- a/battle/common.py +++ b/battle/common.py @@ -104,22 +104,22 @@ def find_target(token, scope): continue except: try: - stdout("(%d) Faulty structure: %s" % (i, str(Battle[token][scope][i]))) + stdout("(%d) Faulty structure: %s" % (i, str(Battle[token][scope][i])), 0) except: - stdout("(%d) TOTALLY Faulty structure: %s" % (i, str(Battle[token][scope]))) + stdout("(%d) TOTALLY Faulty structure: %s" % (i, str(Battle[token][scope])), 0) continue continue targets.append(i) #stdout("While loop has finished") - stdout("List of targets: %s" % str(targets)) + stdout("List of targets: %s" % str(targets), 2) # When a player selects an target, it should always be the first enemy in list if scope == "enemy": opt=targets[0] else: opt=random.choice(targets) - stdout("Selected: %d" % opt) + stdout("Selected: %d" % opt, 2) return opt |