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

Official Pathfinder Character Sheet 1.22 - Question about repeating_attacks

Hi guys. Im playing an inquisitor and im trying to create a macro that gonna add the "bane" property to the current attack.  The bane property add :  +2 to hit +2 to damage ( multiplied on critical hit )  +2d6 to damage ( non multiplied on critical hit )  From what i've read on the official post one should be able to refer to the "variabile" used straight using his name.  In order to add "the on hit bonus" one should supposed to refer to " repeating_attacks_$1_atkmod " But im unablet to make it work.  Could someone help me? Thanks 
1556279797
Natha
KS Backer
Sheet Author
API Scripter
Fabrizio said: Hi guys. Im playing an inquisitor and im trying to create a macro that gonna add the "bane" property to the current attack.  The bane property add :  +2 to hit +2 to damage ( multiplied on critical hit )  +2d6 to damage ( non multiplied on critical hit )  From what i've read on the official post one should be able to refer to the "variabile" used straight using his name.  In order to add "the on hit bonus" one should supposed to refer to " repeating_attacks_$1_atkmod " But im unablet to make it work.  Could someone help me? Thanks  Hi Fabrizio. I'm not really sure about what you want to achieve, but if you want to add a number (and record the final value in the character) to an attribute  on the sheet with macros, you can't, unless using the API. If you want to recreate a macro attack with added bonuses, you can, but you need to use the full output of the roll, copy it into a new macro, and modify it. How to get the content ("macro") of a roll from the sheet: roll you normal attack from the sheet, and then place your cursor in the chat, hit the up arrow on your keyboard, and select all the text that should appear in the chat textbox.
Hi Natha,  I'll try to format again my request:  Under the section Buff i've created my own custom buff, in order to "activate" them simply flagging the check box.  This is how i've managed the "Divine Favor" buff.  As soon i activate the buff, it will add the flat value straight to "Damage" and "Attack_bonus". The "zap" next to ATK and DMG notify me that the bonus is getting processed. And the red circle are the bonus involved.  NOTE: The name of those variable are "Damage" and "Attack_bonus" QUESTION  In order to create another BUFF, i need to:  - Add a static value only to the entry of the "iterative attack n.1" -> " repeating_attacks_$id_atkmod " and " repeating_attacks_$id_damagemod " - Add a non static value ( but a +2d6 value ) -> " repeating_attacks_$1_dmgbonusdice " But im unable to make it work. 
Natha said: Hi Fabrizio. I'm not really sure about what you want to achieve, but if you want to add a number (and record the final value in the character) to an attribute  on the sheet with macros, you can't, unless using the API. If you want to recreate a macro attack with added bonuses, you can, but you need to use the full output of the roll, copy it into a new macro, and modify it. How to get the content ("macro") of a roll from the sheet: roll you normal attack from the sheet, and then place your cursor in the chat, hit the up arrow on your keyboard, and select all the text that should appear in the chat textbox. Now if your answer is still valid after my explanation of what im trying to achive. - Im not using API, so i'll be not able to make this operation?  - I've tried to "hit the up arrow on your keyboard, and select all the text" in order to create a custom macro with the content from the sheet, but im unable to make the copy
1556439529
Natha
KS Backer
Sheet Author
API Scripter
Fabrizio said: Hi Natha,&nbsp; I'll try to format again my request:&nbsp; (...) Hi Fabrizio. Thanks for the details. I'm sorry to say the sheet only handles attributes listed here, for buffs:&nbsp; <a href="https://wiki.roll20.net/Pathfinder_Official#Buffable_Stats" rel="nofollow">https://wiki.roll20.net/Pathfinder_Official#Buffable_Stats</a>
1556440103

Edited 1556440135
Natha
KS Backer
Sheet Author
API Scripter
Fabrizio said: - I've tried to "hit the up arrow on your keyboard, and select all the text" in order to create a custom macro with the content from the sheet, but im unable to make the copy Once the roll macro code appears in the chat, after hitting the up arrow, click anywhere in the chat box, use Ctrl+A to select the text and Ctrl+C to copy the content (if you're on PC, on Mac, I guess Cmd+A and Cmd+C ?) Gif: @{Amiri|whispertype} &amp;{template:pc} {{name=Large Bastard Sword}} {{type=attackdamage}} {{showchar=@{Amiri|rollshowchar}}} {{charname=@{Amiri|character_name}}} {{nonlethal=[[1[Nonlethal]]]}} {{attack=1}}{{roll=[[1d20cs&gt;19 + 5[CàC] + 0[] + -2[MOD] + 0[TEMP] + (@{Amiri|attack_condition})[CONDITION] + @{Amiri|rollmod_attack}[QUERY] ]]}} {{critconfirm=[[1d20cs20 + 5[CàC] + 0[] + -2[MOD] + 0[TEMP] + (@{Amiri|attack_condition})[CONDITION] + @{Amiri|rollmod_attack}[QUERY] ]]}}{{atkvs=(CàC vs. CA)}}{{shownotes=[[1]]}}{{notes=}}{{damage=1}} {{dmg1flag=1}} {{dmg1=[[2d8+4[FOR] + 2[MOD] + 0[TEMP] + @{Amiri|rollmod_damage}[QUERY]]]}}{{dmg1type=Slashing}}{{dmg1crit=[[((2d8+2d8) + (4[FOR] + 2[MOD] + 0[TEMP] + @{Amiri|rollmod_damage}[QUERY]) * 2)]]}} {{conditionsflag=[[@{Amiri|attack_condition}]]}} {{conditions=@{Amiri|conditions_display}}} {{conditionsnote= @{Amiri|attack_condition_note}@{Amiri|damage_condition_note}}}
Natha said: Fabrizio said: Hi Natha,&nbsp; I'll try to format again my request:&nbsp; (...) Hi Fabrizio. Thanks for the details. I'm sorry to say the sheet only handles attributes listed here, for buffs:&nbsp; <a href="https://wiki.roll20.net/Pathfinder_Official#Buffable_Stats" rel="nofollow">https://wiki.roll20.net/Pathfinder_Official#Buffable_Stats</a> Thx for the link, i've missed that guide. Indeed there's no reference to the attribute i wanna edit.&nbsp; But your other video allowed me to recover the macro used and now should be a breeze to encapsulate that macro in a custom macro.&nbsp; Thank you :) Awesome support and community&nbsp;&nbsp;