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 keeps replacing "}" with "}" after I save it. Then it doesn't work.

November 14 (8 years ago)

Edited November 14 (8 years ago)
My character is focused on lifesteal.  Goal is to make an all encompassing healing macro for the different situational modifiers but I need help with the formatting.

Here is what I have:
&{template:default} {{name=Blood Lust Regen}} ?{Type of Healing?|
MeleeWithCantrip,{{+ HP=[[1d4!1+2d6!1+6]]}} {{+ Mana=1}}|
MeleeNoCantrip,{{+ HP=[[2d6!1+6]]}} {{+Mana=1}} }

In its current form this macro will NOT work.  When I replace all "}" with "&#125" the macro works great when I test, but upon saving changes the HTML back to a "}" and breaks the macro.

November 14 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Based on your description, you are making this as a global macro (under the collections tab). Make it as an ability on your character sheet instead, and the html replacements will stay intact.
November 14 (8 years ago)

Edited November 14 (8 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
As a macro in the collections tab it will convert to the symbol if you open it again. Your options are to save the macro with the html entity and never open it again or save it as a character ability which does not convert html entities.

See the advanced usage section of the macros wiki for more information.
November 14 (8 years ago)
Thank you gentlemen for the prompt and informative responses.