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

Roll Template "PFAttack" doesn't work

The roll buttons in front of the various attack weapons doesn't display results in the chat box in my Pathfinder campaign. It only displays "(player name) is attacking with (weapon name)" in normal format (the orange box), then nothing. It seems to have to do with the "PFAttack" template, because saves or simple melee or ranged checks (with the "pf_attack" template) display normally (well, in a black&white box, if that's normal)...
1428488736
Nibrodooh
Pro
Sheet Author
assuming you are using the standard pathfinder sheet, could you post the contents of the macro text field? also bug reports for the pathfinder character sheet belong in the thread linked to at the bottom of the sheet.
1428490856
Ziechael
Forum Champion
Sheet Author
API Scripter
As this is a character sheet related issue I will move this to the appropriate forum.
Contents of the macro text field : /em is attacking with @{name} &{template:PFAttack} {{name=@{character_name}'s @{name}}} {{subtags=@{type}}} {{attack=[[1d20cs>@{crit-target}+@{total-attack}]]}} {{damage=[[@{damage-dice-num}d@{damage-die}+@{total-damage}]]}} {{confirm=[[1d20+@{total-attack}]]}} {{dmgcrit=[[(@{damage-dice-num} * (@{crit-multiplier} - 1))d@{damage-die} + (@{total-damage} * (@{crit-multiplier} - 1))]]}} {{notes=@{notes}}} {{attk-notes=@{attack-notes}}}} And this is the standard (Marino created) character sheet. And WebGL doesn't work on my computer, if this could be somehow related. Sorry for the misplaced post!
1428534219
Nibrodooh
Pro
Sheet Author
By the looks of it the character was created on the legacy sheet and transferred to the regular sheet. The fix for this is to replace the macro text with the sheet default macro text wich is as follows: &{template:pf_attack} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=@{name}}} {{attack=[[1d20cs>@{crit-target} + @{total-attack}]]}} {{damage=[[@{damage-dice-num}d@{damage-die} + @{total-damage}]]}} {{crit_confirm=[[1d20 + @{total-attack}]]}} {{crit_damage=[[(@{damage-dice-num} * (@{crit-multiplier} - 1))d@{damage-die} + (@{total-damage} * (@{crit-multiplier} - 1))]]}} {{type=@{type}}} {{description=@{notes}}
1428609451

Edited 1428610352
Thanks very much, that's what I did (the sheet transfer, forgot to mention it), and it works now! But the look of the template on the Legacy Sheet was different, how come we can't use it on the standard one? Could we use different ones on our Abilities macros for example, to personalize each player?
1428637930
vÍnce
Pro
Sheet Author
Each sheet author has created templates designed specifically for that sheet. Currently you would need to modify(Mentor level feature) a sheet to use a custom made template. With the proper coding it may be possible for a sheet to offer multiple roll templates, but I'm not aware of a sheet that has this feature, yet...
It would be so much clearer in the Chat Archive, and the players would love it... Thanks again, guys.
What do I have to write to make the &{template:PFAttack} work when not in a game that uses the pathfinder sheets?
1430350456
vÍnce
Pro
Sheet Author
Bjørn said: What do I have to write to make the &{template:PFAttack} work when not in a game that uses the pathfinder sheets? Hi Bjorn. &{template:pf_attack} is written specifically for the Pathfinder sheet. You can try using &{template:default} in your macros which is a special "universal" template that's built-into roll20. Wiki link (<a href="https://wiki.roll20.net/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates</a>) Cheers