Fix some basic attack bugs.