Unexpected token can mean you forgot to put something on the previous line. In this case a )
The problem is that each if can only have one else.
Repalce the first else with
elif self.isReady('electrocute'):
and the second else with
elif enemy:
Basically you want:
if ok_for_action_1:
action_1
elif ok_for_action_2:
action_2
elif ok_for_action_3:
action_3
else:
do_something_simple
