There is no such thing as a business or office party. It is not a social gathering. It is business. Never party at an office party. It won't hurt you not to go at all. Don't offend people by criticizing the party or by publicly announcing your intentions. Simply don't go. Give polite excuses.