refactor scheduled attack buff and hitting wall prevention