next step

This commit is contained in:
Rory Hinnen
2026-09-13 18:08:11 -05:00
parent 2034dbab40
commit e4e7c9fa0d
9 changed files with 56 additions and 68 deletions
+6 -6
View File
@@ -9,29 +9,29 @@ struct InfoAreaView: View {
@EnvironmentObject var current: Roll
var body: some View {
VStack(alignment: .leading, spacing: 6) {
HStack() {
switch current.state {
case .hit:
if current.lethalHits || current.sustainedHits {
Text("Crits (6s): \(current.critHitCount)")
.fontWeight(.semibold)
.foregroundColor(.orange)
.foregroundColor(.red)
}
if current.antiX {
Text("Anti-X (\(current.antiXThreshold)+): \(current.antiXCount)")
.fontWeight(.semibold)
.foregroundColor(.orange)
.foregroundColor(.red)
}
case .wound:
if current.autoWoundsCarried > 0 {
Text("Auto-wounds carried: \(current.autoWoundsCarried) (skip wound roll)")
.fontWeight(.semibold)
.foregroundColor(.orange)
.foregroundColor(.red)
}
if current.devastatingWounds {
Text("Mortals (6s): \(current.critWoundCount)")
Text("Mortal wounds: \(current.critWoundCount)")
.fontWeight(.semibold)
.foregroundColor(.orange)
.foregroundColor(.red)
}
case .armour:
EmptyView()