read max-amount from data-atrribute
set unit's max amount by UnitList (wip)
calculate max-amounts