Merge a05e648d6b09a5840229adb56f967be0310d4887 into 4290ea753912378913b1f3f54e0fc5720afeda5d
This commit is contained in:
commit
0a7d7c7189
@ -105,6 +105,7 @@ class Magic extends Operation {
|
|||||||
*/
|
*/
|
||||||
function chooseColour(val) {
|
function chooseColour(val) {
|
||||||
if (val < 3) return "green";
|
if (val < 3) return "green";
|
||||||
|
if (val < 4) return "yellowgreen";
|
||||||
if (val < 5) return "goldenrod";
|
if (val < 5) return "goldenrod";
|
||||||
return "red";
|
return "red";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user