If some of the creatures are illegal targets as Armament Dragon’s triggered ability resolves, the original distribution of counters still applies and the counters that would have been put on the illegal targets are lost.