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 help

1441659486

Edited 1441659577
i am haveing trouble seeing what i am doing wrong here.... i know its gotta be something obvious.. this is using the trait/damage roll template from the tabbed savage worlds sheet... any help would be appreciated. basically i am trying to use a roll query to allow the player to decide 1, 2 or 3 bolts, or a mega bolt, and then make the appropriate rolls &{template:combined}{{header=Ceridwen}}{{trait_name=Psionics}}{{weapon=Bolt}}{{enc=-[[[[@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}]]]]}}{{ttmod=[[@{Ceridwen|ttmod}[Situational]]]}} {{skill_mod=@{Ceridwen|PsionicsskillMod}}}{{wounds= [[@{Ceridwen|wounds}]]}}{{woundsMod= [[@{Ceridwen|woundsMod}]]}} {{fatigue=@{Ceridwen|fatigue}}}{{fatigueMod= [[-1*@{Ceridwen|fatigue}]]}}{{trait_rank=@{Ceridwen|Psionics}}}{{trait_rank-mod=@{Ceridwen|Psionics}}}?{Type of Bolt|1 Bolt, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[2d6!]]}}|2 Bolts, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[2d6!]]}}{{trait_roll2=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise 1: [[1d6!]] Raise 2: [[1d6!]]}}{{damage2=[[2d6!]]}}|3 Bolts, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{damage=[[2d6!]]}}{{trait_roll2=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{damage2=[[2d6!]]}}{{trait_roll3=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise 1: [[1d6!]] Raise 2: [[1d6!]] Raise 3: [[1d6!]]}}{{damage3=[[2d6!]]}}|Mega Bolt, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[3d6!]]}}}
also, the code block above is interpreting the &# 125;, which i used for '}}'  in the roll query
It might help if you post the macro with the HTML entities intact .
attempt number 2 &{template:combined}{{header=Ceridwen}}{{trait_name=Psionics}}{{weapon=Bolt}}{{enc=-[[[[@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}]]]]}}{{ttmod=[[@{Ceridwen|ttmod}[Situational]]]}} {{skill_mod=@{Ceridwen|PsionicsskillMod}}}{{wounds= [[@{Ceridwen|wounds}]]}}{{woundsMod= [[@{Ceridwen|woundsMod}]]}} {{fatigue=@{Ceridwen|fatigue}}}{{fatigueMod= [[-1*@{Ceridwen|fatigue}]]}}{{trait_rank=@{Ceridwen|Psionics}}}{{trait_rank-mod=@{Ceridwen|Psionics}}}?{Type of Bolt|1 Bolt, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[2d6!]]}}|2 Bolts, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[2d6!]]}}{{trait_roll2=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise 1: [[1d6!]] Raise 2: [[1d6!]]}}{{damage2=[[2d6!]]}}|3 Bolts, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{damage=[[2d6!]]}}{{trait_roll2=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{damage2=[[2d6!]]}}{{trait_roll3=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise 1: [[1d6!]] Raise 2: [[1d6!]] Raise 3: [[1d6!]]}}{{damage3=[[2d6!]]}}|Mega Bolt, {{trait_roll=[[1d@{Ceridwen|Psionics}![Psionics] + @{Ceridwen|PsionicsMod}[Psionics Rank Modifier] + @{Ceridwen|PsionicsskillMod}[Skill Modifier] + @{Ceridwen|ttmod}[Situational Modifiers] +@{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}[Encumbrance Penalty] - [[@{Ceridwen|woundsMod}]][Wounds] - @{Ceridwen|fatigue}[Fatigue]]]}}{{snotes= Raise: [[1d6!]]}}{{damage=[[3d6!]]}}}
1441662005

Edited 1441662378
Are your attributes purely numerical, or are they calculated? If any attributes contain certain characters that function as roll query syntax (commas, vertical bars, closing braces), those attributes will break the query.
with the exception of the @{Ceridwen|PsionicsEncumbrance}*@{Ceridwen|encumbrance}, bit, i think they are all purely numerical. im pretty sure that that doesn't have any comma, braces, or vertical bars... it might be wounds mod....let me check
okay, it was the woundsMod attribute. thanks!