Rolling Hooks

Rolling Hooks!
I am working on a couple of additions to one of the upcoming version of 5e to add hooks to all of the system's rolling functions with the intention of allowing modules to fully customize these systems without having to wrap any methods. I welcome an eye on this from any module developers who work on modules that modify or respond to rolling behavior in 5e. Here are the three PRs with the changes:
https://github.com/foundryvtt/dnd5e/pull/1670
https://github.com/foundryvtt/dnd5e/pull/1662
https://github.com/foundryvtt/dnd5e/pull/1671
GitHub
Adds a number of hooks to the actor rolling process to allow modules to better customize rolling without having to override or wrap system methods:

dnd5e.preRollSkill & dnd5e.rollSkill
dnd5e.p...
[#1002] Add hooks to `Actor5e` rolling methods by arbron · Pull Req...
GitHub
Adds a number of hooks to the item rolling process to allow modules to better customize that workflow without having to override or wrap system methods:

dnd5e.preRoll: Called before the item is co...
[#1002] Add hooks to `Item5e#roll` & `Item5e#displayCard` to allow ...
GitHub
Add hooks to the specific item rolling methods not covered by #1662.

dnd5e.preRollAttack, dnd5e.rollAttack
dnd5e.preRollDamage, dnd5e.rollDamage
dnd5e.preRollFormula, dnd5e.rollFormula
dnd5e.preRo...
[#1002] Add hooks to `Item5e` rolling methods by arbron · Pull Requ...
Was this page helpful?