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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[5e Shaped] v2.1.13 Live

1457946285
Kryx
Pro
Sheet Author
API Scripter
@Yadira: Out of curiosity which edit mode button do you press (top or bottom of the page)? I haven't experienced this, but it may be a latency issue like you say. @BP: There is currently no way to turn off the auto-creation/update of class features. Features do need to update though as many are level based and change over time so setting them once isn't an option. Currently I have some small checks of what to replace. For example I don't replace the display text of a trait if it's already set and has more than a 10% difference in character length. I can also check the extras_toggle button and not turn that back on if it's turned off. Fighting style: I wasn't sure how to add this. A user will pick 1 (or 2 in the case of a champion fighter) so I shouldn't display them all. I could do something similar like I did for Sorcerer and add some toggles, but that seems overkill. @Wade: Setting up creatures with spells is a multi-step process as the sheet has no access to the compendium other than what you drag on to it. I populate the names of spells, but you have to then find them on the compendium (or elsewhere) and drag & drop them in.
1457954901

Edited 1457954926
Kryx said: Fighting style: I wasn't sure how to add this. A user will pick 1 (or 2 in the case of a champion fighter) so I shouldn't display them all. I could do something similar like I did for Sorcerer and add some toggles, but that seems overkill. Would it be possible to do this with a drop-down menu on the character page? Have one drop down for anyone that gets fighting styles, and a second one for the fighter when the champion gets their second one, specifying that the second one is for the champion only.
I am writing a scrip to output an nps's stats to the chat so that I can quickly remind myself about the npc.  I tend to prepare adventures long before my group plays so I often need  a quick reminder.  I would like to only output the skills that the npc is either proficient or expert in but I cannot seem to access that attribute.  I get the following: "Error: No attribute or sheet field found for character_id -KBJYlUMGh9kjHuvELT0 named repeating_skill_-KBJYmCjgxpXs1eRJrNX_proficiency" Any help would be appreciated.
Kryx said: @Yadira: Out of curiosity which edit mode button do you press (top or bottom of the page)? I haven't experienced this, but it may be a latency issue like you say. The pencil next to the NPC name. Looks like  this when I press the button. If I close the character and reopen it, opens in edit mode but it's like it ignores any changes. It's easy to just reload the page, no big deal. Just wanted to comment on it in case someone else has the same issue.
So I have the script essentially finished, I would still like to only display proficient and expert skills, but this isn't so bad.  here is the output
1457963214
Kryx
Pro
Sheet Author
API Scripter
It seems like overkill to provide the toggle options for fighting styles. It's just text that the user can add, not a feature. Same as ability score improvement (though I may add that). I don't think Fighting Style needs each one specified due to the complications. @Yadira: thanks for the info. I'll keep an eye on it.
@BP: There is currently no way to turn off the auto-creation/update of class features. Features do need to update though as many are level based and change over time so setting them once isn't an option. Currently I have some small checks of what to replace. For example I don't replace the display text of a trait if it's already set and has more than a 10% difference in character length. I can also check the extras_toggle button and not turn that back on if it's turned off. The main issue I have with you adding in all the standard class features and traits is you are taking control of sheet away from the user, especially if we can't edit what has been added, and make it stay. If I can't change what you add, that means I have to add the items anyway, and now I have duplicated items. I for a fact that one of my players would want to change the description(Extra Freetext output to the chat) of Bardic Inspiration to be something funny and witty, not the rules. We now the rules and don't need to be reminded each time an ability is used. You mention that you check the character length for the display text, could you simply check if anything is different? Personally, I would be fine with an option to disable the auto-creation for a sheet, even if it meant the features didn't update on level changes. I don't know how the Sheetworkers operate, so that might not be possible, but it seems like it should. Don't get me wrong, I do like the Class Feature additions. I just don't like loosing the customization of those features once added. Either don't allow the possibility of changing the features or include the logic needed to account for any change. Anything else is going to cause confusion.
1457965485

Edited 1457965686
Kryx
Pro
Sheet Author
API Scripter
This is a brand new feature and certain behavior may not be intentional. Please don't read too much into it. Let me be clear here: I have every intention of letting a user edit the field. I have previously done so by not adjusting the display text of a trait and checking the length of the freetext field before setting it. After your earlier feedback I added the check for the extras toggle. Your desire to change Bardic Inspiration to be entirely differently fits with have I've made - it will not be replaced as it will not be 90% similar to what is default put in that field. You mention that you check the character length for the display text, could you simply check if anything is different? No. As mentioned earlier the script purposefully changes several things in those fields. Whether it's uses or freetext those things adjust automatically as the character levels up. The logic is already included. Please let me know if situations occur (I'm sure there will be). The only problem I know of currently is a trait/feature will be re-added on level up/ability mod change if the user deleted it. I have no way of tracking that.
Sorry if I 'Jumped the Gun' there. It was something I saw that screamed at me as; please, don't let it stay this way. Great job so far. I will be using the sheet.
1457972221
Kryx
Pro
Sheet Author
API Scripter
New thread&nbsp;<a href="https://app.roll20.net/forum/post/3102425/5e-shaped-v2-dot-2-11-class-features" rel="nofollow">https://app.roll20.net/forum/post/3102425/5e-shaped-v2-dot-2-11-class-features</a>