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

[PF] Attack Macro

1490720245

Edited 1490720272
Hello, This no longer functions, I have to go into my character sheet whenever I want to attack using the pathfinder character sheets.  %{Coffee|attacks_buttons_macro}     ^character name
1490720862
Tetsuo
Forum Champion
Its been changed to %{charname|attacks}. 
1490721180

Edited 1490721724
%{coffee|attacks} did not work :(
1490721985
Tetsuo
Forum Champion
At the top of the sheet, between conditions/buffs, and the tabs(Core, defense, etc) do you see this?
Yes, that's what I am forced to use. I have to open up the character sheet to attack every time with that or the die beside the attack... 
1490722448
Tetsuo
Forum Champion
Thats definitely a bug then. %{charname|attacks} should work. Are you sure you're exactly matching what the sheet is named including upper/lowercase?
Yes
1490722834
Tetsuo
Forum Champion
Can you click the attack button I screenshotted above, then click in the chat, press up, and copy paste the results?
1490723357

Edited 1490723403
Tetsuo
Forum Champion
Once you click the button, in the text area of chat (where you type), click and press up. then copy paste the results.
%{-KeoS8RcCAHBwNBhGq1t|repeating_weapon_-kz73m0neo1p5wxpxtab_attack-roll}
1490723714
Tetsuo
Forum Champion
Try %{-KeoS8RcCAHBwNBhGq1t|attacks}
that just turns it into this %{coffee|attacks}
1490724001
Tetsuo
Forum Champion
Then your sheet is bugged. I have no idea how to correct that. %{charname|attacks} has worked on all the sheets I've tested it on.
I will just make this the macro until someone comes up with a better idea...  @{Coffee|PC-whisper} &{template:pf_attack} @{Coffee|toggle_attack_accessible} @{Coffee|toggle_rounded_flag} {{color=@{Coffee|rolltemplate_color}}} {{character_name=@{Coffee|character_name}}} {{character_id=@{Coffee|character_id}}} {{subtitle}} {{name=Double Barrel Pistol (Bajōzutsu)}} {{attack=[[ 1d20cs>[[ 20 ]] + [[ 5 ]] [Total] + 0 + @{Coffee|toggle_global_ranged_macro_insert} + @{Coffee|toggle_global_attack_macro_insert} ]]}} {{damage=[[1d8 + [[ 2 ]] [Total] + 0 + @{Coffee|toggle_global_ranged_damage_macro_insert} + @{Coffee|toggle_global_damage_macro_insert}]]}} {{crit_confirm=[[ 1d20 + [[ 5 ]] [Total] + 0 + @{Coffee|toggle_global_ranged_macro_insert} + @{Coffee|toggle_global_attack_macro_insert} + [[ 0 ]] ]]}} {{crit_damage=[[ [[ 1 * (4 - 1) ]]d8 + (([[ 2 ]] [Total] + 0 + @{Coffee|toggle_global_ranged_damage_macro_insert} + @{Coffee|toggle_global_damage_macro_insert}) * [[ 4 - 1 ]]) ]]}} {{type=P, B}} {{weapon_notes= **SECOND BARREL** [[1d20+5+?{Attack Mod.?|0}]] for [[1d8+2+?{Attack Mod.?|0}]] **Up Close and Deadly?** [[1d6]], for *half* if shot misses. **Precise Shot** **Point Blank** **+1 Magic Enchantment** **Misfire Chance:** = 1 - 3 using a cartridge, only 2 if using standard black powder. First round of combat is always 2. **Killer** +4 Damage with Critical **Calculation Support** *Invisible to Foe + 2 on attack rolls vs. foe, foe loses DEX AC* *+3 to shot if using only 1 barrel*}} 0 0 0 0 0 0 0 {{ranged_notes=@{Coffee|ranged-attack-notes}}}{{header_image=@{Coffee|header_image-pf_attack-ranged}}} {{vs=touch}} {{vstouch=touch}} {{precision_dmg1=}} {{precision_dmg1_type=}} {{precision_dmg2=@{Coffee|global_precision_dmg_macro}}} {{precision_dmg2_type=@{Coffee|global_precision_dmg_type}}} {{critical_dmg1=}} {{critical_dmg1_type=}} {{critical_dmg2=@{Coffee|global_critical_dmg_macro}}} {{critical_dmg2_type=@{Coffee|global_critical_dmg_type}}} {{attack1name=}}
1490741658
chris b.
Pro
Sheet Author
API Scripter
hitting recalc should recreate the macro text as well. or you can try forcing it to recreate itself by changing the "group" field, which would tell the menu to regenerate itself. you can also try @{characterid|attacks-macro} that is the macro text that is called by the button.
So can I link the attack macro to multiple enemy tokens, so that they can exchange in volley fire with a bonus to strike and damage based on the number firing?
chris b. said: hitting recalc should recreate the macro text as well. or you can try forcing it to recreate itself by changing the "group" field, which would tell the menu to regenerate itself. you can also try @{characterid|attacks-macro} that is the macro text that is called by the button. This worked. Problem solved