Exemple #1
0
        private void Rb_Mage_Checked(object sender, System.Windows.RoutedEventArgs e)
        {
            WeaponClass selectedItemType = GetSelectedWeaponClass();

            _itemsToEnhance = WeaponsTable.GetWeaponTable(selectedItemType).Where(x => x.Value.Type == WeaponType.MageWeapon).ToDictionary(x => x.Key, x => x.Value);
            InitWeapons();
        }
Exemple #2
0
        private void WeapontypeBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            WeaponClass selectedItemType = GetSelectedWeaponClass();

            _itemsToEnhance = WeaponsTable.GetWeaponTable(selectedItemType);
            InitWeapons();
            ResetEnhancementLevel();
        }
Exemple #3
0
 private void Rb_ShowAll_Checked(object sender, System.Windows.RoutedEventArgs e)
 {
     if (_itemsToEnhance != null && _itemsToEnhance.Any())
     {
         WeaponClass selectedItemType = GetSelectedWeaponClass();
         _itemsToEnhance = WeaponsTable.GetWeaponTable(selectedItemType);
         InitWeapons();
     }
 }