You need to win 2 out of 3 locations to be declared the winner of the battle.  For example if you have impact of 20,30,40 and your opponent has impact 30,20,20 at location 1,2,3 respectively, you win location 1 and 3, hence you win the battle.