A guide/snippet which will help you to make any ability use charges like Shrapnel or Stone Caller.
First, add save this file with a name "modifier_charges.lua" to your vscripts folder (or any subfolder inside of it)
Then, add an initialization line to your addon_game_mode.lua:
If your file is into a subfolder you can do it like that
Gratz, you've successfully installed it!
Now you can add charges to any ability with this code:
The settings in the end are pretty self-explanatory. You can omit the start_count if you want.
That's it, folks.