afectar
/afeɡˈtaɾ/ · A2 · verb
to affect, to have an effect on, to influence
afectar = affect: same Latin root, same two senses (influence, feign)
From Latin affectare, to strive after or aim at, built on ad (to) + facere (to do). English affect is the same word, so both meanings carry over: to act on something, and to put on an act, as in an affected accent.