コード例 #1
0
ファイル: State.xaml.cs プロジェクト: rafapena/SideBattleRPG
 protected override void OnInitializeNew()
 {
     Base.InitializeNew();
     PassiveEffectAttributes.InitializeNew();
     PassiveEffectRates.InitializeNew();
     StatMods.InitializeNew(100, "StatModifiers");
     MaxStackInput.Text          = "1";
     StepsToRemoveInput.Text     = "0";
     ContactSpreadRateInput.Text = "0";
     StunInput.IsChecked         = false;
     PetrifyInput.IsChecked      = false;
     KOInput.IsChecked           = false;
 }
コード例 #2
0
 protected override void OnInitializeNew()
 {
     Base.InitializeNew();
     PassiveEffectAttributes.InitializeNew();
     PassiveEffectRates.InitializeNew();
     MapForegroundInput.Source    = null;
     MapBackgroundInput.Source    = null;
     BattleForegroundInput.Source = null;
     BattleBackgroundInput.Source = null;
     AccuracyInput.Text           = "100";
     EvasionInput.Text            = "100";
     CriticalRateInput.Text       = "100";
     CritEvadeRateInput.Text      = "100";
 }
コード例 #3
0
 protected override void OnInitializeNew()
 {
     Base.InitializeNew();
     PassiveEffectAttributes.InitializeNew();
     PassiveEffectRates.InitializeNew();
     StatMods.InitializeNew(100, "StatModifiers");
     HPMinInput.Text                   = "0";
     HPMaxInput.Text                   = "100";
     SPMinInput.Text                   = "0";
     SPMaxInput.Text                   = "100";
     AnyStateInput.IsChecked           = false;
     NoStateInput.IsChecked            = false;
     StateActive1Input.SelectedIndex   = 0;
     StateActive2Input.SelectedIndex   = 0;
     StateInactive1Input.SelectedIndex = 0;
     StateInactive2Input.SelectedIndex = 0;
     ExpGainRateInput.Text             = "100";
     GoldGainRateInput.Text            = "100";
     AllyConditionInput.SelectedIndex  = 0;
     FoeConditionInput.SelectedIndex   = 0;
     UserConditionInput.SelectedIndex  = 2;
 }