foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
326 stars 219 forks source link

[Feature Request] Allow change to the default levelup health increase formula #1497

Open aaclayton opened 2 years ago

aaclayton commented 2 years ago

Originally in GitLab by @Sinantrarion

Allow to change the default levelup health increase formula to introduce homebrew variations- reroll 1s, roll but if less than half then take half, Tough feat, others.

aaclayton commented 2 years ago

Originally in GitLab by @akrigline

Is !550 enough to warrant closing this? It adds a hook that would allow modules to implement homebrew rules for this kind of thing which the core system otherwise might not.

The tough feat is part of #406 I believe, being done in !547

aaclayton commented 2 years ago

Originally in GitLab by @arbron

Tough feat will be properly implemented in the next version when max hit points become a derived value. For other roll formulas, I think the best solution would be to add a hook to Actor5e#rollHitPoints to allow modules or world scripts to customize the roll formula in whatever fashion they wish, rather than add a couple of hardcoded implementations.