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

"No attribute found" for repeating_weapon_0_total-attack

This particular call doesn't seem to be working. I've filled out all of the weapon's forms. What am I missing?
Which sheet are you using? That could help us to narrow it down... If you're using the Pathfinder sheet by Sam, 'total' isn't part of the command. It would be %{selected|repeating_weapon_0_attack}. Other sheets, I'm not so sure about. -Phnord
Ah. Should have specified. Not sure who the author is, but the game is Pathfinder. "total-attack" is what's in our default weapon macros. "repeating_weapon_0_attack" just returns zero.
Ah, I see the problem; I've slightly modified the macro text for the weapons and I'm trying to create a button that does the same thing. I can call things like @{repeating_weapon_0_name} but not the calculated fields like total-attack and total-damage. I'm guessing this just isn't possible?
1425687587

Edited 1425687729
vÍnce
Pro
Sheet Author
Hi Eric, the you can't call the "total-" attributes because they are relying on other auto calculated attributes within the repeatable section. You can create the total your-self, it just makes for verrrrrrrrrrrrrry long macros, especially with repeatable items.
Damn shame. Oh, well. At least I've got it set up so that I don't have to click any icons to make attacks now.
1425688652
vÍnce
Pro
Sheet Author
Eric V. said: Damn shame. Oh, well. At least I've got it set up so that I don't have to click any icons to make attacks now. It is frustrating. Might I suggest leaving a comment on Official support for repeating sections in character sheets ?
1425690547

Edited 1425690606
I have an even better suggestion: a collapsible divider for sheets, like with the chat/settings/etc section. Unfortunately, I don't have any votes to post in the suggestions forum.
1425695267
vÍnce
Pro
Sheet Author
Eric V. said: I have an even better suggestion: a collapsible divider for sheets, like with the chat/settings/etc section. Unfortunately, I don't have any votes to post in the suggestions forum. Like [SHIFT+double-clicking] a journal's header?
I am trying to create a global NPC macro I can have for all NPC's. Right now the macro doesn't work right for this reason. /emas @{selected|token_name} attacks @{target|token_name} with its @{selected|repeating_weapon_0_name}! /w gm Hit: [[d20 + @{selected|repeating_weapon_0_total-attack}]] /w gm Dmg: [[@{selected|repeating_weapon_0_damage-dice-num}d@{selected|repeating_weapon_0_damage-die} + @{selected|repeating_weapon_0_total-damage}]]
1425852138

Edited 1425852235
vÍnce
Pro
Sheet Author
Victor L. said: I am trying to create a global NPC macro I can have for all NPC's. Right now the macro doesn't work right for this reason. /emas @{selected|token_name} attacks @{target|token_name} with its @{selected|repeating_weapon_0_name}! /w gm Hit: [[d20 + @{selected|repeating_weapon_0_total-attack}]] /w gm Dmg: [[@{selected|repeating_weapon_0_damage-dice-num}d@{selected|repeating_weapon_0_damage-die} + @{selected|repeating_weapon_0_total-damage}]] You can use the browser's "Inspect Element" feature on the sheets "total-" attributes to learn the formula used. Try this for your macro Victor /emas @{selected|token_name} attacks @{target|token_name} with its @{selected|repeating_weapon_0_name}! /w gm Hit: [[1d20 + @{selected|repeating_weapon_0_enhance} + @{selected|repeating_weapon_0_masterwork} + @{selected|repeating_weapon_0_attack} + @{selected|repeating_weapon_0_attack-type} + ?{Attack Mod?|0}]] /w gm Dmg: [[@{selected|repeating_weapon_0_damage-dice-num}d@{selected|repeating_weapon_0_damage-die} + @{selected|repeating_weapon_0_enhance} + @{selected|repeating_weapon_0_damage} + @{selected|repeating_weapon_0_damage-ability} + ?{Damage Mod?|0}]]
Somewhat off topic: what does "/emas" do? I know what "/e" and "/me" does, but that one is new.
1425855420

Edited 1425855818
vÍnce
Pro
Sheet Author
/emas let's the GM emote as as another token/player/npc similar to /as. Whereas /em emotes as the player or GM depending who initiated it. Chat Commands and GM Exclusive Chat Commands Cheers.
Ah, one of those "I really should read the instructions" questions. I'll try to do some more reading before asking, next time. Thanks! And sorry for the distraction.
Just noticed that character sheets and handouts now have an icon that lets you open them up in a new tab. So much better!