I've been trying to experiment so that I can add charges to a reload ability for some units of mine. The reload ability works fine with its charges, etc.
I used your suggestion of using the vulture spider mine replenish effect by creating a new one with all the same fields - changed when necessary so it is applied to the reload ability. It didn't work.
Then I placed a few vultures and used a trigger to have the replenish mines upgrade enabled. The replenish mines ability would queue and take resources, but it wouldn't actually replenish mines.
0
Aha! I did a bit more searching and found that after some SC update the
"Cost: Cost - Fraction - Charge"
must be set to "0" for restoration to work - in the replenish mines ability it was set to "1." Charge subtraction will work wether it's set to 1 or 0.
0
I've been trying to experiment so that I can add charges to a reload ability for some units of mine. The reload ability works fine with its charges, etc.
I used your suggestion of using the vulture spider mine replenish effect by creating a new one with all the same fields - changed when necessary so it is applied to the reload ability. It didn't work.
Then I placed a few vultures and used a trigger to have the replenish mines upgrade enabled. The replenish mines ability would queue and take resources, but it wouldn't actually replenish mines.