ipochto / stratagus

The Stratagus strategy game engine
GNU General Public License v2.0
0 stars 0 forks source link

Bunkers and other containers. #8

Open ipochto opened 4 years ago

ipochto commented 4 years ago

if bunkers can increase attack range - count it in the distance calculations and auto target selection. Else check if attack range for removed units calculated from Container's pos (and sizes), not atacker's (f.e. for bunker with 2x2 tiles size attack range must be equal to all directions)