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

Shaped Sheet 5E - Adding class features like Sneak Attack?

1526111321

Edited 1526114098
Really new to using the sheet so sorry if this is a dumb question, but how do I add rolled class attack features like Sneak Attack to the sheet?  Do I just manually input it as an attack under "Offense" and have the PC change the xD6 as they level up, or is there a more refined methoud?   
1526119052

Edited 1526119429
Hello Pigeon, I recommend to look through  5E Shaped Sheet Wiki , there is lot of examples how to manage popular character options, macro pointers, etc. Your mention  Sneak Attack is there too.
hmmmm.....not having much luck there. Regards: Method 1 For sections that output a list to chat (such as offense, utility, traits, spells, etc) output the list to chat either through the settings page macro or the macro button on the core page. Then from the list, hit the button to output the macro Then hit “up arrow” key in the chat window to see the last output and you should see something like %{-Kp1Xd-_DkrJ2yI5igcI|repeating_offense_-konf19qt0knruztueih_roll} From this -konf19qt0knruztueih Is the unique id while the first id -Kp1Xd-_DkrJ2yI5igcI Is the CHARACTER unique ID which can be used in place of NAME . on pressing up I don't get: %{-Kp1Xd-_DkrJ2yI5igcI|repeating_offense_-konf19qt0knruztueih_roll} But: /w @{Bob|character_name} &{template:5e-shaped} {{character_name=@{Bob|character_name}}} @{Bob|show_character_name} {{title=^{OFFENSE}}} {{offense=1}} {{text_big=@{Bob|offense_macro_var}}} So no unique id or  CHARACTER unique ID, and as a result no code the should look like: %{-KpAcmhct77IjozMe2FS|repeating_classfeature_-kpbzsmcxgwxdykaomof_roll}
1526121989
Jakob
Sheet Author
API Scripter
You did step 1, but not step 2.
Jakob said: You did step 1, but not step 2. :) well spotted!!!! Now I get the code   %{-LCHp0rbrQifVaPV85ai|repeating_classfeature_-lci9ttismrw7vb36ozr_roll} But the output I get from clicking on it is: Rather than: Feel like I have missed an important step in regards none of the code beings related to Sneak Attack, and just an offense, and name?
1526141497

Edited 1526141656
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Make sure you are using the freeform field and not the freetext field? Also, shouldn't that macro code end with _action, instead of _roll? The Wiki seems inconsistent there.
1526142370
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you prefer a different approach, I use the attachers section on the settings page, set to trigger by using an "Offense": {{text=[Sneak Attack](~repeating_classfeature_-lci9ttismrw7vb36ozr_action)}} I have put your character's class feature code into the macro, so hopefully this will work with a cut and paste. This will put a button at the end of every attack that the player can click for Sneak Attack damage when appropriate. It's less chat spam, and the player doesn't have to wistfully look at "the damage that might have been" when Sneak Attacks are not available. 
1526202721

Edited 1526203057
Thanks Keith, Still, don't seem to be able to get it to work? Put the code in under freeform text, tick it off as an Offense... But seem to be getting this as an output when clicking on a weapon? and then "Bob" as an output if i click on "sneak attack"
In attachers you don't need the new line, that is just for doing 2 macros in one like you first tried but that version can't be done with attachers. Some things to go through 1) check&nbsp;%{-LCHp0rbrQifVaPV85ai|repeating_classfeature_-lci9ttismrw7vb36ozr_roll} by pasting it in chat along and seeing if you get the sneak attack output or something when wrong. As the first one seems like it should have worked but the macro it references is somehow blank. If so repeat the steps to get the code, going through the steps should look like this&nbsp; <a href="https://gyazo.com/cb060422b9366efe696c8dacf38e3bea" rel="nofollow">https://gyazo.com/cb060422b9366efe696c8dacf38e3bea</a> 2) For the button method, make sure to include character id so&nbsp; {{text=[Sneak Attack](~-LCHp0rbrQifVaPV85ai|repeating_classfeature_-lci9ttismrw7vb36ozr_roll)}} and remove the new line in the freeform
1526217673

Edited 1526217753
1) check %{-LCHp0rbrQifVaPV85ai|repeating_classfeature_-lci9ttismrw7vb36ozr_roll} by pasting it in chat along and seeing if you get the sneak attack output or something when wrong. As the first one seems like it should have worked but the macro it references is somehow blank. Update: I removed and reinstalled the script and built a new character in case I had messed up there so character id code will have changed from above (I assume, wow this is like another language to me! :) Sorry and thank you to everyone stick with me here and helping the new guy, sincerely&nbsp;apprechiated!) For this, I get the output: No ability was found for %{-LCHp0rbrQifVaPV85ai|repeating_classfeature_roll} So I followed the steps&nbsp; <a href="https://gyazo.com/cb060422b9366efe696c8dacf38e3bea" rel="nofollow">https://gyazo.com/cb060422b9366efe696c8dacf38e3bea</a> and get: %{-LCNrO1oxNL8PzgzJrbq|repeating_classfeature_-lcnrcp29dzcssknarmk_action} SO.....the "Class feature" code is this right?&nbsp; -lcnrcp29dzcssknarmk So changed&nbsp;it in the in the attachers code to: {{text=[Sneak Attack](~repeating_classfeature_-lcnrcp29dzcssknarmk_action)}} And get this&nbsp; Here is the code im&nbsp;getting for clicking on the dagger: @{Bob|output_option} &{template:5e-shaped} {{character_name=@{Bob|character_name}}} @{Bob|show_character_name} {{title=Dagger}} {{offense=1}}&nbsp; @{Bob|attacher_offense} @{Bob|hide_gm_info} {{@{Bob|shaped_d20}=1}} {{attack_type_macro=[Melee Weapon Attack:](~-LCNrO1oxNL8PzgzJrbq|repeating_offense_-LCNrwL0ZFOZeOttZMXJ_attack)}} {{has_attack_damage=1}} {{attack_damage_crit=[[1d4]]}} {{attack_damage=[[1d4[damage] + 4[fin]]]}} {{attack_damage_type=piercing}} {{has_attack_damage=1}} {{attack_damage_macro=[Hit:](~-LCNrO1oxNL8PzgzJrbq|repeating_offense_-LCNrwL0ZFOZeOttZMXJ_attack_damage)}} {{attack_damage_crit_macro=[Crit:](~-LCNrO1oxNL8PzgzJrbq|repeating_offense_-LCNrwL0ZFOZeOttZMXJ_attack_damage_crit)}} {{attack1=[[@{Bob|shaped_d20}@{Bob|d20_mod}cs&gt;20 + 4[proficient] + 4[fin]]]}} {{reach=5 ft.}}&nbsp; And when pressing the Sneak Attack Button %{-LCNrO1oxNL8PzgzJrbq|repeating_classfeature_-lcnrcp29dzcssknarmk_action} So it shows the&nbsp;class feature but does not roll for it.
it seems you got the class feature ID right as it is the "-lcnrcp29dzcssknarmk" from the output It seems the current version of the sheet doesn't put the d6 on the sneak attack, seems like a bug, so the above image you posted is right. Using the codes for there for either option should work now if you add the sneak attack damage into the class feature in the other damage field the damage will roll. so sneak attack should look like&nbsp; <a href="https://i.imgur.com/IY8jJmQ.png" rel="nofollow">https://i.imgur.com/IY8jJmQ.png</a> with however many d6 is needed Also, if&nbsp;%{-LCNrO1oxNL8PzgzJrbq|repeating_classfeature_-lcnrcp29dzcssknarmk_action} is your output it is recommended that you use the character ID as well. Character ID =&nbsp;-LCNrO1oxNL8PzgzJrbq Class feature ID =&nbsp;-lcnrcp29dzcssknarmk so instead of&nbsp; {{text=[Sneak Attack](~repeating_classfeature_-lcnrcp29dzcssknarmk_action)}} use&nbsp; {{text=[Sneak Attack](~-LCNrO1oxNL8PzgzJrbq|repeating_classfeature_-lcnrcp29dzcssknarmk_action)}} as without the character ID will work with an attacher but won't when directly in the offense freeform field while with character ID works with both. Also if you want the text to be bigger (I also do so its easier to click) use text_big instead of text&nbsp; so&nbsp;{{text_big=[Sneak Attack](~-LCNrO1oxNL8PzgzJrbq|repeating_classfeature_-lcnrcp29dzcssknarmk_action)}} will change as seen here (first is text, second is text_big) <a href="https://i.imgur.com/Wn8NNmx.png" rel="nofollow">https://i.imgur.com/Wn8NNmx.png</a>
1526237213
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Vanakoji has it right. I edited in the damage on the Sneak Attack feature, but did it some time ago and had forgotten.
Thanks so much for all the help guy sincerely appreciated. An excellent&nbsp;community here!&nbsp;