Moved tile defense calculation to BaseUnit.