I'm working on a map that uses an item based ammunition system, it's all been fine and well up until the point that the unit "runs out of" ammunition. The game automatically sets all items with a charge of "0" to endless charges instead of getting rid of it as would happen if you were to use a normal charged item in game.
Does anyone know how to get around this? I've looked and I can't seem to find much. There aren't any conditions in which an item can equal zero, I'm not excellent with JASS, so keeping it in standard form would be ideal, but I would take JASS over nothing.
Help is appreciated, thanks.
Does anyone know how to get around this? I've looked and I can't seem to find much. There aren't any conditions in which an item can equal zero, I'm not excellent with JASS, so keeping it in standard form would be ideal, but I would take JASS over nothing.
Help is appreciated, thanks.