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

[Script Request] Dungeons and Dragons: 5th Edition (Shaped) Monster hit dice 5e pot

Hi there I am new to this but seen something that would help speed things along in one of these scripts it was for the default dnd 5e character sheet but looking at the Shaped one seems easier to look at for the players. but what im asking for is a port so to speak of the Monsterhitdice 5e script to work with the dnd 5e shaped character sheet and if there is a way to input the random roll as in the books for example bugbears are 5d8+5. the scripts i seen did not seep to like that d in the midst of things. but if this is possible please lead me into the right direction
Aaron's tokenMod script is a decent way of doing this. Have a macro to change the selected tokens health by ?{dice values}. Then when creating the 'base' token set the health of the token as 5d8+5 and then select each token and run the macro and type it in each time. While typing this I might of thought something that is faster, let me check.
1431824496

Edited 1431824767
Okay, when creating your NPCs use the alignment field to put in their HP dice (like the 5d8+5) then have a macro that is like this !token-mod --set bar1|[[@{selected|alignment}]] So if you set up all your NPCs hit points under this field (for some reason I couldnt get HP/HP Max/Temp HP to work), and then you just click and press each time and it should roll and aaron's script will do its magic. DO NOT LINK THE HP on the token either!
1431831548
The Aaron
Pro
API Scripter
Common enough request. I've updated MonsterHitDice5e to take into account a constitution bonus. Also extracted the configuration to 3 variables at the top of the script. It's still a hack script and not a full one, but it's a bit cleaner than it was. GIT: <a href="https://github.com/shdwjk/Roll20API/blob/master/MonsterHitDice5e/MonsterHitDice5e.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/MonsterHitDice5e/MonsterHitDice5e.js</a>
i had a question. do i put the 5d8+5 in the HD-Note or at the Max location?
I think for the MonsterHitDice5e you simply put in the 5 for current and max on the HIT DICE column (it looks like you already have it on max
1431928340
The Aaron
Pro
API Scripter
Come to think of it, I only tested with the non-shaped version. Might have to make some mods...
1431943842

Edited 1431944213
Kryx
Pro
Sheet Author
API Scripter
I have a random hp roller in my 5e scripts (which also has a NPC importer). It automatically rolls for hp if the "HD note" field is filled. It (and Aaron's script) works on the "HD note" field. If you use the importer that field is automatically filled. For instance with "5d8+10". Using the max HD field and adding constitution would not be sufficient for some monsters that have unique HP - such as adding the Tough feat. Or maybe that actually doesn't exist - only for my PF ports.. If anyone if able to confirm that no monsters break from max + con then I can support the max hd field as well. I don't see any on the site of inconsistencies . The current/max is mainly for rolling HD to recover HP on a short rest if the PCs hurt some monsters, but don't kill them.
@Mark that looks like a combination of multiple API, seems intresting though. @Jake oh awesome thanks for the response.@The Aaron would be nice to see some of your mods, and tutorials ^^. Although @ Mark im slowly reading that script you have hopefully it works with what i have or i may have to remove some
1432000258
The Aaron
Pro
API Scripter
ok, tested with the Shaped Character Sheet. If you fill in the hit dice in HD-Note and set the conAttr in the script to 'constitution', it will roll you hit dice plus con bonus. =D Cheers!
@The Aaron thanks for all the help. And I have to say this community is very helpful. thanks you all for the help.
1432045925

Edited 1432045942
Kryx
Pro
Sheet Author
API Scripter
The shaped sheet assumes the full HD note is there. For instance "5d8+10". That's what my importer does. If you add constitution to that then you're adding too much. I'd suggest you either take the hd note as is or take the HD rows + con.
1432046779
The Aaron
Pro
API Scripter
You can leave the conAttr blank if you don't want to add a multiple of the con mod. Options!
1432048207
Kryx
Pro
Sheet Author
API Scripter
There we go then. I'd suggest it's blank by default as from what I can see most mentor GMs use the importer for NPCs.
1432048741
The Aaron
Pro
API Scripter
Yeah, unfortunately, that other importer assumes the con bonus, so it will be wrong for one of them. =/
1432049326

Edited 1432049367
Kryx
Pro
Sheet Author
API Scripter
I put the whole bonus in and left the hd note so one of your scripts worked... :rageface:
1432049489
The Aaron
Pro
API Scripter
It was this one. =D I just updated it so it works with a con bonus! You can't please everyone, it turns out.. =D
I'm pleased.. :) That is what matters.
same here although now I'm having issues with other api scripts but will redo them and see if that helps