Comments (8)
Squee! Works perfectly. Thanks!
from fvtt-long-rest-hd-healing-5e.
I added some very kludgy code to this that accomplishes this. I added a hit point recovery fraction to the Settings panel, and made the math work in lr-hd-healing.js. It's really ugly, but I'll bet you could make it more elegant. this is a great module, and it does exactly what I want right now. Hope you don't mind me digging into it!
from fvtt-long-rest-hd-healing-5e.
I don't mind at all! Sorry I haven't responded to this issue yet; I've been focusing on other modules lately. This is a reasonable suggestion I think, but it will be a while before I can get the chance to approach it.
from fvtt-long-rest-hd-healing-5e.
No worries! I’m glad I was able to contribute. I don’t really know how to make it a “real” contribution in GitHub, since I’m totally new to coding so I’ll leave this here for now. Glad I was able to help!
from fvtt-long-rest-hd-healing-5e.
Hey, just a quick update here, I intend to re-focus more on this request after the next dnd5e release (1.3.0). That release should have some changes that will make development of this module much more pleasant!
from fvtt-long-rest-hd-healing-5e.
Oh awesome! Looking forward to it, and thanks for all your hard work on these modules.
from fvtt-long-rest-hd-healing-5e.
@ctbritt Ok, this has been added in 3.0.0 (out soon). I modified your change a bit to (a) make the default hit point recovery 0% (to maintain backwards compatibility with the old behavior) and (b) to account for some changes necessary for dnd5e 1.3.0 but it should do what it needs to do.
from fvtt-long-rest-hd-healing-5e.
oh, awesome, thanks! My code was super amateurish and kludgy, and I'm sure yours is much better.
from fvtt-long-rest-hd-healing-5e.
Related Issues (12)
- Add ability to configure what portion of hit dice are replenished on LR HOT 1
- Module not working properly after 0.8.6 HOT 3
- [PR] Feats uses HOT 1
- Ampersand in module-name not rendered correctly HOT 1
- [Incompatibility] Module not working nicely with 5eHelpers HOT 4
- Feature Suggestion: Roll Max HD on Long Rest Healing instead of Spending HD
- Conflict with dnd5e helpers
- Minor Feature - Total of recovered HP is not show on the chat card when click on the "Rest" button HOT 1
- Feature - recover half of the ressources, spells and feats uses HOT 2
- Suggestion for a module setting HOT 2
- Suggestion: Option to recover hit dice before spending them HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvtt-long-rest-hd-healing-5e.