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

Elemental Burst Weapons (Pathfinder)

So, I'm wanting to put a macro into the notes for a weapon that will be a corrosive burst weapon.  I'd prefer it if the macro didn't roll the dice unless there was a critical hit.  Is there a simple macro I can put in the notes section of a weapon to do this?  (Also, not sure how to see what version of the Pathfinder char sheet we're using)
1601685608
Oosh
Sheet Author
API Scripter
You don't need the version necessarily, but which sheet are you using? The Roll20 sheet? Community sheet? And when you say "notes", do you mean on the character sheet, or the notes section that's sent to the chat log when you roll an attack with the weapon? Can you post a screenshot of where you want this damage to appear?
1601752531

Edited 1601752585
The notes section of the weapon entry, actually.  I honestly don't know if this is the Roll20 sheet, a community sheet, or what - how can I say? Attaching a screen shot... That's what I have so far - a roller that just says if I crit, then X - but I'd rather do it in a formula so that the number doesn't even pop-up unless I crit, if possible.
1601766446

Edited 1601766638
Oosh
Sheet Author
API Scripter
It looks like it's a little tricky to get a custom roll into the crit section on that sheet, due to the way it calculates the field. The easiest way would be to create a button in the description section (or the notes section, but the description is slightly cleaner looking IMO). First, create an Ability macro on the Attributes & Abilities tab of the character sheet, called corrosiveBurst, and save this as the content: &{template:pc} {{name=Corrosive Burst}} {{type=damage}} {{damage=1}} {{dmg1=[[3d10]]}} {{dmg1type=Acid}} {{dmg1flag=1}} Then, tick the Description check box for the attack and throw this in the input box: [Corrosive Burst](~bob|corrosiveBurst" style="color:green) damage on critical hit. replacing "bob" with your character name. You can just use [Corrosive Burst](~bob|corrosiveBurst) to create the button link, but the PF sheet makes it black like the rest of the text, the colour just helps it stand out a little. You'll need to manually click on the link when you roll a crit, but it's much easier than the alternative. To get the damage to roll automatically on a crit, you'll need to reconstruct the entire crit calculation and find some way to force it into the sheet macro, probably via a custom condition Attribute since those are called at the end, allowing you to overwrite the crit field with your own code. I don't know the sheet well enough to see exactly how to do it.
I don't have a "Description Check Box", but that's okay.  I've got it in there, and thank you :)  That's better than it constantly running regardless of the crit being done, and thank you :)
1601772643
Oosh
Sheet Author
API Scripter
Yeah you do, I can see it in your screenshot :) 2 lines above Notes. Doesn't matter, the Notes section will do the same job, it just has the word "Notes" there, where as the description field is blank. Just a small detail that would probably annoy me if I was using it.
I got confused and was looking in the wrong spot... I've got it added and it works great.  Thank you!