Note that I'm talking about Unit Ability charges, Player charges at least seem to work. Expansion level is also WoL and not HoTS, just in case because you never know with Blizzard.
I can't restore charges, either through data with the old Modify Unit technique or through the Add Charges trigger, everything is right including the ability charge link, the -1 charge add count so that charges should actually get restored etc, it can't be a random mistake because I had 4 different abilities that used charges like this, they worked before and now they're all broken. without me touching them.
I have to figure out what's changed exactly but I don't see anything, and the trigger does not work as a workaround either.
Someone in another thread said that this bug is caused by the ability's charges being set with their Count Start being equal their Count Max, a setting which is normal for just about anything, so that being bugged is completely unacceptable and there has to be a way around.
Thanks a lot for that map, cleared up the problem - Charge Fraction must be set to 0 for the restoring to work, this must have been changed in the patch or something, I had that set to 1 but it didn't cause any problems before. (would seem logical to me that fraction should be set to 1? i don't want to multiply the charges added by 0)
Note that I'm talking about Unit Ability charges, Player charges at least seem to work. Expansion level is also WoL and not HoTS, just in case because you never know with Blizzard.
I can't restore charges, either through data with the old Modify Unit technique or through the Add Charges trigger, everything is right including the ability charge link, the -1 charge add count so that charges should actually get restored etc, it can't be a random mistake because I had 4 different abilities that used charges like this, they worked before and now they're all broken. without me touching them.
I have to figure out what's changed exactly but I don't see anything, and the trigger does not work as a workaround either.
Someone in another thread said that this bug is caused by the ability's charges being set with their Count Start being equal their Count Max, a setting which is normal for just about anything, so that being bugged is completely unacceptable and there has to be a way around.
Not sure what is not working for you, last time I tried restoring charges worked just fine. Test map uses data, but triggers worked just as well.
€ uses Swarm dependencies, but that I changed after it already worked.
Thanks a lot for that map, cleared up the problem - Charge Fraction must be set to 0 for the restoring to work, this must have been changed in the patch or something, I had that set to 1 but it didn't cause any problems before. (would seem logical to me that fraction should be set to 1? i don't want to multiply the charges added by 0)