During the first half Team, B scored only 8 * 0.5 = <<8*0.5=4>>4 points.
In the second half Team A scored 2 goals less than Team B, so they scored 8 - 2 = <<8-2=6>>6 points.
So in total both teams scored 8 + 4 + 6 + 8 = <<8+4+6+8=26>>26 points.
#### 26