fixed attackAction