
So, I'm trying to set a macro for Lancer that helps roll dice for the Overcharge mechanic, it's a simple menu with some buttons that then run a second macro that rolls a dice depending on the button pressed, simple enough, however, when I use the buttons, I get the error in the title. Both macros work on their own, but as soon as I try to use the buttons to execute the secondary macros, the error pops up, I've triple checked the syntax over an over, and can't seem to find any errors.
The first macro goes like this:
&{template:default}{{name=Overcharge}}{{
Receive an extra quick action, but take Heat as well.
[1st Overcharge](~charge1)
[2nd Overcharge](~charge2)
[3rd Overcharge](~charge3)
[4+ Overcharges](~charge4)
}}
The secondary ones all goe like this:
&{template:default}{{name=1st Overcharge}}{{
Take +[[1]] Heat.
}}
The only thing that changes in the secondary macros is the [[1]] thing to [[1d3]], [[1d6]] and [[1d6+4]] respectively.
I seriously don't know what is happening with them and why they refuse to work together, they are supposed to be simple enough to not have any issues, I've even copy/pasted the names of the secondary macros in order to make sure they are the exact same, thank you everyone in advance.