Updated attack rolls and damage rolls for adversaries

This commit is contained in:
WBHarry 2025-05-24 10:25:40 +02:00
parent ee6c97d134
commit faab60b45b
22 changed files with 356 additions and 204 deletions

View file

@ -1760,55 +1760,59 @@
.daggerheart.chat.downtime .downtime-refresh-container .refresh-title {
font-weight: bold;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality {
display: flex;
align-items: center;
justify-content: space-around;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .dice-hope-container {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .dice-hope-container {
display: flex;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .dice-hope-container .roll.die:not(:last-of-type) {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .dice-hope-container .roll.die:not(:last-of-type) {
margin-right: 8px;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .modifiers-container {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .modifiers-container {
display: flex;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .modifiers-container .modifier-value:not(:last-of-type) {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .modifiers-container .modifier-value:not(:last-of-type) {
margin-right: 8px;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .roll.die.hope {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .roll.die.hope {
color: white;
-webkit-text-stroke-color: #008080;
-webkit-text-stroke-width: 1.5px;
font-weight: 400;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .roll.die.fear {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .roll.die.fear {
color: white;
-webkit-text-stroke-color: #430070;
-webkit-text-stroke-width: 1.5px;
font-weight: 400;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .roll.die.disadvantage {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .roll.die.disadvantage {
color: white;
-webkit-text-stroke-color: #b30000;
-webkit-text-stroke-width: 1.5px;
font-weight: 400;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .roll.die.advantage {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .roll.die.advantage {
color: white;
-webkit-text-stroke-color: green;
-webkit-text-stroke-width: 1.5px;
font-weight: 400;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .roll.die.unused {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .roll.die.unused {
opacity: 0.3;
}
.daggerheart.chat.roll .dice-tooltip .dice-rolls .modifier-value {
.daggerheart.chat.roll .dice-tooltip .dice-rolls.duality .modifier-value {
text-align: center;
font-weight: bold;
font-size: 16px;
}
.daggerheart.chat.roll .dice-tooltip .attack-roll-advantage-container {
text-align: end;
font-weight: bold;
}
.daggerheart.chat.roll .dice-total .dice-total-value .hope {
color: #008080;
}
@ -1859,7 +1863,15 @@
justify-content: center;
margin-right: 32px;
}
.daggerheart.chat.roll .roll-damage-button {
.daggerheart.chat.roll .dice-actions {
display: flex;
gap: 4px;
}
.daggerheart.chat.roll .dice-actions button {
flex: 1;
}
.daggerheart.chat.roll .dice-result .roll-damage-button,
.daggerheart.chat.roll .dice-result .damage-button {
margin-top: 5px;
}
.daggerheart.chat.domain-card {
@ -2227,6 +2239,7 @@ div.daggerheart.views.multiclass {
display: flex;
align-items: center;
margin-bottom: 8px;
gap: 16px;
}
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .selection-container .dice-container {
display: flex;
@ -2241,6 +2254,7 @@ div.daggerheart.views.multiclass {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
@ -2267,52 +2281,57 @@ div.daggerheart.views.multiclass {
.dice-inner-container
.dice-number {
position: absolute;
top: calc(50% - 14px);
left: calc(50% - 7px);
font-size: 24px;
font-weight: bold;
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.selection-container
.dice-container
.advantage-container {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.selection-container
.dice-container
.advantage-container
.advantage-button.active,
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.selection-container
.dice-container
.advantage-container
.advantage-button:hover {
background: var(--button-hover-background-color);
}
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
gap: 4px;
flex: 2;
flex: 1;
height: 100%;
}
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip {
border: 1px solid black;
border-radius: 6px;
flex-basis: calc(50% - 2px);
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
padding: 4px;
background: grey;
overflow: hidden;
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.roll-dialog-experience-container
.roll-dialog-chip.hover {
filter: drop-shadow(0 0 3px red);
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.roll-dialog-experience-container
.roll-dialog-chip
span {
overflow: hidden;
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container .experience-chip {
opacity: 0.6;
border-radius: 16px;
width: calc(50% - 4px);
white-space: nowrap;
text-overflow: ellipsis;
}
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.roll-dialog-experience-container
.roll-dialog-chip.selected
i {
color: green;
.experience-chip.active,
.daggerheart.views.npc-roll-selection
.npc-roll-dialog-container
.roll-dialog-experience-container
.experience-chip:hover {
opacity: 1;
background: var(--button-hover-background-color);
}
.daggerheart.views.multiclass .multiclass-container {
margin-bottom: 16px;