fixed a bug about duel's condition