Repository navigation
[Refactor] Convert RollConfig to an object to reduce duplication - #2441
CarlosFdez wants to merge 28 commits into
Conversation
0edfd1f to
b7b5d19
Compare
|
Looks good. I did some testing, and found one issue. |
|
Thanks for helping me test, it was not fully tested yet. This means I should focus my attention on hope/fear split. Hope/fear splits work when damage automation is set to never on main, but fails in all other cases, so the entire thing was already quite fragile. |
|
I fixed the regression. The error with hope/fear results when damage autoroll is enabled still persists, but after digging into it it seems the issue is that the damage split results relies on config.roll being the actual roll itself. In the case of the damage autoroll, its a plain object. So its likely something that'll be fixable once we refactor the roll parts of it (which I have no idea what to do there yet). |
720df13 to
fe78734
Compare
|
The diff will reduce if the movement of ResourceUpdateMap and character sheet types moves into a new PR, and then this gets rebased on top. Let me do that separately, since a smaller diff will make a project of this complexity easier to deal with. PR here #2442 |
0a3d6fa to
bcd0dbf
Compare
f332867 to
70f3e45
Compare
|
Can you tell me what damage roll is failing? They're working for me, so its probably a specific scenario. That or I accidentally fixed it. |
0d3fafa to
b17ec47
Compare

No description provided.