SC2 Editor action is broken

Trigger’s “ItemSetChargeCount” action makes 0 charge instead of the number that i wanted.

What did you set the maximum charges to on the item?