
That was my original guess as well, but the attribute not found is problematic. I have a feeling he's using a different sheet.
Mark. We're these the three you were referring to when I had the issue using the "monstrosity" macro on NPCs. These three give me my current problem. I'll go through the code and compare my pasted version to your posted version. And I'm definitely using the Shaped sheet.Mark said:
I did Saves, Checks, and Skills if anyone wanted to reference them - they follow the same pattern.
@Benson: All are on my sheet so no need to make skills. Hoping Roll20 can fix this bug with custom skills: Roll query prompt breaks when using a single quote
I think weapons should likely be their own macros - there is a LOT of complexity there. Plus weapons are used every round and shortening the time to attack with it is better imo. Though maybe.
Mark said:
You can't reference macros in the roll query stuff - you have to recreate them.
@{Thormund|output_option} &{template:5eDefault} {{weapon=1}} {{character_name=@{Thormund|character_name}}} @{Thormund|show_character_name} {{title=Frostbrand}} {{subheader= [Frostbrand](http://i.imgur.com/St8CP3R.png) Melee • 5 }} {{attack=[[d20 + 0 + @{Thormund|PB} + (@{Thormund|global_melee_attack_bonus}) + @{Thormund|strength_mod}]]}} {{attackadv=[[d20 + 0 + @{Thormund|PB} + (@{Thormund|global_melee_attack_bonus}) + @{Thormund|strength_mod}]]}} {{damage=[[1d6 + @{Thormund|strength_mod}]] slashing damage + [[1d6]] cold damage}} {{attackcancrit=1}} {{critdamage=[[1d6 + @{Thormund|strength_mod}]] slashing damage + [[1d6]] cold damage}} |
{{Divine Strike = If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}} |
@{Thormund|output_option} &{template:5eDefault} {{weapon=1}} {{character_name=@{Thormund|character_name}}} @{Thormund|show_character_name} {{title=Frostbrand}} {{subheader= [Frostbrand](http://i.imgur.com/St8CP3R.png) Melee • 5 }} {{attack=[[d20 + 0 + @{Thormund|PB} + (@{Thormund|global_melee_attack_bonus}) + @{Thormund|strength_mod}]]}} {{attackadv=[[d20 + 0 + @{Thormund|PB} + (@{Thormund|global_melee_attack_bonus}) + @{Thormund|strength_mod}]]}} {{damage=[[1d6 + @{Thormund|strength_mod}]] slashing damage + [[1d6]] cold damage}} {{attackcancrit=1}} {{critdamage=[[1d6 + @{Thormund|strength_mod}]] slashing damage + [[1d6]] cold damage}} {{Divine Strike = If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}} |
{{freetextname=Divine Strike}} {{freetext=If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}}
{{rollname=Divine Strike}} {{roll=If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}}
I actually changed this and showclassactions is no longer required to show all the fields on the shaped version.Silvyre said:
Without the presence of the showclassactions or outputall fields, the 5eDefault Roll Template will only display standard fields.
I'm still waiting to see if anything breaks for anyone, but it works on the sheet without issue.Silvyre said:
That's good to know. Thanks.
Silvyre said:
Without the presence of the showclassactions or outputall fields, the 5eDefault Roll Template will only display standard fields.
I recommend using the freetextname and freetext freetext fields like so:{{freetextname=Divine Strike}} {{freetext=If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}}
Alternatively, you could use the rollname and roll fields, like so:{{rollname=Divine Strike}} {{roll=If Divine Strike is used (once per turn), deal an extra [[1d8]] thunder damage}}
If you're using a query it all has to be pretty much self contained in the query.alucard d. said:
would there be a way to make it so that the one with the query tells the others what dice to roll or would i need to change each one when it goes from d8 to d10
Mark said:
If you're using a query it all has to be pretty much self contained in the query.alucard d. said:
would there be a way to make it so that the one with the query tells the others what dice to roll or would i need to change each one when it goes from d8 to d10
You would only have to change 1 query select and it would do the appropriate thing. It would follow the same html entities for curly brackets that I did with saves, checks, and skills.alucard d. said:
was seeing it it was possble i would rather have just 1 number to change vs several
alucard d. said:
I got a question ...
[[1d[[ 8 + floor(@{selected|fighter_level}/10)*2 + floor(@{selected|fighter_level}/18)*2 ]] ]]This will calculate the size of your Superiority Die. (In the Example below I use Class Action Row 5)
**Riposte:** • When a creature **Misses** me with a melee attack; I can use my **Reaction** and expend one Superiority Die to make a melee weapon attack against the creature. • If I hit; I **Add** the Superiority Die Roll of: @{classactionoutput5} to the attack's damage roll.Here is the Riposte Manuever is set up as a class action that refrences @{classactionoutput5} for the size of the Superiority Die.
**Commander’s Strike:** • When I take the Attack action on my turn; I can forgo one of my attacks and use a **Bonus Action** to direct one of my companions to strike. • When I do so; I choose a friendly creature who can see or hear me and expend one superiority die. That creature can **Immediately** use its **Reaction** to make one weapon attack, **Adding** the Superiority Die Roll of: @{classactionoutput5} to the attack’s damage roll.Here is the Commander's Strike Manuever is set up as a class action that refrences @{classactionoutput5} for the size of the Superiority Die.
{{freetext=?{Manuever Used|None,**No Manuever Used**|Riposte,@{classactionoutput10}|Commander's Strike,@{classactionoutput11} } }}
Mark said:
If you want to duplicate the Shaped sheet's functionality for a save use this:@{selected|output_option} &{template:5eDefault} {{save=1}} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=Save}} {{subheader=Saving Throw}} {{rollname=Result}} {{roll=[[d20@{selected|d20_mod} + ?{Ability|Strength, @{selected|strength_save_mod} |Dexterity, @{selected|dexterity_save_mod}|Constitution, @{selected|constitution_save_mod}|Intelligence, @{selected|intelligence_save_mod}|Wisdom, @{selected|wisdom_save_mod}|Charisma, @{selected|charisma_save_mod} } + (@{selected|global_saving_bonus})]]}} {{rolladv=[[d20@{selected|d20_mod} + ?{Ability|Strength, @{selected|strength_save_mod} |Dexterity, @{selected|dexterity_save_mod}|Constitution, @{selected|constitution_save_mod}|Intelligence, @{selected|intelligence_save_mod}|Wisdom, @{selected|wisdom_save_mod}|Charisma, @{selected|charisma_save_mod} } + (@{selected|global_saving_bonus})]]}} @{selected|classactionstrengthsave}It does everything but the title.
Though I'll have to follow the earlier model to show the name or skills won't work.
I'll tweak it and add it to the shaped sheet when I'm done.
&{template:5eDefault} {{title=Espada Larga}} {{weapon=1}}{{show_character_name=1}} {{character_name=@{character_name}}} {{melee=1}} {{reach=5 ft}} {{attack=[[1d20cs>20@{d20_mod}+@{strength_mod}[stat bonus]+@{PB}[proficiency]+(@{global_weapon_attack_bonus})[global weapon attack bonus]+(@{global_melee_attack_bonus})[global melee attack bonus]]]}} {{attackadv=[[1d20cs>20@{d20_mod}+@{strength_mod}[stat bonus]+@{PB}[proficiency]+(@{global_weapon_attack_bonus})[global weapon attack bonus](@{global_melee_attack_bonus})[global melee attack bonus]}]]}} ?{Versatile|One-handed, {{damage=[[1d8+@{strength_mod}[stat bonus]+(@{global_weapon_damage_bonus})[global weapon damage bonus]+(@{global_melee_damage_bonus})[global melee damage bonus]]] slashing}} {{critdamage= Aditional [[1d8]]}} {{subheader=One-handed}}|Two-handed, {{damage=[[1d10+@{strength_mod}[stat bonus]+(@{global_weapon_damage_bonus})[global weapon damage bonus]+(@{global_melee_damage_bonus})[global melee damage bonus]]] slashing}} {{critdamage= Aditional [[1d10]]}} {{subheader=Two-handed}}{{freetext=Deja de usar el escudo por una ronda. **AC** [[-2]]}}}
the freetext bit is what im having problems getting it to output the right stuff i have the right classsactionoutputs but when i use the drop down its not calling the Manuever im not sure if it has to do i dont know much about doing anything with a token or im missing something because i dont know what you mean by add this in your token action im getting the attack but im getting {{freetext=classactionoutput4 }}instad of the Manuever and i do Thank you for your time and effertWes said:
4. Finally for the Select Menu Query (ADD THIS IN YOUR TOKEN ACTION){{freetext=?{Manuever Used|None,**No Manuever Used**|Riposte,@{classactionoutput10}|Commander's Strike,@{classactionoutput11} } }}
Output to Chat:
Important to Note: In the Class Actions, I replaced the "Commas" with "Semi-Colons" as a comma will prematurly end the Queries output to chat.
Also, This is from the Standard 5e Sheet, But I believe it will also work in the Shaped 5e Sheet. (But someone can correct me if I'm wrong)
You've referenced an earlier version. I posted later versions - use those. d20_mod is indeed halfling luck.Yadira said:
I tried this macro and the global save bonus was added twice, It seems @{selected|ABILITY_save_mod} already includes it. (using the shaped sheet), so i had to remove @{selected|global_saving_bonus}.
One question, just beginning to use roll20 here, what does @{selected|d20_mod} do? couldn't find that variable on the wiki.
And, is there a way to include the @{selected|classactionstrengthsave} inside the query, so it only publish the output of stregth saves when you choose strength? (and classactiondexteritysave for Dex, etc...) Out of curiosity I tried and it broke the macro, so I'd like to know if it's possible.
ETA: I think i figured out the @{selected|d20_mod}, is it the Halfling Luck?
And here is my first macro using the new query, a macro for a versatile weapon. It seems to work ok.&{template:5eDefault} {{title=Espada Larga}} {{weapon=1}}{{show_character_name=1}} {{character_name=@{character_name}}} {{melee=1}} {{reach=5 ft}} {{attack=[[1d20cs>20@{d20_mod}+@{strength_mod}[stat bonus]+@{PB}[proficiency]+(@{global_weapon_attack_bonus})[global weapon attack bonus]+(@{global_melee_attack_bonus})[global melee attack bonus]]]}} {{attackadv=[[1d20cs>20@{d20_mod}+@{strength_mod}[stat bonus]+@{PB}[proficiency]+(@{global_weapon_attack_bonus})[global weapon attack bonus](@{global_melee_attack_bonus})[global melee attack bonus]}]]}} ?{Versatile|One-handed, {{damage=[[1d8+@{strength_mod}[stat bonus]+(@{global_weapon_damage_bonus})[global weapon damage bonus]+(@{global_melee_damage_bonus})[global melee damage bonus]]] slashing}} {{critdamage= Aditional [[1d8]]}} {{subheader=One-handed}}|Two-handed, {{damage=[[1d10+@{strength_mod}[stat bonus]+(@{global_weapon_damage_bonus})[global weapon damage bonus]+(@{global_melee_damage_bonus})[global melee damage bonus]]] slashing}} {{critdamage= Aditional [[1d10]]}} {{subheader=Two-handed}}{{freetext=Deja de usar el escudo por una ronda. **AC** [[-2]]}}}
You should use @{show_character_name} instead of "{{show_character_name=1}}" as it references the setting on the sheet. I'd also suggest using "action_damage" and "action_damage_type" instead of damage. Really you should just use a new weapon and mimic that.Oh, ok. I used "damage" just because that's what the wiki says you should use when using {weapon=1}. By a "new weapon," you mean a weapon macro made recently? (sorry, English is not my first language). Thanks for the help :)
?{Maneuver Used|None,**No Manuever Used**|Riposte,@{classactionoutput10}|Commander's Strike,@{classactionoutput11} }
Attack using Sheet Button with Class Action | Attack using created Token Action |
![]() | ![]() |
{{#freetext}} <div class="sheet-row"> <div class="sheet-col-1 sheet-rt-key">{{freetextname}}</div> <div class="sheet-col-1 sheet-rt-value">{{freetext}}</div> </div> {{/freetext}}Use it.
&{template:5eDefault} {{ability=1}} {{title=Riposte}} {{subheader=@{character_name}}} {{subheader2=Battle Master Maneuver}} {{emote=parries a missed attack}} @{repeating_weapons_melee_0_macro} {{Require=a missed hit against @{character_name} from an enemy within melee reach}} {{Action= Reaction Melee Attack}} {{Source=one of [[@{repeating_classresources_2_ClassResourceTotal}]] remaining superiority dice}} {{Effect = [[1d8]] additonal damage to a successful melee attack}}And here are a few other battle master maneuvers
&{template:5eDefault} {{ability=1}} {{title=Distracting Strike}} {{subheader=@{character_name}}} {{subheader2=Battle Master Maneuver}} {{emote=distracts his enemy}} {{Require=a successful hit}} {{Action= part of current Attack}} {{Source=one of [[@{repeating_classresources_2_ClassResourceTotal}]] remaining superiority dice}} {{effects = [[1d8]] additional damage and the next ally's attack roll has **advantage** against the same target}}
&{template:5eDefault} {{ability=1}} {{title=Menacing Attack}} {{subheader=@{character_name}}} {{subheader2=Battle Master Maneuver}} {{emote=gives a frightening growl}} {{Require=a successful hit}} {{Action= part of current Attack}} {{Source=one of [[@{repeating_classresources_2_ClassResourceTotal}]] remaining superiority dice}} {{Effect = [[1d8]] additional damage}} {{Save = WIS DC [[8+@{PB}+@{strength_mod}]]}} {{Fail Effect = the target enemy is **frightened** until the end of my next turn}} {{Frightened = has *disadvantage* on ability checks and attack rolls while the source of the fear is within line of sight **AND** cannot willingly move closer to the source of its fear}}
&{template:5eDefault} {{ability=1}} {{title=Rally}} {{subheader=@{character_name}}} {{subheader2=Battle Master Maneuver}} {{emote=bolsters the resolve of his companion}} {{Required=an ally who can see or hear @{character_name}}} {{Action= Bonus Action}} {{Source = one of [[@{repeating_classresources_2_ClassResourceTotal}]] remaining superiority dice}} {{Effect=grants [[1d8+@{charisma_mod}]] temporary hit points to the ally}}
&{template:5eDefault} {{ability=1}} {{title=Sweeping Attack}} {{subheader=@{character_name}}} {{subheader2=Battle Master Maneuver}} {{emote=extends his attack to another enemy}} {{Require=a successful hit}} {{Action= part of current Attack}} {{Source=one of [[@{repeating_classresources_2_ClassResourceTotal}]] remaining superiority dice}} {{Target = another enemy within 5ft of the original target and within melee reach}} {{ If = the original attack roll meets new target's AC}} {{Damage = [[1d8]] damage to new target}}And he has the sentinel feat (note: put emote after macro options for it to rewrite it)
&{template:5eDefault} {{attack_roll=1}} {{title=Sentinel Feat}} {{subheader=@{character_name} • @{repeating_weapons_melee_0_name}}} {{subheader2=Reaction Melee Attack • @{repeating_weapons_melee_0_reach}}} @{repeating_weapons_melee_0_macro_options} @{repeating_weapons_melee_0_macro} {{emote=takes advantage of his enemy's guard}} {{Action=any opportunity attack}} {{Can take Action if=an **attack** on an ally within 5 ft of Lander and from an enemy within melee reach}} {{ = or an enemy **disengages** and leaves melee reach}} {{effects = if the attack is successful, the enemy's speed becomes [[0]] for the rest of its turn}}
Save DC ``11`` On Failed [[2D6]] Fire Damage On Successful save Half Damage
Benson Y. said:
Discovered another cool formatting tool for us to use, just posting this in-case no one else knew about it. It displays the text in a cool "code" box, while also highlighting the text within it in red.
Neat.
I can see at least one practical application that I will definitely be putting to use.&{template:default} {{name=Initiative Test}}{{@{selected|token_name}'s Initiative=[[ floor(?{Is @{selected|token_name} surprised?|No, 1|Yes, 0.5}*[[ @{selected|I}+ 1t[Probability] ]]) &{tracker} ]] }}
/w @{target|token_name} ?{"What"|um}
@{selected|token_name} *speaks low.* to @{target|token_name}
/w @{target|token_name} ?{"What"|um}I've actually set-up a set of communication macros in my game which include:
@{selected|token_name} *speaks low.* to @{target|token_name}
/talktomyselfWhisper-GM - another simple macro to give players a button to click when they want to talk secretly to the GM.
/em GM Secrecy
/w GM ?{"Message"|Action/Query}
/w @{target| Whisper to whom? |token_name} ***?{"What"|You notice...}***and then
/w @{target|token_name} ?{"What"|um}
@{selected|token_name} *speaks low.* to @{target|token_name}
Didz said:
(How do you create those tinted boxes behind the macro text?)
Didz said:
I think perhaps Whisper-Witnessed really needs to prompt for selection of the both whisperer and the whispered to, or do something to check that a token has been selected before prompting for a target token.
/w @{target| Whisper to whom? |token_name} ?{"What"|um} @{target| Who's whispering? |token_name} *speaks low.* to @{target| Whisper to whom? |token_name}
HLazar said:
Didz said:
(How do you create those tinted boxes behind the macro text?)
In the toolbar above the Post Reply text box there is a paragraph symbol button. Press it and select code. Then you can paste the code in the box. If you want a new paragraph without code, press down arrow to move the cursor down onto a new line.
There was a good image in a post but I could not find it.
H
I think I found it^^
Silvyre said:
Didz said:
I think perhaps Whisper-Witnessed really needs to prompt for selection of the both whisperer and the whispered to, or do something to check that a token has been selected before prompting for a target token./w @{target| Whisper to whom? |token_name} ?{"What"|um} @{target| Who's whispering? |token_name} *speaks low.* to @{target| Whisper to whom? |token_name}
&{template:5eDefault} {{ability=1}} {{title=@{selected|token_name}}} {{subheader=Saving Throw}}} {{Result=[[1d20]] | [[1d20]]}} {{=+?{Saving Throw|Strength, [[(@{selected|strength_save_mod})]] **Strength**|Dexterity, [[(@{selected|dexterity_save_mod})]] **Dexterity**|Constitution, [[(@{selected|constitution_save_mod})]] **Constitution**|Intelligence, [[(@{selected|intelligence_save_mod})]] **Intelligence**|Wisdom, [[(@{selected|wisdom_save_mod})]] **Wisdom**|Charisma, [[(@{selected|charisma_save_mod})]] **Charisma**}}} @{selected|classactioncustom1skill}
Mark said:
Kaelev, are you using the shaped sheet? If so you can reference the save macro I put on the sheet.
@{selected|save_query_macro}
Huh? You just put that in chat while you have a token selected. Or in a journal's token abilities with a token selected.Kaelev said:
Where would I fit that in? Looks easier. :)
Mark said:
Huh? You just put that in chat while you have a token selected. Or in a journal's token abilities with a token selected.Kaelev said:
Where would I fit that in? Looks easier. :)
Or add a name instead of "selected" and you don't need a token selected.
If you're using the shaped sheet there are lots of hidden things on my thread. I'm quite bad at updating the wiki.Kaelev said:
Oh! Didn't realize that. That's super easy, lol.