attackAction debug/minor refactoring