Allow modification of options.keep for pf2e.preReroll and pf2e.reroll#21495
Allow modification of options.keep for pf2e.preReroll and pf2e.reroll#214957H3LaughingMan wants to merge 1 commit intofoundryvtt:v13-devfrom
Conversation
7H3LaughingMan
commented
Feb 10, 2026
- Closes Pass keep as an object to the hooks pf2e.preReroll and pf2e.reroll so it can be modified #21494
|
Isn't this in the roll? |
The system uses |
|
|
|
The system doesn't use that to determine which roll to keep, it uses pf2e/src/module/system/check/check.ts Lines 536 to 544 in dddda45 |
|
I don't think we can do this until system version 8. To the extent the system has an API at all, this is part of it. |
|
I mean, this works the same way as how it currently works with |
|
Any module listening to the hook would be receiving an object instead of a string now, so it would be a breaking change. I think this is a good idea but I agree that it should wait until system version 8 (which is when everything breaks anyways). |