You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just curious if this could be considered a possible future feature / improvement:
When I put the raw results value from onRollComplete into DiceResults.showResults, I can include logic that would let me add additional die to the roll using .add, and the DiceResults display would update the math and append the additional die into the calculation display.
However, the raw results value isn't calculating things like + or - modifiers into the display result. parseFinalResults fixes this, showing the correct final value. The only downside though is that it doesn't allow for the same type of appending functionality if you're .adding dice to the roll. Instead, it overwrites the previous value.
Could there be a way to adjust/extend parseFinalResults, so that it could allow for a continuous display of all rolls being made?
The text was updated successfully, but these errors were encountered:
Just curious if this could be considered a possible future feature / improvement:
When I put the raw
results
value fromonRollComplete
intoDiceResults.showResults
, I can include logic that would let me add additional die to the roll using.add
, and the DiceResults display would update the math and append the additional die into the calculation display.However, the raw
results
value isn't calculating things like+
or-
modifiers into the display result.parseFinalResults
fixes this, showing the correct final value. The only downside though is that it doesn't allow for the same type of appending functionality if you're.add
ing dice to the roll. Instead, it overwrites the previous value.Could there be a way to adjust/extend
parseFinalResults
, so that it could allow for a continuous display of all rolls being made?The text was updated successfully, but these errors were encountered: