2007-09-16If X is 0, the number of targets must also be 0.
2007-09-16You must distribute at least 1 damage to each target.
2007-09-16You divide the damage as you cast the spell. You can't redistribute the damage if any of the target creatures becomes illegal before the spell resolves.