Updated with player attack enabled