Implemented advanced action system for enemy