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

[PF] Vital Strike, as well as using Size...what do?

1511163833

Edited 1511166030
Hello Everyone! I'm stuck after quite a bit of research and (failing terribly at) making macros for two things in particular, which is really just one thing. This is using the Pathfinder character sheets. The first is getting Vital Strike to work as a query. one of my player's, a dwarf likes to power attack (which I found macros for thank goodness) and vital strike all the time. the problem I'm having is he often casts lead blades (increase damage of weapon as if it was 1 size larger) and the wizard then casts enlarge person on him. So, what I'm trying to figure out is how to query when he attacks if he is vital striking at all, and if he is, is he medium size, large size, or huge, then output the correct damage dice accordingly. I wanted to try to nest these statements, so if he chooses yes on the first (medium) it doesn't ask him the rest. however, I'm not getting something right and I can't figure out the exact syntax for the query. This is in the specific weapon "add to roll" Macro, and the Power Attack Formula is added to all melee attack rolls above the "attacks" section. Here is what I have so far: [[?{Vital Strike Medium?|Yes, 2d8|No, ?{Vital Strike Large?|Yes, 3d8|No,?{Vital Strike Huge?|Yes, 4d8|No, 0}]] EDIT: now I'm trying [[?{Vital Strike Medium?|Yes, 2|No, ?{Vital Strike Large?|Yes, 3|No, ?{Vital Strike Huge?|Yes, 4|No, 0}d8]] which just comes out terribly wrong, it comes to a dialogue box? (note, the last } is actually HTML code for it, and so are most of the bars and commas. I know I'm supposed to do that in those, I hope I'm doing it right.) My second question is getting size to work, if I could do that, then I could avoid the above issue completely, I think? If the macro could factor in size, then it would automatically adjust the damage of vital strike to the correct dice, yes? I just have no idea how to do that. when I create a buff and use @{selected|size[size] I just get a -1 to damage, humorously. EDIT: I suppose a work-around would be to simply query him for the correct damage dice at the time, though I'd like to avoid that if possible. I wouldn't mind knowing how to do that though as well, if anyone cares to throw that in my already complicated mess. In short, I have no idea what I'm doing, haha. please help? also, I'm just getting into macros so, please be gentle. thank you! ~Chris
1511196641

Edited 1511196953
chris b.
Pro
Sheet Author
API Scripter
what we usually do is have 2 entries for the attack, instead of 1 with queries. Then just put the extra dice in the XdY damage fields. Otherwise, you get the problem you are encountering.  Then you just click Attacks for the menu, then the particular attack. in the "misc" section there is a "group" field, which you can use to further subdivide your attacks on that attacks menu, so instead of "melee" you can have "vital strikes", "regular", etc to make it easier to select which attack from the menu. Another easy way is to use the query and only set 1 or 0 rather than the # of dice. then multiply this times your modifier. So on the "Extra damage" fields of each attack you could: [[(?{Vital Strike?|Y,1|N,0}*@{damage-dice-num})d@{damage-die}]] so that way, no matter what you set XdY to, then it will add another X dice to the damage roll, but not the crit roll. There is no way to change the size based on a query, unless you do something like you are doing above, and put 0d0 in for your regular damage , so the damage is totally controled by the "extra damage" and "extra crit damage" fields. But that gets really complicated and you can't see offhand what your damage is when looking at the whole list. That's how I had to implement the kinetic blast attacks. It's easier to either 1. create 2  attacks, where on one set you change the size to 1 greater, then call these your "lead blades" group, or 2. just change the dropdown right before attacking. Unfortunately to change the size dropdown I don't think there is a way to do that without either 1. opening the sheet, or 2. create a macro with the charSetAttr api. Size should be under the "misc" section. Someone (maybe you?) asked for this to be a buff so you can one click do all attacks without changing the character size itself. that's something we'll look into. right now it's my real busy time of year so i am really only fixing bugs, and Vince is super busy too.
chris b. said: what we usually do is have 2 entries for the attack, instead of 1 with queries. Then just put the extra dice in the XdY damage fields. Otherwise, you get the problem you are encountering.  Then you just click Attacks for the menu, then the particular attack. in the "misc" section there is a "group" field, which you can use to further subdivide your attacks on that attacks menu, so instead of "melee" you can have "vital strikes", "regular", etc to make it easier to select which attack from the menu. Another easy way is to use the query and only set 1 or 0 rather than the # of dice. then multiply this times your modifier. So on the "Extra damage" fields of each attack you could: [[(?{Vital Strike?|Y,1|N,0}*@{damage-dice-num})d@{damage-die}]] so that way, no matter what you set XdY to, then it will add another X dice to the damage roll, but not the crit roll. My goodness dear Sir, you've done it! I've been working on this for so long, I didn't know you could make a call to the dice number and damage die! Everything works now with that simple macro, because by using a the buffs and to increase size and choosing if they are on or off (and having a separate one that has both Lead Blades and Enlarge Person) and the power attack macro in place, When his size goes up, the weapon uses that to calculate the damage dice, which the vital strike macro calls to! (also nay, I didn't request any such feature, I'm just learning all this stuff. X3) HURRAY! thank you so much! ~Chris
1511278893

Edited 1511279338
chris b.
Pro
Sheet Author
API Scripter
I expanded the macros section of the sheet wiki to include Vital Strike And made it a little easier (hopefully) to find examples. <a href="https://wiki.roll20.net/Pathfinder_Character_Sheet#Equation_Field_Macros" rel="nofollow">https://wiki.roll20.net/Pathfinder_Character_Sheet#Equation_Field_Macros</a>