Created
December 17, 2010 09:52
-
-
Save mikeminutillo/744725 to your computer and use it in GitHub Desktop.
The core of my Engineer Samurai. Need to store self as internal state so that I can clean it up a bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (EnemiesOf(self).Any()) | |
if (!IsConfident(self) && CanMove(self)) Move(self, Fleeing); | |
else Fight(EnemiesOf(self)); | |
else if (IsInjured(self)) Heal(); | |
else if (IsBuffed(self) && CanMove(self)) Move(self, Hunting); | |
else Buff(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment