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 .
×

Have some questions with macro!

Hi i am new to a roll20 and i really like it but, i have 2 questions Ill say that i am not a pro user (Havent payed) i have read a tons of FAQ and guides had wrote a LOT of macroses and NPCs HELL 3 days of work and now my game works really nice, but i have a problem with macroses. 1) found a #rollWasCrit wich chesk if roll is crit Can i use it as not pro player in my game??? and if yes can you write a basic macro with it. 2) I really like multiply choises in macro i have wrote a macro for player wich uses 15 different dirty tricks to do a succses hit. But than i unite template and multi choise macro it displays incorrect. Here is a spample, i want to create a spell-book I have 2 spells &{template:default} {{name=Ice}} {{AC=[[1d20cs>3cf<2]]}} {{DMG=[[(@{INT}*1)d3]] from [[@{INT}*1*3]]}} {{Crit=[[(@{INT}*1*2)d3]] из [[@{INT}*2*3]]}} {{INT=@{INT}}} {{Cost=10 MP}} &{template:default} {{name=Fire}} {{AC=[[1d20cs>6cf<5]]}} {{DMG=[[(@{INT}*2)d3]] from [[@{INT}*2*3]]}} {{Crit=[[(@{INT}*2*2)d3]] из [[@{INT}*2*2*3]]}} {{INT=@{INT}}} {{Cost=10 MP}} and i want to make a spell book wich allows me to cast 2 different spells. ?{Spells?|Ice,#Ice |Fire,#Fire } And it doesnt work correct ofc i can make spells look liek just a chat massage, but i really like templates/ can anyone help me with creating spellbook and not 20 macroses with spells?
1460424390

Edited 1460425424
Hey, GM ! Those are two great questions! 1) found a&nbsp;#rollWasCrit wich chesk if roll is crit Can i use it as not pro player in my game??? and if yes can you write a basic macro with it. If the Creator of your game is a Pro subscriber, your game would be able to make use of a customized Character Sheets and customized Roll Templates . The advantage of a customized Character Sheet is the capacity to add the capacity to add Roll Templates to your game (or adjust existing ones), regardless of whether or not your game uses a Character Sheet, and regardless of whether or not that Character Sheet already includes Roll Templates. As a player in the game of a Pro subscriber, you have access to API Scripts . PowerCards is an API Script which I might describe as "Roll Templates on steroids". It is much simpler to learn how to implement PowerCards within a game in your game than it is to learn how to write/customize Roll Templates. PowerCards' "conditionals" feature allows you to very easily produce the same results as a Roll Template using #rollWasCrit. I very highly recommend using PowerCards for this! :) Regardless of whether or not the Creator of your game is a Pro subscriber, a few Character Sheets (e.g. for D&D 3.5/5e and PF, to name a few) already come with Roll Templates that make use of the #rollWasCrit Helper Function . Anyone (regardless of subscriber level) who uses such a sheet in their game can harness the power of #rollWasCrit by building macros using the sheet-specific Roll Template macro-building syntax. Many such sheets ideally use their pages on the Roll20 Wiki to document such syntax. In either case, here's the basic idea behind using #rollWasCrit in a macro: A Roll Template using a #rollWasCrit will have at least two special {{properties}} with a unique propertyname, e.g. The property {{spell_crit=+[[ 2d6 ]]}} (which has the propertyname attack_crit) The property {{spell_attack=[[ 1d20cs&gt;18 ]]}} The property named spell_crit will only display if the roll within spell_attack (e.g. 1d20) resolves to be within the roll's Critical Success threshold (e.g. cs&gt;18, i.e. the spell_crit property will display if and only if the 1d20 roll resolves to be greater than or equal to 18). A hypothetical macro would look like: &{template:silvyre} {{spell_attack=[[ 1d20cs&gt;18 ]]}} {{spell_crit=+[[ 2d6 ]]}} I have 2 spells &{template:default} {{name=Ice}} {{AC=[[1d20cs&gt;3cf&lt;2]]}} {{DMG=[[(@{INT}*1)d3]] from&nbsp;[[@{INT}*1*3]]}} {{Crit=[[(@{INT}*1*2)d3]] из [[@{INT}*2*3]]}} {{INT=@{INT}}} {{Cost=10 MP}} &{template:default} {{name=Fire}} {{AC=[[1d20cs&gt;6cf&lt;5]]}} {{DMG=[[(@{INT}*2)d3]] from [[@{INT}*2*3]]}} {{Crit=[[(@{INT}*2*2)d3]] из [[@{INT}*2*2*3]]}} {{INT=@{INT}}} {{Cost=10 MP}} and i want to make a spell book wich allows me to cast 2 different spells. ?{Spells?|Ice,#Ice |Fire,#Fire } And it doesnt work correct ofc i can make spells look liek just a chat massage, but i really like templates/ can anyone help me with creating spellbook and not 20 macroses with spells? This is very possible (and is a great pursuit), but it can be a bit of a challenge at first to learn how to accomplish this. Here are links to Advanced Usage for Roll Queries and Roll Query Troubleshooting sections of the Roll20 Wiki, which explain why you're having difficulty getting this to work, and how to fix the issues you're having. Here are some links to forum threads, which demonstrate how to write Advanced Roll Query macros (I prefer to learn by example): <a href="https://app.roll20.net/forum/post/3045449/nesting-abilities-within-a-macro" rel="nofollow">https://app.roll20.net/forum/post/3045449/nesting-abilities-within-a-macro</a> Within one of my replies to the above thread , I link to two additional threads, which you may also find insightful. <a href="https://app.roll20.net/forum/post/3102101/pf-pathfinder-sheet-dropdown-attack-query" rel="nofollow">https://app.roll20.net/forum/post/3102101/pf-pathfinder-sheet-dropdown-attack-query</a> (This is very advanced:) <a href="https://app.roll20.net/forum/post/2900058/issue-making-a-nested-query" rel="nofollow">https://app.roll20.net/forum/post/2900058/issue-making-a-nested-query</a> Of course, the Roll20 Community and I will be more than happy to answer any questions that will, of course, come up. :)
1460452312

Edited 1460452817
Thx really helped especially on 2nd one becouse i am write now creating skills for my players and you know its a beast of work. As i understood, you need to change }} for&nbsp;&#125&#125 Ok i think it works!!! i united both of my macro and created spellbook- ?{Choose OP spell?| Ice, &{template:default&#125 {{name=Icee&#125&#125 {{AC=[[1d20cs&gt;3cf&lt;2]]&#125&#125 {{DMG=[[(@{INT}*1)d3]] from [[@{INT}*1*3]]&#125&#125 {{Crit=[[(@{INT}*1*2)d3]] из [[@{INT}*2*3]]&#125&#125 {{INT=@{INT}&#125&#125 {{Cost=10 MP&#125&#125| Fire, &{template:default&#125 {{name=Fire&#125&#125 {{AC=[[1d20cs&gt;6cf&lt;5]]&#125&#125 {{DMG=[[(@{INT}*2)d3]] from [[@{INT}*2*3]]&#125&#125 {{Crit=[[(@{INT}*2*2)d3]] из [[@{INT}*2*2*3]]&#125&#125 {{INT=@{INT}&#125&#125 {{Cost=10 MP&#125&#125} Can you check and say, have i done everythink right and wont there be any problems if i add 20 more spells in this macro. Really thx, you did a great help for me) Also extra question i know a #macro_name shortcut is there a shortcut for character abilities?&nbsp; So 1 ability could use another with single command not whole code?
To access an ability from a character you would use %{CHARACTER|ABILITY} so %{Bob|HacknSlash} for an ability named HacknSlash on the character Bob.
1460481531

Edited 1460481563
GM said: ?{Choose OP spell?| Ice, &{template:default&#125 {{name=Icee&#125&#125 {{AC=[[1d20cs&gt;3cf&lt;2]]&#125&#125 {{DMG=[[(@{INT}*1)d3]] from [[@{INT}*1*3]]&#125&#125 {{Crit=[[(@{INT}*1*2)d3]] из [[@{INT}*2*3]]&#125&#125 {{INT=@{INT}&#125&#125 {{Cost=10 MP&#125&#125| Fire, &{template:default&#125 {{name=Fire&#125&#125 {{AC=[[1d20cs&gt;6cf&lt;5]]&#125&#125 {{DMG=[[(@{INT}*2)d3]] from [[@{INT}*2*3]]&#125&#125 {{Crit=[[(@{INT}*2*2)d3]] из [[@{INT}*2*2*3]]&#125&#125 {{INT=@{INT}&#125&#125 {{Cost=10 MP&#125&#125} Can you check and say, have i done everythink right and wont there be any problems if i add 20 more spells in this macro. Looks great! I would just be careful that, when adding more spells, you make the correct HTML entity replacements. For example, if you add a spell that has a description with commas in it, those commas would need to be replaced. If you add a spell that has another Roll Query within it, the commas, closing curly braces and vertical bars would need to be replaced, etc. In addition to what&nbsp; Ed S. said, here are links to the Roll20 Wiki sections for Abilities and Nesting Abilities .
Thank you both now i understand it)