@@ -208,8 +208,8 @@ public Creature Creature
208208 _labels [ s ] . BackColor = Color . WhiteSmoke ;
209209 _labels [ s ] . ForeColor = Color . LightGray ;
210210 _ttMonospaced . SetToolTip ( _labels [ s ] , Utils . StatName ( si , false , _creature . Species ? . statNames ) + ": "
211- + $ "{ _creature . valuesBreeding [ si ] * ( Utils . Precision ( si ) == 3 ? 100 : 1 ) , 7 : #,0.0} "
212- + ( Utils . Precision ( si ) == 3 ? "%" : string . Empty ) ) ;
211+ + $ "{ _creature . valuesBreeding [ si ] * ( Stats . IsPercentage ( si ) ? 100 : 1 ) , 7 : #,0.0} "
212+ + ( Stats . IsPercentage ( si ) ? "%" : string . Empty ) ) ;
213213 }
214214 else
215215 {
@@ -234,8 +234,8 @@ public Creature Creature
234234 _labels [ s ] . BackColor = Utils . GetColorFromPercent ( ( int ) ( _creature . levelsWild [ si ] * 2.5 ) , _creature . IsTopStat ( si ) ? 0.2 : 0.7 ) ;
235235 _labels [ s ] . ForeColor = Parent ? . ForeColor ?? Color . Black ; // needed so text is not transparent on overlay
236236 _ttMonospaced . SetToolTip ( _labels [ s ] , Utils . StatName ( si , false , _creature . Species ? . statNames ) + ": "
237- + $ "{ _creature . valuesBreeding [ si ] * ( Utils . Precision ( si ) == 3 ? 100 : 1 ) , 7 : #,0.0} "
238- + ( Utils . Precision ( si ) == 3 ? "%" : string . Empty )
237+ + $ "{ _creature . valuesBreeding [ si ] * ( Stats . IsPercentage ( si ) ? 100 : 1 ) , 7 : #,0.0} "
238+ + ( Stats . IsPercentage ( si ) ? "%" : string . Empty )
239239 + ( _creature . levelsMutated == null ? string . Empty
240240 : Environment . NewLine + Loc . S ( "Mutations" ) + ": " + _creature . levelsMutated [ si ]
241241 ) ) ;
0 commit comments