From f70c713c5f4c8fc65321e3a7e46e54b81d9bd22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=90=99PiperYxzzy?= Date: Sun, 10 Mar 2024 10:31:43 +0200 Subject: [PATCH] Changing final result for noncrits to Cyan for visibility (on MY screen) --- roll.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roll.go b/roll.go index 2021fad..eba16d6 100644 --- a/roll.go +++ b/roll.go @@ -95,14 +95,14 @@ func simulate(dieFunc func() int, bouncesMin int, bouncesMax int, critNeut []int for b := 0; b < bounces; b++ { preroll := dieFunc() - fmt.Printf("\r>\033[34m%3d\033[0m", preroll) // purple while rolling + fmt.Printf("\r>\033[34m%3d\033[0m", preroll) // blue while rolling rwait := globalRand(50) + 25 time.Sleep(time.Millisecond * time.Duration(rwait)) } actualRoll := dieFunc() - colour := "\033[34m" // Blue + colour := "\033[36m" // Blue if isIn(critNeut, actualRoll) { colour += "\033[1m\033[35m" // Purple } else if isIn(critBad, actualRoll) {