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

Having Trouble with custom Macro, Pathfinder Community Contributed sheet

So I'm not terribly good at creating a macro from scratch. I can recognize things in a pre-existing macro and edit them with (normally) no issue. This is probably the most complicated macro I've had to edit about and replace things in, however. I ripped the macro for attack and damage rolls from the Pathfinder Community Contributed sheet I think it's called, and was editing it to reference a specific weapon and added some other things in that were required for the macro. However, now it it is giving me a 'no attribute found for x' on 2 instances, x acting as a placeholder for what it actually says. As mentioned, I'm using the Pathfinder Community sheet, or whatever it is called. I'll post the portion of the macro that seems to be giving me issues, assuming it works for me. This is my first post. {{attack=[[ 1d20cs>18  [Total] + [[ 0 ]] [Macro] + @{Fildarae|repeating_weapon_$0_attack-roll} ]]}} {{damage=[[ @{Fildarae|repeating_weapon_$0_damage-roll]]}} {{crit_confirm=[[ 1d20 + [[ 18 ]] [Total] + [[ 0 ]] [Macro] + @{Fildarae|toggle_global_melee_macro_insert} + @{Fildarae|toggle_global_attack_macro_insert} + [[ 0 ]] ]]}} {{crit_damage=[[ [[ 1 * (3 - 1) ]]d10 + (([[ 29 ]] [Total] + [[ 0 ]] [Macro] + @{Fildarae|repeating_weapon_$0_damage-roll) * [[ 3 - 1 ]]) ]]}} Fildarae is the character name, for the record. anything that says 'global' in it was what was left when I ripped it from the sheet.
1629746273

Edited 1629746726
vÍnce
Pro
Sheet Author
Hi Shin, I noticed you are calling {{damage=[[ @{Fildarae|repeating_weapon_$0_damage-roll]] }} which seems to be missing a closing "}" s/b {{damage=[[ @{Fildarae|repeating_weapon_$0_damage-roll}]] }} and same thing on the second call&nbsp; @{Fildarae|repeating_weapon_$0_damage-roll) s/b @{Fildarae|repeating_weapon_$0_damage-roll}) btw; Just curious. I'm not familiar with the "damage-roll" attribute on the Pathfinder Community sheet. <a href="https://wiki.roll20.net/Pathfinder_Community_Sheet" rel="nofollow">https://wiki.roll20.net/Pathfinder_Community_Sheet</a>&nbsp; Is this a custom sheet?&nbsp; I'm guessing it may be another PF sheet... Cheers
vÍnce said: Hi Shin, I noticed you are calling {{damage=[[ @{Fildarae|repeating_weapon_$0_damage-roll]] }} which seems to be missing a closing "}" s/b {{damage=[[ @{Fildarae|repeating_weapon_$0_damage-roll}]] }} and same thing on the second call&nbsp; @{Fildarae|repeating_weapon_$0_damage-roll) s/b @{Fildarae|repeating_weapon_$0_damage-roll}) Unfortunately, this has not solved the issue, though thank you for catching that. It has been edited into the macro.
1629746921
vÍnce
Pro
Sheet Author
I would start testing by calling each attribute individually to ensure you can get a value.&nbsp; You can also strip your macro to bare minimum and re-build a little at a time to try and isolate the problem.
I was hoping to avoid doing that, honestly. But it's pure laziness that's driving that since I don't feel like rebuilding it. Though, rebuilding it now that I know how to reference my weapons directly would be better. Now if only I can find out how to reference critical damage correctly, haha.