LOEFD
Join ServerLeague of Extraordinary FoundryVTT Developers
progress-reports
multiroll damage roll messages
Messing with multiroll chat message in v10
demoing the 'edge cases' this supports
"Maximize Dice" + "Situational Bonus" + "Extra Critical Damage" + Deselecting one of the damage parts for this damage roll
slap a
total
on the bottom and you've got everything you used to have, and more.7 Messages Not Public
Sign In & Join Server To View
Under the hood it creates one DamageRoll instance per part provided to a new dice class: DamageGroupRoll.
That internally looks very similar to DamageRoll, but basically just curates and manages this group of individual rolls.
In this POC I was using the roll.render method on each individual roll, then stitching them into one message
That internally looks very similar to DamageRoll, but basically just curates and manages this group of individual rolls.
In this POC I was using the roll.render method on each individual roll, then stitching them into one message
I did this with a branch in the system code, it could probably be its own module in the interim though, might not interfere with roll groups
Which issue is this?
Yeah ideally it'd allow each individual roll to be right clicked, as well as the total
Yeah ideally it'd allow each individual roll to be right clicked, as well as the total
For how I actually implemented this, the entry point is a method that has the exact same call signature as damageRoll. Or at least one that's really close. Need to review the diff again to be sure
Instead of combining the provided
Instead of combining the provided
parts
, I keep them separate for longer in the process, and allow the configure roll dialog to filter those parts further, if the user wants.Long story short, roll groups would "just work" because all it does is curate which
parts
make it into the appropriate method (iirc)