I have a Summon Token macro that pulls pre-generated summon monster and summon natures ally tokens from a map. The macro worked 2-3 years ago (the last time I played DnD).
I am getting a:
Spoiler
Argument number 4 to function "copyToken" must be a JSON Object.
Code: Select all
[h: x = 0]
[h: updates = "{
x: '[r: x = x + 2]',
delta: 1,
}" ]
[h, if(miscToSummon == "None"),CODE:
{};{
[h: copyToken(miscToSummon, numberToSummon, "Summons", updates)]
}]