vttred / ose

Old-School Essentials – Foundry VTT Edition
https://ose.vtt.red
GNU General Public License v3.0
96 stars 57 forks source link

fix(actor): monster hd rolls #372

Open bakbakbakbakbak opened 1 year ago

bakbakbakbakbak commented 1 year ago

In draft until discussions are solved, and the fix is corrected. See comments by @anthonyronda below.

anthonyronda commented 1 year ago

What I think should happen when a character calls rollHitDice based on my understanding of the rules:

if (actorType === "character") {
   rollparts.push(`max(${actorData.hp.hd}+${actorData.scores.con.mod}, 1)`)
....etc
anthonyronda commented 1 year ago

It's very likely we can port this work over to Character Generator hit dice rolls, given it can generate starting hp for levels >1

anthonyronda commented 1 year ago

Don't delete this branch, don't close! I'll make a new enhancement issue as a suggestion for moving this work forward

bakbakbakbakbak commented 1 year ago

I'll leave the branch as-is, with the capital letter roll fix, and just rebase it to the latest 1.8.x.