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

Transmogrified Macro Not Working

I'm having problems with a macro that I created in one game and transmogrified to another. The macro is: &{template:power} ?{Type of Attack| Blunt, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Blunt]]]}}| Firearms, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Firearms]]]}}| Piercing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Piercing]]]}}| Slashing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Slashing]]]}}| Wrestling, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Wrestling]]]}} } In the original game, this is displayed And this is the result: With the copy, this is displayed: And the result is: Suggestions?
1680662190

Edited 1680662789
Gauss
Forum Champion
Did you open the macro before or after you transmogrified it? If so that is probably what broke it.  The collection tab macros will break if you open them and they contain HTML entities.  If not, then the HTML entities might be reverting while being transmogrified.  When using HTML entity macros it is generally best to use a Macro Mule instead of the Collection Tab for your macros. Edit: I tested the Transmogrifier with a Collection Tab macro that had HTML entities in it. Transmogrifying didn't break the macro so my earlier guess is probably accurate. I believe you opened the macro at some point thus the HTML entities reverted. 
How do I fix that?
1680666058

Edited 1680666146
Gauss
Forum Champion
This should work:  &{template:power} ?{Type of Attack| Blunt, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Blunt]]]}}| Firearms, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Firearms]]]}}| Piercing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Piercing]]]}}| Slashing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Slashing]]]}}| Wrestling, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Wrestling]]]}} } If it doesn't let me know.  Basically, the query is looking for "," "|" and "}" (without quotes). If it runs into any of those it will be interpreted as a command for the query.  HTML entities will not look like commands until after the query is processed. 
1680667311
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Another possibility to investigate is that the new game does not have the same character sheet, and thus the "power" roll template?
OK. I used a mule, and also changed the template to one in the new character sheet. The new macro looks like this: &{template:DccTabbed} ?{Type of Attack| Blunt, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Blunt]]]}}| Firearms, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Firearms]]]}}| Piercing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Piercing]]]}}| Slashing, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Slashing]]]}}| Wrestling, {{character=Critical Hit}} {{notes=[[1t[Critical Hit Chart-Wrestling]]]}} } But the output is blank
1680718884
Gauss
Forum Champion
Which character sheet is this?
Coming from Weird Frontiers to DCC Tabbed
1680719849
Gauss
Forum Champion
I do not see a character sheet with the name "DCC Tabbed" in the list of character sheets. Is it going by a different name?
Dungeon Crawl Classics (Tabbed)
1680721791

Edited 1680721849
Gauss
Forum Champion
There is no wiki regarding the construction of that sheet's template so I grabbed an example from the sheet itself: &{template:DccTabbed} {{background=[[5]]}} {{stat=1}} {{name=@{Yglaet Ykafo|character_name}}} {{title=STR Check - 1d20}} {{hint=TRAINED:  0-level occupation determines the basic skills you can use or if the skill is something that any adult could have a reasonable chance of attempting.}} {{rolltype=Trained : }} {{ability=[[1d20 + [[@{Yglaet Ykafo|strMod}]] [Stat Mod] ]]}} {{abilityscore=[[@{Yglaet Ykafo|str}]]}} {{warningthreshold=}} {{warning=}} {{reminders=@{Yglaet Ykafo|strReminders}}} My guess is you are missing critical information from the template, and putting information into the template it may not like.  I would suggest contacting the makers of the sheet to see what is and is not available via their template. They have a Discord link and Email address in the information for the character sheet.  Alternately, use the default template instead. 
1680796137
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you plan to switch character sheets, Gauss's suggestion of using the default template is the best way to go. Also, be aware that many macros poll character sheet attribute names, which are likely to change from sheet to sheet.