I'm pretty sure it would be "affect".
You want to "affect" the action to bring about the desired "effect".
Here is an example from the interweb:
"Gender may affect
the action of garlic oil on plasma cholesterol and glucose levels of normal subjects."