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

Help with Rogue's Sneak Attack + Powerfull Sneak

hey, coming back from foundry to roll20, I am making my character so, besides the maybe and maybe not having a sneak, the   Powerful Sneak (Ex) adds a new layer: Benefit: Whenever a rogue with this talent takes a  full attack  action, she can elect to take a –2 penalty on all attack rolls until the start of her next turn. If an attack during this time is a  sneak attack , she treats all 1s on the  sneak attack  damage dice as 2s. Is there a way to: when i attack it ask if i am doing a sneak, and if yes, if it is a Powerful one, so it reduces the attack roll by (-2) and changes any (1s) to (2s) in the roll? 
What character sheet are you using? And do you want to work with the character sheet, or around it?
Tuo said: What character sheet are you using? And do you want to work with the character sheet, or around it? I'm using the default one "Pathfinder by roll20" i would like to be able to make it work with it, but if not possible ok working around it
1726906256

Edited 1726935726
Edit conclusion: look to the bottom for the ideal solution for easiest setup.  Alright, this took a little puzzling out, but I managed to make it work - though it requires a bit of setup. First, add this to both the other attack modifiers field and the additional damage field of the attacks you want: -?{Sneak attack?|Yes,?{Powerful Sneak?|No,0|Yes,2}) }} {{roll04=@{prefix}@{character_name}|level@{level}sneak}|No, } Next, create the following attribute: prefix %{ Finally, create the level-based sneak damage abilities - you can either create one for every relevant level, or change them as you level. I set this up with the set-up-once option. level1sneak [[[[{[[1d6]],?{Powerful Sneak?}}kh1]] [SNEAK ATTACK]]] level2sneak [[[[{[[1d6]],?{Powerful Sneak?}}kh1]] [SNEAK ATTACK]]] level3sneak [[[[{[[1d6]],?{Powerful Sneak?}}kh1]]+[[{[[1d6]],?{Powerful Sneak?}}kh1]] [SNEAK ATTACK]]] level4sneak [[[[{[[1d6]],?{Powerful Sneak?}}kh1]]+[[{[[1d6]],?{Powerful Sneak?}}kh1]] [SNEAK ATTACK]]] level5sneak [[[[{[[1d6]],?{Powerful Sneak?}}kh1]]+[[{[[1d6]],?{Powerful Sneak?}}kh1]]+[[{[[1d6]],?{Powerful Sneak?}}kh1]] [SNEAK ATTACK]]] And so on, adding +[[{[[1d6]],?{Powerful Sneak?}}kh1]] for every odd level. EDIT: A less setup-intensive way to do this, if you are the GM or can bug your GM to make a table for you: Have a rollable table named "powerful-sneak", containing items 2,2,3,4,5,6, simulating the die roll, and then have the following in both the other attack modifiers and the additional damage fields: ?{Sneak attack?|Yes,?{Powerful Sneak?|No,}} {{roll04=[[[[ceil(@{level}/2)]]d6]]|Yes,-2)}} {{roll04=[[[[ceil(@{level}/2)]]t[powerful-sneak]]]}|No, } EDIT2: Thanks, RainbowEncoder, for the trick! This version only needs to be added to the Other attack modifiers field and to the Additional Damage field, no other setup needed! ?{Sneak attack?|Yes,?{Powerful Sneak?|No,}} {{roll04=[[[[ceil(@{level}/2)]]d6]]|Yes,-2)}} {{roll04=[[{[[ceil(@{level}/2)]]d1*2+[[ceil(@{level}/2)]]d6}kh[[ceil(@{level}/2)]]]]}|No, }
Hey Tuo, there is a little trick you may find useful for your solution. When using a group-roll with a single sub-roll you can use keep/drop on the individual rolls within that group, and when you have matching values it will prefer to keep or drop the roll from the left most expression. So you can create a scalable d6 min of 2 with an expression such as {Xd1*2 + Xd6}khX When the d6 rolls a 2 or higher it will be kept, but on 1 it will prefer the 1 from the d1 and those 1's gets multiplied by 2. Giving an effective 2,2,3,4,5,6 output per roll.
Oh, that is very clever, RainbowEncoder, I like that! That'll remove the need for both the complex setup and the table! I'll write up an edit above incorporating that.
1726948298
vÍnce
Pro
Sheet Author
I wish that roll20 would commission RainbowEncoder and Tuo to integrate some of their Mystic-Macro-Manipulations™ directly into the vtt so that us mortals wouldn't have to try to figure out how to actually utilize them. ;-)
wow, thank you guys for all the help ^^