diff --git a/main.go b/main.go index 51ba761..0b49d6c 100644 --- a/main.go +++ b/main.go @@ -113,16 +113,16 @@ func main() { if advantage { color.Yellow("Rolling %s saving throw with advantage...", saveString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Green("%d\n", result) } else if disadvantage { color.Yellow("Rolling %s saving throw with disadvantage...", saveString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Red("%d\n", result) } else { color.Yellow("Rolling %s saving throw...", saveString) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Without modifier: %d\tModifier: %d\n", planeResult, result-planeResult) color.Green("%d\n", result) } @@ -132,16 +132,16 @@ func main() { if advantage { color.Yellow("Rolling %s check with advantage...", skillString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Green("%d\n", result) } else if disadvantage { color.Yellow("Rolling %s check with disadvantage...", skillString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Red("%d\n", result) } else { color.Yellow("Rolling %s check...", skillString) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Without modifier: %d\tModifier: %d\n", planeResult, result-planeResult) color.Green("%d\n", result) } @@ -151,16 +151,16 @@ func main() { if advantage { color.Yellow("Rolling %s check with advantage...", statString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Green("%d\n", result) } else if disadvantage { color.Yellow("Rolling %s check with disadvantage...", statString) fmt.Printf("x: %d\ty: %d\n", X, Y) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Modifier: %d\n", result-planeResult) color.Red("%d\n", result) } else { color.Yellow("Rolling %s check...", statString) - fmt.Printf("Without modifier: %d\n", planeResult) + fmt.Printf("Without modifier: %d\tModifier: %d\n", planeResult, result-planeResult) color.Green("%d\n", result) }