The first part of the bottom effect applies to allies who are currently adjacent to you, not allies that were adjacent to you at the time the action was performed. The bottom effect, however, applies when you perform the action, since it is not an active bonus.