Skip to content

Instantly share code, notes, and snippets.

@TeMPOraL
Last active December 17, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TeMPOraL/5682143 to your computer and use it in GitHub Desktop.
Save TeMPOraL/5682143 to your computer and use it in GitHub Desktop.
(defbehavior root-0
(if (alive)
(if (enemy-in-range)
(attack (find-weakest-enemy-in-range))
(move-to-enemy find-nearest-enemy))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment