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

Pathfinder Official Sheet Macro Question

Can anyone tell me how to get this macro  &{template:npc} {{showchar=[[1]]}} {{charname=Rin Chi}} {{name=+1 Adamantine Longsword}} {{type=attack}} {{attack=[[1]]}} {{roll=[[1d20cs>[[20]]+4+?{Bonus|0}+?{Power Attack|Yes,2|No,0}]]}} {{rolldmg1=[[1d8+4]]}} {{critconfirm=[[1d20cs>[[1]]+4+?{Bonus|0}+?{Power Attack|Yes,2|No,0}]]}} {{rolldmg1crit=[[1d8+4]]}} {{rolldmg1type=Slashing}} tp work with the template:pc? currently using it with the pc template it rolls the attack and crit if there is one but doesnt show damage or crit damage im stumped as inputting a toggle for damage doesnt work either 
1524492274
Natha
KS Backer
Sheet Author
API Scripter
Sorry, the Wiki about the Official PF sheet roll template needs clarifications and corrections. If you got only one (attack) roll, (no "roll1", "roll2" etc. in the macro), you should use "dmg1", "dmg1type" etc., instead of "rolldmg1". And add the "damage=1" to tell the template to show the damage section, and then "dmg1flag=1" to tell it it has to show the first damage (among the two possible damage lines), plus "dmg1crit" for critical damage. Like: &{template:pc} {{showchar=[[1]]}} {{charname=Rin Chi}} {{type=attack}} {{name=+1 Adamantine Longsword}} {{attack=1}} {{roll=[[1d20cs>[[20]]+4+?{Bonus|0}+?{Power Attack|Yes,2|No,0}]]}} {{critconfirm=[[1d20cs>[[1]]+4+?{Bonus|0}+?{Power Attack|Yes,2|No,0}]]}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8+4]]}} {{dmg1type=Slashing}} {{dmg1crit=[[2d8+8]]}}
Thankyou good sir :) problem solved have a pleasant day