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

Can someone please help me for a macro

Hello, I am trying to make a macro I found to cast cure wounds spells&nbsp; :&nbsp;&nbsp; &amp;{template:pf_attack} {{header_image_melee=[Melee](<a href="http://i.imgur.com/1QEl2bG.png" rel="nofollow">http://i.imgur.com/1QEl2bG.png</a>)}} {{character_name=@{Cteek|character_name}}} {{character_id=@{Cteek|character_id}}} {{name=?{Cure Spell|Cure Light,Cure Light Wounds &amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(1d8+{5&amp;#44; @{Cteek|spellclass-0-level-total}&amp;#125;kl1)) ]] HP | Cure Moderate, Cure Moderate Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(2d8+{10&amp;#44; @{Cteek|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Serious, Cure Serious Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(3d8+{15&amp;#44; @{Cteek|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Critical, Cure Critical Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(4d8+{20&amp;#44; @{Cteek|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Wand of Cure Light,Use his Wand of Cure Light Wounds&amp;#125;&amp;#125; {{ @{target|character_name} Heals =[[ 1d8+5 ]] HP } }} My problem is I do not understand what "&nbsp;spellclass-0-level-total " is and it causes the macro to not work. I followed this thread on it:&nbsp; <a href="https://app.roll20.net/forum/post/2159164/post-your-macros-here-pt-3/?pageforid=2358799#post-2358799" rel="nofollow">https://app.roll20.net/forum/post/2159164/post-your-macros-here-pt-3/?pageforid=2358799#post-2358799</a> Is there someone that can guide me or help please ?&nbsp; PS : Sorry for bad english.
1698711333
Gauss
Forum Champion
Hi Fynax, Which character sheet are you using? If you don't know please supply a screenshot of the character sheet.&nbsp;
1698712150

Edited 1698712244
vÍnce
Pro
Sheet Author
That's an old post... ;-) The macro's in that thread are for the Pathfinder Community Sheet. try this; (I used selected instead of "Cteek" just to make it more universal) &amp;{template:pf_attack} {{header_image=[Melee](<a href="http://i.imgur.com/1QEl2bG.png" rel="nofollow">http://i.imgur.com/1QEl2bG.png</a>)}} {{character_name=@{selected|character_name}}} {{character_id=@{selected|character_id}}} {{name=?{Cure Spell|Cure Light,Cure Light Wounds &amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(1d8+{5&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP | Cure Moderate, Cure Moderate Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(2d8+{10&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Serious, Cure Serious Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(3d8+{15&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Critical, Cure Critical Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(4d8+{20&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Wand of Cure Light,Use his Wand of Cure Light Wounds&amp;#125;&amp;#125; {{ @{target|character_name} Heals =[[ 1d8+5 ]] HP } }} fyi: spellclass-0-level-total is here;
Gauss said: Hi Fynax, Which character sheet are you using? If you don't know please supply a screenshot of the character sheet.&nbsp; Hello, I don't really know which one we are using, here is a screenshot&nbsp;
vÍnce said: That's an old post... ;-) The macro's in that thread are for the Pathfinder Community Sheet. try this; (I used selected instead of "Cteek" just to make it more universal) &amp;{template:pf_attack} {{header_image=[Melee](<a href="http://i.imgur.com/1QEl2bG.png" rel="nofollow">http://i.imgur.com/1QEl2bG.png</a>)}} {{character_name=@{selected|character_name}}} {{character_id=@{selected|character_id}}} {{name=?{Cure Spell|Cure Light,Cure Light Wounds &amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(1d8+{5&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP | Cure Moderate, Cure Moderate Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(2d8+{10&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Serious, Cure Serious Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(3d8+{15&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Cure Critical, Cure Critical Wounds&amp;#125;&amp;#125; {{@{target|character_name} Heals =[[ floor(1.5*(4d8+{20&amp;#44; @{selected|spellclass-0-level-total}&amp;#125;kl1)) ]] HP|Wand of Cure Light,Use his Wand of Cure Light Wounds&amp;#125;&amp;#125; {{ @{target|character_name} Heals =[[ 1d8+5 ]] HP } }} fyi: spellclass-0-level-total is here; Hello, It seems we are not using the same sheet so your macro does not work on mine.
1698781878

Edited 1698782070
vÍnce
Pro
Sheet Author
You are using the roll20 official sheet for pathfinder.&nbsp; The macro examples in the thread you are copying are for the Pathfinder Community Sheet.&nbsp; The macro idea is the same, but you will need to use the roll template and specific attributes for that sheet.&nbsp; You can make a roll from the sheet and then click inside the chat input window and hit the UP arrow key to see what was rolled.&nbsp; This might help you learn the roll template.&nbsp; You should be able to hover over various input fields on the sheet to learn the attribute names.&nbsp; Use the formulas from those macros, but substitute attributes.&nbsp; More info on the official by roll20 sheet's roll template: <a href="https://wiki.roll20.net/Pathfinder_by_Roll20/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Pathfinder_by_Roll20/Roll_Templates</a> If you don't understand the official sheet's roll template, you might be better off using roll20's default template. ie &amp;{template:default}&nbsp; Not as pretty as a sheet's roll template but functional.
Hello, sorry I could not reply because of work, thanks for the answers I will check that and link the macro once I manage to make it work.