You can make a running jump by moving at least 10 feet on foot immediately before the jump.
Running Long Jump: {{abilityscore:str}} ft., Standing Long Jump: {{(abilityscore:str/2)}} ft.
Running High Jump: {{(3+modifier:str)@min:0#unsigned}} ft., Standing High Jump: {{((3+modifier:str)@min:0/2)#unsigned}} ft.
Can hold breath for {{((1+modifier:con)@min:0+((0-(modifier:con@max:0))@max:1/2))#unsigned}} minute(s) Can last {{modifier:con@min:1#unsigned}} round(s) without breath before going unconscious
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
Hi Mairondil, I whipped up a snippet calculation for suffocation that accounts for negative CON modifiers, and thought I'd share it here:
Can hold breath for {{((1+modifier:con)@min:0+((0-(modifier:con@max:0))@max:1/2))#unsigned}} minute(s) Can last {{modifier:con@min:1#unsigned}} round(s) without breath before going unconscious
Oh wow! Unless I overlooked it somewhere else, fractions work in snippet codes?? Took me a minute to follow your maths. Brilliant. Zero minus negative:max half is the minimum. Can I use your code above to keep everything central?
Absolutely! It took me a while just to see if the idea could even work with the snippet parser, but worth it :D
I was surprised about the fractions too. What my code is actually doing is adding together the usual... actually wait a moment...
Edit: Use this instead, it's shorter (just makes 1/2 the minimum)
Can hold breath for {{((1+modifier:con)@min:1/2)#unsigned}} minute(s)
Something's not working with that one.
A small change may fix that one.
Can hold breath for {{(2*(1+modifier:con))@min:1/2#unsigned}} minute(s)
As far as my tests went, that snippet should work properly.
Hi Mairondil, I whipped up a snippet calculation for suffocation that accounts for negative CON modifiers, and thought I'd share it here:
Can hold breath for {{((1+modifier:con)@min:0+((0-(modifier:con@max:0))@max:1/2))#unsigned}} minute(s) Can last {{modifier:con@min:1#unsigned}} round(s) without breath before going unconscious
Oh wow! Unless I overlooked it somewhere else, fractions work in snippet codes?? Took me a minute to follow your maths. Brilliant. Zero minus negative:max half is the minimum. Can I use your code above to keep everything central?
Absolutely! It took me a while just to see if the idea could even work with the snippet parser, but worth it :D
I was surprised about the fractions too. What my code is actually doing is adding together the usual... actually wait a moment...
Edit: Use this instead, it's shorter (just makes 1/2 the minimum)
Can hold breath for {{((1+modifier:con)@min:1/2)#unsigned}} minute(s)
Something's not working with that one.
A small change may fix that one.
Can hold breath for {{(2*(1+modifier:con))@min:1/2#unsigned}} minute(s)
As far as my tests went, that snippet should work properly.
That's so elegant and beautiful. Mind if I use it in this comment?
It's a nice fix. The version I came up with after that one was a useful exercise in a sort of "if-then-else" construction, but your fix is simple and easier to follow for this case.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
I'd like to add some thoughts to this as well. I really like the idea of having custom actions (too bad the site doesn't just give each character something like this by default and do the math for you *shrug*). I broke up the actions into 3 separate actions to make it easier for them to know exactly what they need to look for. I also added in the ability to calculate the carrying capacity as well as Push/Drag/Lift. Hope someone finds this helpful
Name: Jump Distance Activation Type: Bonus Action Snippet (copy exact): Running Long: {{abilityscore:str}} ft. Standing Long: {{(abilityscore:str/2)@rounddown}} ft. Running High: {{3+modifier:str@min:0#unsigned}} ft. Standing High: {{((3+modifier:str@min:0)/2)@rounddown#unsigned}} ft.
Name: Diving Activation Type: No Action Snippet (copy exact): Minutes can hold breath: {{(2*(1+modifier:con))@min:1/2#unsigned}} minute(s) Rounds conscious with no breath: {{modifier:con@min:1#unsigned}} round(s)
Name: Walking Distance Activation Type: Special Snippet (copy exact): Based on 8 hours/day Fast: 400 ft/minute 4 mi/hr 30 mi/day Normal: 300 ft/minute 3 mi/hr 24 mi/day Slow: 200 ft/minute 2 mi/hr 18 mi/day Description: Each hour over 8 requires a Con save (DC 10 + 1 per hour over 8) On fail, you gain 1 level of exhaustion
Name: Food/Water Activation Type: Special Snippet (copy exact): Food: {{3+modifier:con@min:1#unsigned}} days Starvation: {{(3*(3+modifier:con@min:1))@rounddown#unsigned}} days
Water: 1 gallon/day. 2 gallon/day if hot Half Water: DC 15 Con save - on fail, gain 1 level of exhaustion Less than Half: Gain 1 level of exhaustion If you already have 1 or more levels of exhaustion, gain 2 additional instead.
Name: Foraging Activation Type: Special Snippet (copy exact): Foraging DCs: 10 (Abundant), 15 (Limited), 20 (Very little) Food: 1d6+{{modifier:wis}} lbs Water: 1d6+{{modifier:wis}} gallons Note: Snippets can't process dice rolls, so your players will need to roll the 1d6 and add the modifier shown.
If I end up doing others, I'll also post them here. I hadn't really thought of using snippets for anything before. I'm a back-end software developer with a fair amount of experience in front-end (though I MUCH prefer back-end). So looking at how snippets are done is very "ugh, no thanks" for me. But they're also a necessary evil that makes the play experience more enjoyable for the players. And a lot less "well how much can I lift" and having to do math every single time. Or worse, the "I can make that 15ft jump" followed by "You'll die, but go ahead and try".
Thank you for making this thread and allowing us to post here still.
Mairondil, I like how your current post is set up, but I give you permission to add any additions I have here to your post (such as the Carry/Lift section).
Here is the code I'm using now for Derived Stats:
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
This is an extremely helpful thread, that I will probably refer to for a long time.
Sincerely, Non-stop Homebrewer.
A small change may fix that one.
As far as my tests went, that snippet should work properly.
That's so elegant and beautiful. Mind if I use it in this comment?
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (Spell & class effect buff system | Wild Shape effect system) | Tool Proficiencies as Custom Skills | Spells at higher levels explained | Superior Fighting/Martial Adept Fix | Snippet Codes Explored - Subclasses | Snippet Math Theory | Homebrew Weapons Explained
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
Of course, use it! I'm happy if i could help anyone.
It's a nice fix. The version I came up with after that one was a useful exercise in a sort of "if-then-else" construction, but your fix is simple and easier to follow for this case.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
I'd like to add some thoughts to this as well. I really like the idea of having custom actions (too bad the site doesn't just give each character something like this by default and do the math for you *shrug*). I broke up the actions into 3 separate actions to make it easier for them to know exactly what they need to look for. I also added in the ability to calculate the carrying capacity as well as Push/Drag/Lift. Hope someone finds this helpful
Name: Jump Distance
Activation Type: Bonus Action
Snippet (copy exact):
Running Long: {{abilityscore:str}} ft.
Standing Long: {{(abilityscore:str/2)@rounddown}} ft.
Running High: {{3+modifier:str@min:0#unsigned}} ft.
Standing High: {{((3+modifier:str@min:0)/2)@rounddown#unsigned}} ft.
Name: Diving
Activation Type: No Action
Snippet (copy exact):
Minutes can hold breath: {{(2*(1+modifier:con))@min:1/2#unsigned}} minute(s)
Rounds conscious with no breath: {{modifier:con@min:1#unsigned}} round(s)
Name: Carry/Lift
Activation Type: No Action
Snippet (copy exact):
Carry: {{(abilityscore:str*15)@rounddown}} lbs.
Push/Drag/Lift: {{(abilityscore:str*30)@rounddown}} lbs.
Name: Walking Distance
Activation Type: Special
Snippet (copy exact):
Based on 8 hours/day
Fast: 400 ft/minute 4 mi/hr 30 mi/day
Normal: 300 ft/minute 3 mi/hr 24 mi/day
Slow: 200 ft/minute 2 mi/hr 18 mi/day
Description:
Each hour over 8 requires a Con save (DC 10 + 1 per hour over 8)
On fail, you gain 1 level of exhaustion
Name: Food/Water
Activation Type: Special
Snippet (copy exact):
Food: {{3+modifier:con@min:1#unsigned}} days
Starvation: {{(3*(3+modifier:con@min:1))@rounddown#unsigned}} days
Water: 1 gallon/day. 2 gallon/day if hot
Half Water: DC 15 Con save - on fail, gain 1 level of exhaustion
Less than Half: Gain 1 level of exhaustion
If you already have 1 or more levels of exhaustion, gain 2 additional instead.
Name: Foraging
Activation Type: Special
Snippet (copy exact):
Foraging
DCs: 10 (Abundant), 15 (Limited), 20 (Very little)
Food: 1d6+{{modifier:wis}} lbs
Water: 1d6+{{modifier:wis}} gallons
Note: Snippets can't process dice rolls, so your players will need to roll the 1d6 and add the modifier shown.
If I end up doing others, I'll also post them here. I hadn't really thought of using snippets for anything before. I'm a back-end software developer with a fair amount of experience in front-end (though I MUCH prefer back-end). So looking at how snippets are done is very "ugh, no thanks" for me. But they're also a necessary evil that makes the play experience more enjoyable for the players. And a lot less "well how much can I lift" and having to do math every single time. Or worse, the "I can make that 15ft jump" followed by "You'll die, but go ahead and try".
Thank you for making this thread and allowing us to post here still.
Mairondil, I like how your current post is set up, but I give you permission to add any additions I have here to your post (such as the Carry/Lift section).
Edit: Added Walking Distance and Food/Water actions
Edit 2: Added Foraging action