//stepper for boss battles value chance void BossBattles_OnStepperValueChanged(object sender, ValueChangedEventArgs e) { BossBattlesValue.Text = String.Format("{0}", e.NewValue); GameGlobals.SetPercentChanceOccurringBossBattle(Convert.ToDouble(BossBattlesValue.Text)); }