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

5e OGL character sheet Hexblades Curse issues.

hi guys id like to know if there is a way to add a global modifier to all spell and attacks so i dont have to add a seperate attack macro for each and every spell/weapon i get as a warlock. id like to have a global modifier that adds damage with the proficiency modifier and adds the 19 for crit in the attack rolls. is there a way to do this. id like to have a check box in the global mod that i can toggle.
1567900314
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I answered this in the character sheet thread, but here is an answer in case someone searches for it later. Here's a workaround for a universal crit range mod: Create an attribute on your character called critrange. Give it a value of 19. In the critical range field of all your attacks, where it normally says "20", type in @{critrange}. This will change the crit range of all of your attacks with this modification to 19. To toggle it, change the value back to 20 and it will update on all attacks. You will have to edit all attacks, but only once. Then you just change the value in the critrange attribute. Here's a workaround for the global damage mod based on proficiency Create a normal Global Damage Mod. In the "damage" field, put "@{pb}". This will create a global damage mod that scales with your proficiency bonus.
can you explain what you mean by attribute? also i tried the proficiency mod with that code and it doesnt work.
1567900500
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If you wanted to have the critrange value visible on the main page, use one of the resource fields. You can look up how to reference them on the character sheet documentation . They are referenced differently depending on how many of them you have.
ok ive manged to get the global proficiency mod attack damage working. just trying to get the universal crit range going.
im not sure i understand the instructions. how do i create an attribute? and relate it to attacks?
1567901285
Kraynic
Pro
Sheet Author
The Attributes &amp; Abilities tab is actually where almost all your character info is.&nbsp; The Character Sheet tab is mostly a fancy UI for that 3rd tab.&nbsp; Making attributes is pretty simple:&nbsp; <a href="https://wiki.roll20.net/Journal#Attributes_.26_Abilities_Tab" rel="nofollow">https://wiki.roll20.net/Journal#Attributes_.26_Abilities_Tab</a>
1567901599

Edited 1567901626
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It would look like this: Since you have Pro, you could even set up a ChatSetAttr toggle for it. On: !setattr --sel critrange|19 /em calls upon their Hexblade Curse! Off: !setattr --sel critrange|20 /em dismisses their Hexblade Curse.
keithcurtis said: I answered this in the character sheet thread, but here is an answer in case someone searches for it later. Here's a workaround for a universal crit range mod: Create an attribute on your character called critrange. Give it a value of 19. In the critical range field of all your attacks, where it normally says "20", type in @{critrange}. This will change the crit range of all of your attacks with this modification to 19. To toggle it, change the value back to 20 and it will update on all attacks. You will have to edit all attacks, but only once. Then you just change the value in the critrange attribute. Here's a workaround for the global&nbsp;damage&nbsp;mod based on proficiency Create a normal Global Damage Mod. In the "damage" field, put "@{pb}". This will create a global damage mod that scales with your proficiency bonus. Kraynic said: The Attributes &amp; Abilities tab is actually where almost all your character info is.&nbsp; The Character Sheet tab is mostly a fancy UI for that 3rd tab.&nbsp; Making attributes is pretty simple:&nbsp; <a href="https://wiki.roll20.net/Journal#Attributes_.26_Abilities_Tab" rel="nofollow">https://wiki.roll20.net/Journal#Attributes_.26_Abilities_Tab</a> ok i think i understand. but the thing is id have to still do this for ALL spells and ALL attacks. and when i level up and get accsess to new spells its just a bit tedious. id like to know how to make it display on the main page as this seems to be the only thing i can do for now.
keithcurtis said: It would look like this: Since you have Pro, you could even set up a ChatSetAttr toggle for it. On: !setattr --sel critrange|19 /em calls upon their Hexblade Curse! Off: !setattr --sel critrange|20 /em dismisses their Hexblade Curse. so you would click a new macro and add these commands as seperate macros?
ok ive set these up but it doesnt seem to be working.
1567902596
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
so you would click a new macro and add these commands as seperate macros? Ideally, they would be Token Abilities (macros written on the character sheet). They would require you to install the script ChatSetAttr (available for one click install on your game's API page). If you are not the game's owner, you would have to make sure the GM had installed the script. Otherwise, you will need to set the value manually.
the crit range values in the attributes arnt changing from clicking the macros. its not linking together. i think thats the issue.
keithcurtis said: so you would click a new macro and add these commands as seperate macros? Ideally, they would be Token Abilities (macros written on the character sheet). They would require you to install the script ChatSetAttr (available for one click install on your game's API page). If you are not the game's owner, you would have to make sure the GM had installed the script. Otherwise, you will need to set the value manually. thanks ive let my gm know. thats why it isnt linking up.
1567902947
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
ok i think i understand. but the thing is id have to still do this for ALL spells and ALL attacks. and when i level up and get accsess to new spells its just a bit tedious. id like to know how to make it display on the main page as this seems to be the only thing i can do for now. Yes, it is a bit tedious, but since the sheet does not have a global crit range modifier, you would need to do some up-front work. You would only need to edit each attack and spell once. I'll see about making instructions for you to use a resource value, but it's nearly game time for me. If you will create a resource (in the resources section, where you would put ammo) on your sheet and call it "crit range", then post a screen shot, that would be very helpful. (The screen shot is necessary because the sheet references resources very weirdly. That will give you a value you can edit on the front page of your character.
i think this should some how be default on the charactermancer if possible. or some way around this.
1567921723
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Every class has some quirks that must be handled by workarounds. If you are interested in trying a sheet that is more powerful in this regard (though lacks charactermancer integration), you could look into the Shaped Sheet for 5e.
i am getting some errors now that my gm has the api installed
i fixed it the code should be this. !setattr --name Zedir --sel --critrange|19 /em calls upon their Hexblade's Curse! for on !setattr --name Zedir --sel --critrange|20 /em dismisses their Hexblade's Curse. for off replace zedir with any character name.
okay now there is one issue left. when you have roll with advantage on in the settings. it doesnt roll the hexblade crit change.
1567968669

Edited 1567969359
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Could you post the formula you are putting in your weapon/spell? Rolling with advantage shouldn't make a difference. Also, the chatsetattr code needs --sel if you have the token selected and the token represents a character. There is no need for the --name unless you are going to make it a standalone macro that doesn't require the token selection. This is why I suggested making it a Token Action button.
ok its a strange behaviour but if i double click it it sets up the crit range properly. but sometimes it doesnt always work.&nbsp;