battlesystem in tw2 is created so the different types of units fights in different parts of the battle. Ram is fighting first in a battle. the later battles will get the wall bonus depending on result in first battle. so if the wall goes down to 0 you dont get wall bonus when the other units fight