Patrol Buster in Clojure Broken?

I am unable to get “Patrol Buster” to work in Clojure. First off, the comment starts with a # and gives a syntax error, requiring me to delete the line, second, the following code won’t work:

(dotimes [n 1000]
    (let [enemy (.findNearestEnemy this)]
        (if enemy (do (.attack this enemy)))      
    ))

The warrior just stands there getting beat to death. If I replace the if with .say, I can see the name of the enemy. Is this a bug in Clojure?

See: This post

This topic is now closed. New replies are no longer allowed.

Reason: This topic has been found to be a duplicate.