Closed phylll closed 2 years ago
Repro code:
!mmm script
!mmm set test = roll("1d20+14")
!mmm set testMod = test + 3 -2
!mmm set test = highlight(test, default, "bla")
!mmm set testMod = highlight(testMod, test, "Further explanations")
!mmm chat: Rolled ${test} for result ${testMod}
!mmm end script
For the edge cases 0
and 20
, test
retains automatic highlighting as bad
/good
, but testMod
does not pick it up since the functionality proposed in https://github.com/michael-buschbeck/mychs-macro-magic/issues/108 isn't implemented yet.
-> PR MMM#97