Fix bug of attack
Update fix attack bug