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

Open Legends Character Sheet not Simplified.

Is there a way to make it so Total Points doesn't reset every-time you add Exp. I want to start my players with a Lower number then 40 Points to spend because of a little home-brew and Exp auto boosts it back to 40 every-time.
1554094673
GiGs
Pro
Sheet Author
API Scripter
I suspect for that you'll need to import the sheet as a custom sheet and tweak it to change that default value. Since you're a Pro user, you can do that. Also you could send a request to the sheet maintainers on github to allow users to change the default.
I had wondered if I could tweak the sheet. I know I can upload one, But I dunno if I could find the proper part of the code to change haha. I thank you for the response though, perhaps I can figure it out.
1554130123
Finderski
Plus
Sheet Author
Compendium Curator
Chances are you'll want to modify this function: // Function to run when XP is changed function calcXPpoints(value) {    getAttrs(["display_sheet_type", "companion_feat_given"], function(values) {        var attributePoints = 0;        var featPoints = 0;        var exp = 0;        if(values.display_sheet_type === "character") {            attributePoints = value*3 + 40;            featPoints = value*1 + 6;            exp = value*1;        }        if(values.display_sheet_type === "alt form 1") {            attributePoints = (value*3 + 40)/2;            featPoints = 3;            exp = value*1;        }        if(values.display_sheet_type === "alt form 2") {            attributePoints = value*3 + 40;            featPoints = value*1 + 3;            exp = value*1;        }        if(values.display_sheet_type === "companion 1") {            attributePoints = (Math.floor(value/3)+1)*4 + 20;            featPoints = 0;            exp = value*1;        }        if(values.display_sheet_type === "companion 2") {            attributePoints = (Math.floor(value/3)+1)*4 + 20;            featPoints = 3;            exp = value*1;        }        if(values.display_sheet_type === "companion 3") {            attributePoints = (Math.floor(value/3)+1)*6 + 30;            featPoints = 3 + values.companion_feat_given*1;            exp = value*1;        }             setAttrs({                 "attribute_points": attributePoints,                 "feat_total_points": featPoints,                 "xp": exp             });    }); }; It should be around line 2477 of the character sheet's html file.
Ok so once I change the code, what is the easiest way to upload the new sheet, I see the custom sheet option. Also thanks for the help.
I got it, thanks for all the help guys, works good.
1554131802
Finderski
Plus
Sheet Author
Compendium Curator
Matthew B. said: Ok so once I change the code, what is the easiest way to upload the new sheet, I see the custom sheet option. Also thanks for the help. You'd select the Custom Sheet option, put the modified HTML file in the HTML tab, you'd need to get the CSS file and place it in the CSS tab.  If there were a translation file, you'd need to put that in the Translation tab. Hit save, and you're done. And for clarity, when I say place the HTML file or the CSS file, I really mean, you'll need to copy/paste the contents of those files into the respective sections.