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/Template Color problem

So, I have a character that has some very unusual attack attributes and options, resulting the default character sheet attack rolls not working well for me. I like the format and have found how to more or less replicate that via Macros. Due to having a high volume of attacks and quite a few variables I'm deciding not to include potential Crit rolls in my templates, rather I want to have the logic that determined the attack/dmg modifiers output those numbers to the name/title bar so when I do a confirmation roll I just have it prompt me for the total modifier and I can key it in manually.

My problem comes from the values in the title bar appearing in their normal light tan colored boxes, but rather than having black text the title bar is all white text. This makes them very hard to read. Is there a way to change the text or background colors when activating a template via macro?

Here is an example with where my current macro is at:

&{template:default} {{name=Flurry1 (mods atk:[[@{Ye Fei|flurry_mod} + @{Ye Fei|class1_level} + @{Ye Fei|dexterity_mod} + @{Ye Fei|haste} + ?{Point Blank|Yes, 1|No, 0} - @{Ye Fei|deadly-aim}  + ?{ATK-Modifier|0} ]] dmg:[[@{Ye Fei|strength_mod} + ?{Point Blank|Yes, 1|No, 0} + 2*@{Ye Fei|deadly-aim} + ?{DMG-Modifier|0} ]]) }} {{ATTACK=[[1d20 + @{Ye Fei|flurry_mod} + @{Ye Fei|class1_level} + @{Ye Fei|dexterity_mod} + @{Ye Fei|haste} + ?{Point Blank|Yes, 1|No, 0} - @{Ye Fei|deadly-aim}  + ?{ATK-Modifier|0} ]] }} {{DAMAGE=[[1d8 + @{Ye Fei|strength_mod} + ?{Point Blank|Yes, 1|No, 0} + 2*@{Ye Fei|deadly-aim} + ?{DMG-Modifier|0} ]] }}

Though the trouble spot is isolated to how this portion is displayed:
&{template:default} {{name=Flurry1 (mods atk:[[@{Ye Fei|flurry_mod} + @{Ye Fei|class1_level} + @{Ye Fei|dexterity_mod} + @{Ye Fei|haste} + ?{Point Blank|Yes, 1|No, 0} - @{Ye Fei|deadly-aim}  + ?{ATK-Modifier|0} ]] dmg:[[@{Ye Fei|strength_mod} + ?{Point Blank|Yes, 1|No, 0} + 2*@{Ye Fei|deadly-aim} + ?{DMG-Modifier|0} ]]) }}
November 29 (6 years ago)
Andreas J.
Forum Champion
Sheet Author
Translator
As far as I know, you cant change how the default template looks. Depending on what sheet your game uses, they may include additional roll tempates taht would work better for you.
November 29 (6 years ago)

Edited November 29 (6 years ago)
vÍnce
Pro
Sheet Author

You could "override" the css using Stylus or similar browser extension.  This would only change your view of the text however.

something like this;

.textchatcontainer .inlinerollresult {
    background-color: black !important;
    border: 2px solid black !important;
    color: white !important;
}

would change background to black.  You can make other changes to the default template as well, but it will only look different to you.

Thanks for the help guys, but I actually figured out an alternative format that works well, setting up the attack/dmg roll lines to display out what die are being rolled and the modifier leading into the final roll. 


Example:

&{template:default} {{name=Flurry ATK 1}} {{ATTACK: (1d20+[[@{Ye Fei|flurry_mod} + @{Ye Fei|class1_level} + @{Ye Fei|dexterity_mod} + @{Ye Fei|haste} + ?{Point Blank|Yes, 1|No, 0} - @{Ye Fei|deadly-aim}  + ?{ATK-Modifier|0} ]])== [[1d20 + @{Ye Fei|flurry_mod} + @{Ye Fei|class1_level} + @{Ye Fei|dexterity_mod} + @{Ye Fei|haste} + ?{Point Blank|Yes, 1|No, 0} - @{Ye Fei|deadly-aim}  + ?{ATK-Modifier|0} ]] }} {{DAMAGE: (1d8+[[@{Ye Fei|strength_mod} + ?{Point Blank|Yes, 1|No, 0} + 2*@{Ye Fei|deadly-aim} + ?{DMG-Modifier|0} ]])== [[1d8 + @{Ye Fei|strength_mod} + ?{Point Blank|Yes, 1|No, 0} + 2*@{Ye Fei|deadly-aim} + ?{DMG-Modifier|0} ]] }}