update warrior to walk when field is empty and fight when enemy is near