foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
320 stars 218 forks source link

Chat Card Optimization: Remove seperate d20 modifier div #3334

Open ZeroXNoxus opened 6 months ago

ZeroXNoxus commented 6 months ago

The additional div only displaying the modifier added to the d20 roll seems unnecessary, especially when compared to the damage roll and the way those modifiers are displayed: image

thatlonelybugbear commented 6 months ago

That is a MidiQOL chat message for merged cards.

ZeroXNoxus commented 6 months ago

Oh, my bad!

ZeroXNoxus commented 6 months ago

The issue is also present in the default chat cards for attack rolls: image

The additional div for the modifier seems unneccesary.

unsoluble commented 6 months ago

The whole point of the expanded card is to clearly show the breakdown of where the total comes from. Pretty sure this is an intentional design choice.

thatlonelybugbear commented 6 months ago

Indeed it seems so. I just wanted to clarify that cause it would create some confusion, as the card shown was not the default. MidiQOL will follow the core system's display of rolls.

ZeroXNoxus commented 6 months ago

The whole point of the expanded card is to clearly show the breakdown of where the total comes from. Pretty sure this is an intentional design choice.

It seems counter intuitive to style it differently for attack and damage rolls. The attack roll's additional div kinda explodes the chat messages (which are quiet large as is)

krbz999 commented 6 months ago

You want to see different breakdowns for attack and damage rolls.

For damage rolls you likely don't care about the modifier, you just want to see how much was fire and how much was slashing. For attack rolls, you ... well, tbh, you never really care about anything but the total, but if you do decide to expand the chat message to see the breakdown, it's probably because you want to see what die rolled what, and what the total modifier is.

So it makes sense to split an attack roll of "1d20 + 1 + 1d4 + 3" as the d20, the d4, and the +4.

image

ZeroXNoxus commented 6 months ago

I understand this approach, but we have more than enough space to display 5-6 dice results in a single row and the background image is enough to differentiate the dice used in the attack roll.

For me the current solution uses tons of uneccessary whitespace that makes looking at chat cards bothersome where it really shouldn't be. As the chat cards require rework anyway (regarding their size) this should be reworked as well.

Fyorl commented 6 months ago

Attack roll constants don't necessarily have information on which 'group' they belong to like damage roll constants do. Loose constants are grouped at the bottom.