mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-11-03 16:49:58 +00:00 
			
		
		
		
	Fin mise en place nouveaux filtres équipement / objets magiques
This commit is contained in:
		
							parent
							
								
									c0412f859f
								
							
						
					
					
						commit
						3bddaa8cb6
					
				
					 18 changed files with 87 additions and 145 deletions
				
			
		| 
						 | 
					@ -7,9 +7,15 @@ namespace AideDeJeuLib
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public class Equipments : FilteredItems
 | 
					    public class Equipments : FilteredItems
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        public string Types { get; set; }
 | 
				
			||||||
 | 
					        public string Prices { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override FilterViewModel GetNewFilterViewModel()
 | 
					        public override FilterViewModel GetNewFilterViewModel()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return new VFEquipmentFilterViewModel();
 | 
					            return new EquipmentFilterViewModel(Family,
 | 
				
			||||||
 | 
					                Split(Types),
 | 
				
			||||||
 | 
					                Split(Prices)
 | 
				
			||||||
 | 
					                );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,9 +8,17 @@ namespace AideDeJeuLib
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public class MagicItems : FilteredItems
 | 
					    public class MagicItems : FilteredItems
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        public string Types { get; set; }
 | 
				
			||||||
 | 
					        public string Rarities { get; set; }
 | 
				
			||||||
 | 
					        public string Attunements { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override FilterViewModel GetNewFilterViewModel()
 | 
					        public override FilterViewModel GetNewFilterViewModel()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return new VFMagicItemFilterViewModel();
 | 
					            return new MagicItemFilterViewModel(Family,
 | 
				
			||||||
 | 
					                Split(Types),
 | 
				
			||||||
 | 
					                Split(Rarities),
 | 
				
			||||||
 | 
					                Split(Attunements)
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -382,7 +382,7 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
    #endregion Monsters
 | 
					    #endregion Monsters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #region Equipments
 | 
					    #region Equipments
 | 
				
			||||||
    public abstract class EquipmentFilterViewModel : FilterViewModel
 | 
					    public class EquipmentFilterViewModel : FilterViewModel
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        private IEnumerable<Filter> _Filters = null;
 | 
					        private IEnumerable<Filter> _Filters = null;
 | 
				
			||||||
        public override IEnumerable<Filter> Filters
 | 
					        public override IEnumerable<Filter> Filters
 | 
				
			||||||
| 
						 | 
					@ -395,7 +395,7 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.Type, Name = "Type", KeyValues = Types, _Index = 0 },
 | 
					                        new Filter() { Key = FilterKeys.Type, Name = "Type", KeyValues = Types, _Index = 0 },
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.MinPrice, Name = "Prix Minimum", KeyValues = Prices, _Index = 0 },
 | 
					                        new Filter() { Key = FilterKeys.MinPrice, Name = "Prix Minimum", KeyValues = Prices, _Index = 0 },
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.MaxPrice, Name = "Prix Maximum", KeyValues = Prices, _Index = 9 },
 | 
					                        new Filter() { Key = FilterKeys.MaxPrice, Name = "Prix Maximum", KeyValues = Prices, _Index = 0 },
 | 
				
			||||||
                    };
 | 
					                    };
 | 
				
			||||||
                    RegisterFilters();
 | 
					                    RegisterFilters();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					@ -403,12 +403,23 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public EquipmentFilterViewModel(string family, List<KeyValuePair<string, string>> types, List<KeyValuePair<string, string>> prices)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            this.Types = types;
 | 
				
			||||||
 | 
					            this.Prices = prices;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public string PriceConverter(string price)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            if (price == "") return null;
 | 
				
			||||||
 | 
					            return price;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        public override async Task<IEnumerable<Item>> GetFilteredItemsAsync(CancellationToken token = default)
 | 
					        public override async Task<IEnumerable<Item>> GetFilteredItemsAsync(CancellationToken token = default)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var priceComparer = new PriceComparer();
 | 
					            var priceComparer = new PriceComparer();
 | 
				
			||||||
            var type = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Type).SelectedKey ?? "";
 | 
					            var type = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Type).SelectedKey ?? "";
 | 
				
			||||||
            var minPrice = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.MinPrice).SelectedKey ?? "0 pc";
 | 
					            var minPrice = PriceConverter(Filters.SingleOrDefault(filter => filter.Key == FilterKeys.MinPrice).SelectedKey) ?? "0 pc";
 | 
				
			||||||
            var maxPrice = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.MaxPrice).SelectedKey ?? "1 000 000 po";
 | 
					            var maxPrice = PriceConverter(Filters.SingleOrDefault(filter => filter.Key == FilterKeys.MaxPrice).SelectedKey) ?? "1 000 000 po";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            try
 | 
					            try
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					@ -437,62 +448,14 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public abstract List<KeyValuePair<string, string>> Types { get; }
 | 
					        public List<KeyValuePair<string, string>> Types { get; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public abstract List<KeyValuePair<string, string>> Prices { get; }
 | 
					        public List<KeyValuePair<string, string>> Prices { get; }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    public class VFEquipmentFilterViewModel : EquipmentFilterViewModel
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override List<KeyValuePair<string, string>> Types { get; } = new List<KeyValuePair<string, string>>()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("", "Tous" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Armure", "Armure" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Armure légère", "    Armure légère" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Armure intermédiaire", "    Armure intermédiaire" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Armure lourde", "    Armure lourde" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Bouclier", "    Bouclier" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Arme", "Arme" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Arme de corps-à-corps", "    Arme de corps-à-corps" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Arme à distance", "    Arme à distance" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Équipement d'aventurier", "Équipement d'aventurier" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Focaliseur arcanique", "    Focaliseur arcanique" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Focaliseur druidique", "    Focaliseur druidique" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Munitions", "    Munitions" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Symbole sacré", "    Symbole sacré" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Vêtements", "    Vêtements" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Outil", "Outil" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Instrument de musique", "    Instrument de musique" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Jeu", "    Jeu" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Outil d'artisan", "    Outil d'artisan" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Monture", "Monture" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Équipement, sellerie et véhicules à traction", "Équipement, sellerie et véhicules à traction" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Bateau", "Bateau" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Marchandise", "Marchandise" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Service", "Service" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Nourriture, boisson et logement", "Nourriture, boisson et logement" ),
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override List<KeyValuePair<string, string>> Prices { get; } = new List<KeyValuePair<string, string>>()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("0 pc", "0 pc" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("1 pc", "1 pc" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("1 pa", "1 pa" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("1 po", "1 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("10 po", "10 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("100 po", "100 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("1 000 po", "1 000 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("10 000 po", "10 000 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("100 000 po", "100 000 po" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("1 000 000 po", "1 000 000 po" ),
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    #endregion Equipments
 | 
					    #endregion Equipments
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #region Magic Items
 | 
					    #region Magic Items
 | 
				
			||||||
    public abstract class MagicItemFilterViewModel : FilterViewModel
 | 
					    public class MagicItemFilterViewModel : FilterViewModel
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        private IEnumerable<Filter> _Filters = null;
 | 
					        private IEnumerable<Filter> _Filters = null;
 | 
				
			||||||
        public override IEnumerable<Filter> Filters
 | 
					        public override IEnumerable<Filter> Filters
 | 
				
			||||||
| 
						 | 
					@ -504,8 +467,8 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
                    _Filters = new List<Filter>()
 | 
					                    _Filters = new List<Filter>()
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.Type, Name = "Type", KeyValues = Types, _Index = 0 },
 | 
					                        new Filter() { Key = FilterKeys.Type, Name = "Type", KeyValues = Types, _Index = 0 },
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.Rarity, Name = "Rareté", KeyValues = Rarity, _Index = 0 },
 | 
					                        new Filter() { Key = FilterKeys.Rarity, Name = "Rareté", KeyValues = Rarities, _Index = 0 },
 | 
				
			||||||
                        new Filter() { Key = FilterKeys.Attunement, Name = "Harmonisation", KeyValues = Attunement, _Index = 0 },
 | 
					                        new Filter() { Key = FilterKeys.Attunement, Name = "Harmonisation", KeyValues = Attunements, _Index = 0 },
 | 
				
			||||||
                        //new Filter() { Key = FilterKeys.MinPrice, Name = "Prix Minimum", KeyValues = Prices, _Index = 0 },
 | 
					                        //new Filter() { Key = FilterKeys.MinPrice, Name = "Prix Minimum", KeyValues = Prices, _Index = 0 },
 | 
				
			||||||
                        //new Filter() { Key = FilterKeys.MaxPrice, Name = "Prix Maximum", KeyValues = Prices, _Index = 9 },
 | 
					                        //new Filter() { Key = FilterKeys.MaxPrice, Name = "Prix Maximum", KeyValues = Prices, _Index = 9 },
 | 
				
			||||||
                    };
 | 
					                    };
 | 
				
			||||||
| 
						 | 
					@ -515,9 +478,15 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public MagicItemFilterViewModel(string family, List<KeyValuePair<string, string>> types, List<KeyValuePair<string, string>> rarities, List<KeyValuePair<string, string>> attunements)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            this.Types = types;
 | 
				
			||||||
 | 
					            this.Rarities = rarities;
 | 
				
			||||||
 | 
					            this.Attunements = attunements;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public override async Task<IEnumerable<Item>> GetFilteredItemsAsync(CancellationToken token = default)
 | 
					        public override async Task<IEnumerable<Item>> GetFilteredItemsAsync(CancellationToken token = default)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var priceComparer = new PriceComparer();
 | 
					 | 
				
			||||||
            var type = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Type).SelectedKey ?? "";
 | 
					            var type = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Type).SelectedKey ?? "";
 | 
				
			||||||
            var rarity = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Rarity).SelectedKey ?? "";
 | 
					            var rarity = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Rarity).SelectedKey ?? "";
 | 
				
			||||||
            var attunement = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Attunement).SelectedKey ?? "";
 | 
					            var attunement = Filters.SingleOrDefault(filter => filter.Key == FilterKeys.Attunement).SelectedKey ?? "";
 | 
				
			||||||
| 
						 | 
					@ -545,57 +514,11 @@ namespace AideDeJeu.ViewModels
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public abstract List<KeyValuePair<string, string>> Types { get; }
 | 
					        public List<KeyValuePair<string, string>> Types { get; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public abstract List<KeyValuePair<string, string>> Rarity { get; }
 | 
					        public List<KeyValuePair<string, string>> Rarities { get; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public abstract List<KeyValuePair<string, string>> Attunement { get; }
 | 
					        public List<KeyValuePair<string, string>> Attunements { get; }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    public class VFMagicItemFilterViewModel : MagicItemFilterViewModel
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override List<KeyValuePair<string, string>> Types { get; } = new List<KeyValuePair<string, string>>()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("", "Tous" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Anneau", "Anneau" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Arme", "Arme" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Armure", "Armure" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Baguette", "Baguette" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Bâton", "Bâton" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Objet merveilleux", "Objet merveilleux" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Parchemin", "Parchemin" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Potion", "Potion" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("Sceptre", "Sceptre" ),
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override List<KeyValuePair<string, string>> Rarity { get; } = new List<KeyValuePair<string, string>>()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("", "Toutes" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("peu courant", "Peu courant" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("rare", "Rare" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("très rare", "Très rare" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("légendaire", "Légendaire" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("rareté variable", "Rareté variable" ),
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override List<KeyValuePair<string, string>> Attunement { get; } = new List<KeyValuePair<string, string>>()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("", "Tout" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("requise", "Requise" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("lanceur de sorts", "Lanceur de sorts" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("barde", "  Barde" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("clerc", "  Clerc" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("druide", "  Druide" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("ensorceleur", "  Ensorceleur" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("magicien", "  Magicien" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("sorcier", "  Sorcier" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("paladin", "  Paladin" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("alignement bon", "Alignement bon" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("alignement mauvais", "Alignement mauvais" ),
 | 
					 | 
				
			||||||
            new KeyValuePair<string, string>("nain", "Nain" ),
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    #endregion Equipments
 | 
					    #endregion Equipments
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Barbare
 | 
				
			||||||
 | 
					AltName: Barbarian (SRD p8)
 | 
				
			||||||
 | 
					Source: (MDR p114)
 | 
				
			||||||
Id: barbarian_hd.md#barbare
 | 
					Id: barbarian_hd.md#barbare
 | 
				
			||||||
RootId: barbarian_hd.md
 | 
					RootId: barbarian_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Barbare
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Barbarian (SRD p8)
 | 
					 | 
				
			||||||
Source: (MDR p114)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Barde
 | 
				
			||||||
 | 
					AltName: Bard (SRD p11)
 | 
				
			||||||
 | 
					Source: (MDR p121)
 | 
				
			||||||
Id: bard_hd.md#barde
 | 
					Id: bard_hd.md#barde
 | 
				
			||||||
RootId: bard_hd.md
 | 
					RootId: bard_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Barde
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Bard (SRD p11)
 | 
					 | 
				
			||||||
Source: (MDR p121)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Clerc
 | 
				
			||||||
 | 
					AltName: Cleric (SRD p15)
 | 
				
			||||||
 | 
					Source: (MDR p129)
 | 
				
			||||||
Id: cleric_hd.md#clerc
 | 
					Id: cleric_hd.md#clerc
 | 
				
			||||||
RootId: cleric_hd.md
 | 
					RootId: cleric_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Clerc
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Cleric (SRD p15)
 | 
					 | 
				
			||||||
Source: (MDR p129)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Druide
 | 
				
			||||||
 | 
					AltName: Druid (SRD p17)
 | 
				
			||||||
 | 
					Source: (MDR p142)
 | 
				
			||||||
Id: druid_hd.md#druide
 | 
					Id: druid_hd.md#druide
 | 
				
			||||||
RootId: druid_hd.md
 | 
					RootId: druid_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Druide
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Druid (SRD p17)
 | 
					 | 
				
			||||||
Source: (MDR p142)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,7 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!Equipments
 | 
					!Equipments
 | 
				
			||||||
 | 
					Types: Armure|Armure légère|Armure intermédiaire|Armure lourde|Bouclier|Arme|Arme de corps-à-corps|Arme à distance|Équipement d'aventurier|Focaliseur arcanique|Focaliseur druidique|Munitions|Symbole sacré|Vêtements|Outil|Instrument de musique|Jeu|Outil d'artisan|Monture|Équipement, sellerie et véhicules à traction|Bateau|Marchandise|Service|Nourriture, boisson et logement
 | 
				
			||||||
 | 
					Prices: 0 pc|1 pc|1 pa|1 po|10 po|100 po|1 000 po|10 000 po|100 000 po|1 000 000 po
 | 
				
			||||||
SubItems:
 | 
					SubItems:
 | 
				
			||||||
- !Equipment
 | 
					- !Equipment
 | 
				
			||||||
  Type: Armure légère
 | 
					  Type: Armure légère
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Guerrier
 | 
				
			||||||
 | 
					AltName: Fighter (SRD p24)
 | 
				
			||||||
 | 
					Source: (MDR p160)
 | 
				
			||||||
Id: fighter_hd.md#guerrier
 | 
					Id: fighter_hd.md#guerrier
 | 
				
			||||||
RootId: fighter_hd.md
 | 
					RootId: fighter_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Guerrier
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Fighter (SRD p24)
 | 
					 | 
				
			||||||
Source: (MDR p160)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,8 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!MagicItems
 | 
					!MagicItems
 | 
				
			||||||
 | 
					Types: Anneau|Arme|Armure|Baguette|Bâton|Objet merveilleux|Parchemin|Potion|Sceptre
 | 
				
			||||||
 | 
					Rarities: Peu courant|Rare|Très rare|Légendaire|Rareté variable
 | 
				
			||||||
 | 
					Attunements: Requise|Lanceur de sorts|Barde|Clerc|Druide|Ensorceleur|Magicien|Sorcier|Paladin|Alignement bon|Alignement mauvais|Nain
 | 
				
			||||||
SubItems:
 | 
					SubItems:
 | 
				
			||||||
- !MagicItem
 | 
					- !MagicItem
 | 
				
			||||||
  Type: Objet merveilleux
 | 
					  Type: Objet merveilleux
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Moine
 | 
				
			||||||
 | 
					AltName: Monk (SRD p26)
 | 
				
			||||||
 | 
					Source: (MDR p176)
 | 
				
			||||||
Id: monk_hd.md#moine
 | 
					Id: monk_hd.md#moine
 | 
				
			||||||
RootId: monk_hd.md
 | 
					RootId: monk_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Moine
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Monk (SRD p26)
 | 
					 | 
				
			||||||
Source: (MDR p176)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Paladin
 | 
				
			||||||
 | 
					AltName: Paladin (SRD p30)
 | 
				
			||||||
 | 
					Source: (MDR p183)
 | 
				
			||||||
Id: paladin_hd.md#paladin
 | 
					Id: paladin_hd.md#paladin
 | 
				
			||||||
RootId: paladin_hd.md
 | 
					RootId: paladin_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Paladin
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Paladin (SRD p30)
 | 
					 | 
				
			||||||
Source: (MDR p183)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Rôdeur
 | 
				
			||||||
 | 
					AltName: Ranger (SRD p35)
 | 
				
			||||||
 | 
					Source: (MDR p194)
 | 
				
			||||||
Id: ranger_hd.md#rôdeur
 | 
					Id: ranger_hd.md#rôdeur
 | 
				
			||||||
RootId: ranger_hd.md
 | 
					RootId: ranger_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Rôdeur
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Ranger (SRD p35)
 | 
					 | 
				
			||||||
Source: (MDR p194)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Roublard
 | 
				
			||||||
 | 
					AltName: Rogue (SRD p39)
 | 
				
			||||||
 | 
					Source: (MDR p202)
 | 
				
			||||||
Id: rogue_hd.md#roublard
 | 
					Id: rogue_hd.md#roublard
 | 
				
			||||||
RootId: rogue_hd.md
 | 
					RootId: rogue_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Roublard
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Rogue (SRD p39)
 | 
					 | 
				
			||||||
Source: (MDR p202)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Ensorceleur
 | 
				
			||||||
 | 
					AltName: Sorcerer (SRD p41)
 | 
				
			||||||
 | 
					Source: (MDR p152)
 | 
				
			||||||
Id: sorcerer_hd.md#ensorceleur
 | 
					Id: sorcerer_hd.md#ensorceleur
 | 
				
			||||||
RootId: sorcerer_hd.md
 | 
					RootId: sorcerer_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Ensorceleur
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Sorcerer (SRD p41)
 | 
					 | 
				
			||||||
Source: (MDR p152)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Sorcier
 | 
				
			||||||
 | 
					AltName: Warlock (SRD p46)
 | 
				
			||||||
 | 
					Source: (MDR p209)
 | 
				
			||||||
Id: warlock_hd.md#sorcier
 | 
					Id: warlock_hd.md#sorcier
 | 
				
			||||||
RootId: warlock_hd.md
 | 
					RootId: warlock_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Sorcier
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Warlock (SRD p46)
 | 
					 | 
				
			||||||
Source: (MDR p209)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
!ClassItem
 | 
					!ClassItem
 | 
				
			||||||
 | 
					Name: Magicien
 | 
				
			||||||
 | 
					AltName: Wizard (SRD p52)
 | 
				
			||||||
 | 
					Source: (MDR p166)
 | 
				
			||||||
Id: wizard_hd.md#magicien
 | 
					Id: wizard_hd.md#magicien
 | 
				
			||||||
RootId: wizard_hd.md
 | 
					RootId: wizard_hd.md
 | 
				
			||||||
ParentLink: classes_hd.md
 | 
					ParentLink: classes_hd.md
 | 
				
			||||||
Name: Magicien
 | 
					 | 
				
			||||||
ParentName: Classes
 | 
					ParentName: Classes
 | 
				
			||||||
NameLevel: 1
 | 
					NameLevel: 1
 | 
				
			||||||
AltName: Wizard (SRD p52)
 | 
					 | 
				
			||||||
Source: (MDR p166)
 | 
					 | 
				
			||||||
Attributes: {}
 | 
					Attributes: {}
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
>  [Classes](hd_classes.md)
 | 
					>  [Classes](hd_classes.md)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								Data/library.db
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Data/library.db
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue