You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched for existing Bug Reports and found no similar reports.
Expected Behavior
Ghoul (as an example) should show its hit points as 22 (5d8) but shows 22 (5d8 + -1) instead
Current behaviour
Some statblocks have an incorrect hit_dice value (though a correct hp value) like Ghoul, Giant Ape, and Giant Boar (there are probably many others but these are just the ones I quickly found)
It seems to just be 1 less than it should, but I haven't looked super deep so there might be others are off by more than that
I noticed it in obsidian from the Ghoul statblock and then found the other 2 by looking at the commit (bbd1bf8, which was fixing #8) that last changed Ghoul's hit_dice. It should be noted though that not all hit dice that were imported in that commit are wrong, the Giant Badger's hit dice for example is correct.
Reproduction
add a statblock of a creature with incorrect hit dice (e.g. Ghoul) to a note
Which Operating Systems are you using?
Android
iPhone/iPad
Linux
macOS
Windows
Obsidian Version Check
1.7.7 and 1.5.12
Plugin Version
4.8.1
Confirmation
I have disabled all other plugins and the issue still persists.
Possible solution
Some hit dice were incorrect in commit bbd1bf8 when fixing #8 Assuming the hp value is correct for all statblocks and the dice part of hit_dice is correct then the hit dice could be recalculated programmatically by going through all the statblocks and comparing the hp vs the (average) result of the hit_dice and adding the difference to the hit dice formula if it's different.
Otherwise importing the hit dice from scratch from another source could be an option.
The text was updated successfully, but these errors were encountered:
Check for existing bug reports before submitting.
Expected Behavior
Ghoul (as an example) should show its hit points as 22 (5d8) but shows 22 (5d8 + -1) instead
Current behaviour
Some statblocks have an incorrect hit_dice value (though a correct hp value) like Ghoul, Giant Ape, and Giant Boar (there are probably many others but these are just the ones I quickly found)
It seems to just be 1 less than it should, but I haven't looked super deep so there might be others are off by more than that
I noticed it in obsidian from the Ghoul statblock and then found the other 2 by looking at the commit (bbd1bf8, which was fixing #8) that last changed Ghoul's hit_dice. It should be noted though that not all hit dice that were imported in that commit are wrong, the Giant Badger's hit dice for example is correct.
Reproduction
add a statblock of a creature with incorrect hit dice (e.g. Ghoul) to a note
Which Operating Systems are you using?
Obsidian Version Check
1.7.7 and 1.5.12
Plugin Version
4.8.1
Confirmation
Possible solution
Some hit dice were incorrect in commit bbd1bf8 when fixing #8
Assuming the hp value is correct for all statblocks and the dice part of hit_dice is correct then the hit dice could be recalculated programmatically by going through all the statblocks and comparing the hp vs the (average) result of the hit_dice and adding the difference to the hit dice formula if it's different.
Otherwise importing the hit dice from scratch from another source could be an option.
The text was updated successfully, but these errors were encountered: