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

How do you include multiplication in skills macros?

Might you know how to multiply skill macros? Example: @{(acrobatics-macro)*2} though that doesn't work. I've also tried editing the macro manually like so &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag} {{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic-skill}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=^{acrobatics}}} {{(Check=[[ @{skill-query} + [[ @{Acrobatics} ]] + [[ @{checks-cond} + @{buff_check_skills-total} + @{buff_Check-total)*2} ]] ]]}} @{Acrobatics-ut} @{skill_options} @{Acrobatics-cond-notes} {{generic_note=@{Acrobatics-note}}} which also doesn't work.
1502840116
vÍnce
Pro
Sheet Author
Which part do you want to multiply Kevin?  If it just the total of a skill, you can use "(@{Acrobatics}*2)", if you want to include everything in the skill check macro... try changing just the check property of your macro &{template:pf_generic} @{toggle_accessible_flag} @{toggle_rounded_flag} {{color=@{rolltemplate_color}}} {{header_image=@{header_image-pf_generic-skill}}} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{subtitle}} {{name=^{acrobatics}}} {{Check=[[ ( @{skill-query} + [[ @{Acrobatics} ]] + [[ @{checks-cond} + @{buff_check_skills-total} + @{buff_Check-total} ]] )*2 ]] }} @{Acrobatics-ut} @{skill_options} @{Acrobatics-cond-notes} {{generic_note=@{Acrobatics-note}}}
1502984921

Edited 1502985105
Thanks Vince! The (@{Acrobatics}*2)}} did not work. I simply posted that into a blank macro to test it and it comes out as (10*2) The other one worked tho, the large macro stuff. Super. 
Try the square brackets, which will consolidate results into a single result. Try  [[ @{Acrobatics} * 2 ]] and see if that works
1503013438

Edited 1503040651
vÍnce
Pro
Sheet Author
Sorry Kevin, I should have been more detailed.  (@{Acrobatics}*2) should work if it's inside an inline roll's double brackets "[[ ]]"  You would basically replace "@{Acrobatics}" with "(@{Acrobatics}*2)" within your skill macro text.  glad to hear you go it working,  Cheers