File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -312,14 +312,6 @@ private void reset()
312312 . Then ( ) . RotateTo ( 0 ) ;
313313 }
314314 } ,
315-
316- // what if you just alpha everything. thats bound to look uninteresting... unless?
317- val =>
318- {
319- target . Alpha = val . NewValue ? RNG . NextSingle ( 0.6f , 0.8f ) : 1 ;
320- } ,
321-
322- // IS IT GONNA HIT THE CORNER
323315 val =>
324316 {
325317 if ( val . NewValue )
@@ -364,7 +356,7 @@ private void doRandomThing() => tasks.Add(host.UpdateThread.Scheduler.AddDelayed
364356 return ;
365357 }
366358
367- foreach ( var c in formCheckBoxes . Take ( 5 ) )
359+ foreach ( var c in formCheckBoxes . Take ( Math . Max ( 1 , formCheckBoxes . Length / 8 ) ) )
368360 {
369361 if ( RNG . NextSingle ( ) > 0.5f && formCheckBoxes . Count ( b => ! b . Current . Disabled ) > 5 )
370362 c . Current . Disabled = ! c . Current . Disabled ;
@@ -407,7 +399,7 @@ private void addNewToggle()
407399 doRandomThing ( ) ;
408400 } ) ;
409401
410- if ( Children . Count % 3 == 0 )
402+ if ( RNG . NextSingle ( ) > 0.6f )
411403 {
412404 int i = RNG . Next ( 0 , heroActions . Count ) ;
413405 checkbox . Current . BindValueChanged ( heroActions [ i ] ) ;
You can’t perform that action at this time.
0 commit comments