Acting nice for karma's sake?
This is a triple win in term of accumulating and strengthening the effectiveness of the karmic action:


Being nice
Knowing being nice has consequences
Acting knowing there are consequences


When doing good, believing in Karma and knowing there are consequences, reinforce the good results.