
So I am trying to create a macro for 5e magic item called the Shadowfell Brand Tattoo . The item's description has the following two perks to it: Shadow Essence. You gain darkvision with a range of 60 feet, and you have advantage on Dexterity (Stealth) checks. Shadowy Defense. When you take damage, you can use your reaction to become insubstantial for a moment, halving the damage you take. Then the reaction can't be used again until the next sunset. I wanted to create a macro that queries which power the player is trying to use and then either rolls Stealth with advantage or displays a description in the chat window. I was partially successful in doing the latter but I can't figure out how to either convert a macro that works independently into HTML and add it directly to the query or figure out how to reference it - either as a Collection Macro or an Attribute Macro. The PC name or charname is Rattle. This is my progress so far: Shadow Essence This macro forces an advantage Stealth roll for the player. I named it Stealth-Adv. @{Rattle|wtype}&{template:simple} {{rname=STEALTH}} {{mod=[[[[@{Rattle|stealth_bonus}]][STE]]]}} {{r1=[[1d20+[[@{Rattle|stealth_bonus}]][STE]]]}} {{r2=[[1d20+[[@{Rattle|stealth_bonus}]][STE]]]}}{{advantage=1}} Shadowy Defense I incorporated this code directly into the query macro by converting it to HTML which worked great for testing purposes but gets converted on save... problem. Test Code (above) with the first step being the drop-down menu... Final outcome (below) with the new descriptive text. ?{Which Shadowy Power are you using?| Essence (Stealth), 0| Defense, &{template:dmg} {{rname=Shadowy Defense}} {{range=Half Damage}} {{savedc=savedc}} {{desc=As the attack hits, his form shifts into shadow before shifting back}} {{charname=Rattle}}} Issues So the problems are two-fold. Once I save the macro, the code changes from the HTML I wrote originally to code that breaks. The HTML is converted and every time it uses "}" I get errors. Secondly, I can't for the life of me figure out how to combine the two macros so I can reference a PC's skill bonuses to do the stealth check. It breaks all over the place every time. In order to keep track of the code and if I knew how to reference them, I would... I saved the original code as an ability macro on the character's sheet. But this is an image of the saved and reopened macro with the problematic code (left) compared to the original code (right). If anyone is an absolute WIZARD and knows how to reference the previous damage to populate the half damage value that would be phenomenal but I figured if I could start with just the descriptive text then that would be a sufficiently big win. Any guidance would be appreciated! Send help!