Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Macro Bug D&D 3.5E

1456137130
Andrew C
Marketplace Creator
I'm using the following macro (based off the default ones in the sheet) which I hoped, would let me choose a PC or NPC and cause them to make a saving throw secretly to the GM. /w gm &{template:DnD35StdRoll} {{saveflag=true}} {{name=@{target|token_name} }} {{subtags=braces against the attack}} {{check=Fortitude save:}} {{checkroll=[[1d20 + [[@{fortitude}]] ]] }} {{notes=@{fortitudenote} }} I keep getting this error: "TypeError: Cannot read property 'substring' of undefined" I'm not sure why this wouldn't be working... it's probably just another moment of "I don't understand this coding language"...
1456138030

Edited 1456138047
Hi, Andrew . Try adding the target keyword to your @{fortitude} and @{fortitudenote} Attribute calls.
1456139832
Andrew C
Marketplace Creator
As in... @{target_name|fortitude} or @{target|fortitude}?
The latter.