Simple attack target selection
Brought to you by:
loidthanead
Simple attack target selection algorithm: calculate 'vulnerability rating' of an area by comparing the value of the buildings inside against the number of defenses. Take note to only include areas that can be reached by a chosen method of attack. As in, don't send units to attack a rear area by moving them through the enemy's main defense line.