[v14] Add toggle for critical damage (#1762)

* Fix rolling critical damage after rerolling into a crit

* Add toggle for critical damage

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
Carlos Fernandez 2026-04-01 13:39:26 -04:00 committed by GitHub
parent e3b433cce9
commit 2b8e4cb2fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 51 additions and 2 deletions

View file

@ -17,6 +17,30 @@
}
}
.bonuses {
gap: 4px;
.critical-chip {
flex: 0;
display: flex;
align-items: center;
border-radius: 5px;
width: fit-content;
gap: 5px;
cursor: pointer;
padding: 5px;
transition: all 0.3s ease;
background: @green-10;
color: @green;
&.selected {
color: @beige;
background: @gradient-green;
}
}
}
.damage-section-controls {
display: flex;
align-items: center;