Working on AI behaviors

This commit is contained in:
2014-06-15 22:16:37 -07:00
parent a5546adf19
commit cb60dd16d0

View File

@@ -930,7 +930,7 @@ var AISprite = function(game, x, y, key, frame) {
} else {
this.action_reportplayer();
}
} else if ( hasState(this, (STATE_CONCERNED | STATE_RELIEVED)) ) {
} else if ( hasState(this, (STATE_CONCERNED | STATE_LOSTHIM)) ) {
this.action_huntplayer();
} else {
this.action_wander();