1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00

NameVO => AltName

This commit is contained in:
Yan Maniez 2018-07-14 01:43:59 +02:00
parent 4bfcddff03
commit 884164e497
21 changed files with 1364 additions and 1509 deletions

View file

@ -17,7 +17,7 @@ namespace AideDeJeuLib
{
return
$"# {Name}\n\n" +
$"{NameVO}\n\n" +
$"{AltName}\n\n" +
Text;
}
}
@ -77,7 +77,7 @@ namespace AideDeJeuLib
var properties = new List<Tuple<string, Action<Condition, string>>>()
{
new Tuple<string, Action<Condition, string>>("NameVO: ", (m, s) => m.NameVO = s),
new Tuple<string, Action<Condition, string>>("AltName: ", (m, s) => m.AltName = s),
};
foreach (var property in properties)

View file

@ -7,13 +7,13 @@ namespace AideDeJeuLib
public abstract class Item
{
public string Name { get; set; }
public string NameVO { get; set; }
public string NameVOText
public string AltName { get; set; }
public string AltNameText
{
get
{
var regex = new Regex("\\[(?<text>.*?)\\]");
var match = regex.Match(NameVO ?? string.Empty);
var match = regex.Match(AltName ?? string.Empty);
return match.Groups["text"].Value;
}
}

View file

@ -193,7 +193,7 @@ namespace AideDeJeuLib
new Tuple<string, Action<Monster, string>>("**Skills** ", (m, s) => m.Skills = s),
new Tuple<string, Action<Monster, string>>("**Compétence** ", (m, s) => m.Skills = s),
new Tuple<string, Action<Monster, string>>("NameVO: ", (m, s) => m.NameVO = s),
new Tuple<string, Action<Monster, string>>("AltName: ", (m, s) => m.AltName = s),
new Tuple<string, Action<Monster, string>>("", (m,s) =>
{

View file

@ -14,7 +14,7 @@ namespace AideDeJeuLib
{
return
$"# {Name}\n" +
$"{NameVO}\n" +
$"{AltName}\n" +
$"{Type} de taille {Size}, {Alignment}\n" +
$"**Classe d'armure** {ArmorClass}\n" +
$"**Points de vie** {HitPoints}\n" +

View file

@ -14,7 +14,7 @@ namespace AideDeJeuLib
{
return
$"# {Name}\n" +
$"{NameVO}\n" +
$"{AltName}\n" +
$"{Size} {Type}, {Alignment}\n" +
$"**Armor Class** {ArmorClass}\n" +
$"**Hit Points** {HitPoints}\n" +

View file

@ -34,7 +34,6 @@ namespace AideDeJeuLib
if (block is Markdig.Syntax.HeadingBlock)
{
var headingBlock = block as Markdig.Syntax.HeadingBlock;
//DumpHeadingBlock(headingBlock);
if (headingBlock.HeaderChar == '#' && headingBlock.Level == 1)
{
if (this.Name != null)
@ -42,7 +41,6 @@ namespace AideDeJeuLib
return;
}
this.Name = headingBlock.Inline.ToMarkdownString();
//Console.WriteLine(spell.Name);
}
}
if (block is Markdig.Syntax.ParagraphBlock)
@ -54,40 +52,29 @@ namespace AideDeJeuLib
var paragraphBlock = block as Markdig.Syntax.ParagraphBlock;
this.DescriptionHtml += paragraphBlock.ToMarkdownString() + "\n";
////DumpParagraphBlock(paragraphBlock);
//Console.WriteLine(paragraphBlock.IsBreakable);
//spell.DescriptionHtml += paragraphBlock.Inline.ToContainerString();
//if(paragraphBlock.IsBreakable)
//{
// spell.DescriptionHtml += "\n";
//}
}
if (block is Markdig.Syntax.ListBlock)
{
var listBlock = block as Markdig.Syntax.ListBlock;
//DumpListBlock(listBlock);
if (listBlock.BulletType == '-')
{
this.Source = "";
foreach (var inblock in listBlock)
{
//DumpBlock(inblock);
var regex = new Regex("(?<key>.*?): (?<value>.*)");
if (inblock is Markdig.Syntax.ListItemBlock)
{
var listItemBlock = inblock as Markdig.Syntax.ListItemBlock;
foreach (var ininblock in listItemBlock)
{
//DumpBlock(ininblock);
if (ininblock is Markdig.Syntax.ParagraphBlock)
{
var paragraphBlock = ininblock as Markdig.Syntax.ParagraphBlock;
//DumpParagraphBlock(paragraphBlock);
var str = paragraphBlock.Inline.ToMarkdownString();
var properties = new List<Tuple<string, Action<Spell, string>>>()
{
new Tuple<string, Action<Spell, string>>("NameVO: ", (m, s) => m.NameVO = s),
new Tuple<string, Action<Spell, string>>("AltName: ", (m, s) => m.AltName = s),
new Tuple<string, Action<Spell, string>>("CastingTime: ", (m, s) => m.CastingTime = s),
new Tuple<string, Action<Spell, string>>("Components: ", (m, s) => m.Components = s),
new Tuple<string, Action<Spell, string>>("Duration: ", (m, s) => m.Duration = s),
@ -122,7 +109,6 @@ namespace AideDeJeuLib
var listItemBlock = inblock as Markdig.Syntax.ListItemBlock;
foreach (var ininblock in listItemBlock)
{
//DumpBlock(ininblock);
if (ininblock is Markdig.Syntax.ParagraphBlock)
{
var paragraphBlock = ininblock as Markdig.Syntax.ParagraphBlock;

View file

@ -57,7 +57,7 @@ namespace AideDeJeuLib
{
return
$"# {Name}\n" +
$"{NameVO}\n" +
$"{AltName}\n" +
$"_{LevelType}_\n" +
$"**Temps d'incantation :** {CastingTime}\n" +
$"**Portée :** {Range}\n" +

View file

@ -37,7 +37,7 @@ namespace AideDeJeuLib
{
return
$"# {Name}\n" +
$"{NameVO}\n" +
$"{AltName}\n" +
$"_{LevelType}_\n" +
$"**Casting Time :** {CastingTime}\n" +
$"**Range :** {Range}\n" +

View file

@ -33,43 +33,4 @@ namespace AideDeJeu.Tools
return null;
}
}
public class ItemSourceTypeConverter<T> : IValueConverter
{
public T SpellVO { get; set; }
public T SpellHD { get; set; }
public T MonsterVO { get; set; }
public T MonsterHD { get; set; }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var itemType = value as ItemSourceType?;
if (itemType == ItemSourceType.SpellVO)
{
return SpellVO;
}
if (itemType == ItemSourceType.SpellHD)
{
return SpellHD;
}
if (itemType == ItemSourceType.MonsterVO)
{
return MonsterVO;
}
if (itemType == ItemSourceType.MonsterHD)
{
return MonsterHD;
}
return null;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return null;
}
}
public class ItemSourceTypeToStringConverter : ItemSourceTypeConverter<string> { }
}

View file

@ -128,7 +128,7 @@ namespace AideDeJeu.ViewModels
return
(
(Helpers.RemoveDiacritics(spell.Name).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower())) ||
(Helpers.RemoveDiacritics(spell.NameVOText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
(Helpers.RemoveDiacritics(spell.AltNameText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
);
}).AsEnumerable();
}, token);
@ -185,7 +185,7 @@ namespace AideDeJeu.ViewModels
spell.Rituel.Contains(rituel) &&
(
(Helpers.RemoveDiacritics(spell.Name).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower())) ||
(Helpers.RemoveDiacritics(spell.NameVOText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
(Helpers.RemoveDiacritics(spell.AltNameText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
);
}).OrderBy(spell => spell.Name)
.AsEnumerable();
@ -435,7 +435,7 @@ namespace AideDeJeu.ViewModels
powerComparer.Compare(monster.Challenge, maxPower) <= 0 &&
(
(Helpers.RemoveDiacritics(monster.Name).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower())) ||
(Helpers.RemoveDiacritics(monster.NameVOText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
(Helpers.RemoveDiacritics(monster.AltNameText ?? string.Empty).ToLower().Contains(Helpers.RemoveDiacritics(SearchText ?? string.Empty).ToLower()))
);
})
.OrderBy(monster => monster.Name)

View file

@ -31,72 +31,6 @@ namespace AideDeJeu.ViewModels
{
await Main.Navigator.GotoItemDetailPageAsync(item);
}
//protected ItemSourceType ItemSourceType;
//private IEnumerable<Item> _AllItems = null;
//public async Task<IEnumerable<Item>> GetAllItemsAsync()
//{
// if (_AllItems == null)
// {
// string resourceName = null;
// switch (ItemSourceType)
// {
// case ItemSourceType.MonsterVO:
// {
// resourceName = "AideDeJeu.Data.monsters_vo.md";
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToMonsters<MonsterVO>(md);
// }
// break;
// case ItemSourceType.MonsterHD:
// {
// resourceName = "AideDeJeu.Data.monsters_hd.md";
// //var md = await Tools.Helpers.GetStringFromUrl("https://raw.githubusercontent.com/Nioux/AideDeJeu/master/Data/monsters_hd.md");
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToMonsters<MonsterHD>(md);
// }
// break;
// case ItemSourceType.SpellVO:
// {
// resourceName = "AideDeJeu.Data.spells_vo.md";
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToSpells<SpellVO>(md);
// }
// break;
// case ItemSourceType.SpellHD:
// {
// resourceName = "AideDeJeu.Data.spells_hd.md";
// //var md = await Tools.Helpers.GetStringFromUrl("https://raw.githubusercontent.com/Nioux/AideDeJeu/master/Data/spells_hd.md");
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToSpells<SpellHD>(md);
// }
// break;
// case ItemSourceType.ConditionVO:
// {
// resourceName = "AideDeJeu.Data.conditions_vo.md";
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToConditions<AideDeJeuLib.Condition>(md);
// }
// break;
// case ItemSourceType.ConditionHD:
// {
// resourceName = "AideDeJeu.Data.conditions_hd.md";
// //var md = await Tools.Helpers.GetStringFromUrl("https://raw.githubusercontent.com/Nioux/AideDeJeu/master/Data/spells_hd.md");
// var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
// _AllItems = Tools.MarkdownExtensions.ToItem(md) as IEnumerable<Item>;
// //_AllItems = Tools.MarkdownExtensions.MarkdownToConditions<AideDeJeuLib.Condition>(md);
// }
// break;
// }
// }
// return _AllItems;
//}
private ItemSourceType _ItemSourceType = ItemSourceType.SpellHD;
public ItemSourceType ItemSourceType
@ -108,7 +42,6 @@ namespace AideDeJeu.ViewModels
set
{
SetProperty(ref _ItemSourceType, value);
//LoadItemsCommand.Execute(null);
OnPropertyChanged(nameof(Items));
}
}

View file

@ -87,20 +87,6 @@ namespace AideDeJeu.ViewModels
new KeyValuePair<ItemSourceType, string>(ItemSourceType.ConditionVO, "Conditions (VO)"),
};
private int _ItemsSourcesIndex = 0;
public int ItemsSourcesIndex
{
get
{
return _ItemsSourcesIndex;
}
set
{
SetProperty(ref _ItemsSourcesIndex, value);
//ItemSourceType = ItemsSources[value].Key;
}
}
public Dictionary<ItemSourceType, Func<ItemsViewModel>> AllItemsViewModel = new Dictionary<ItemSourceType, Func<ItemsViewModel>>()
{
{ ItemSourceType.SpellVO, () => new ItemsViewModel(ItemSourceType.SpellVO) },
@ -131,7 +117,6 @@ namespace AideDeJeu.ViewModels
return AllFiltersViewModel[itemSourceType].Invoke();
}
// Yan : pas besoin d'ObservableCollection, on ne modifie jamais la liste item par item
public IEnumerable<Item> _Items = new List<Item>();
public IEnumerable<Item> Items
{
@ -158,19 +143,10 @@ namespace AideDeJeu.ViewModels
public MainViewModel()
{
//LoadItemsCommand = new Command(async () =>
// {
// await GetItemsViewModel(ItemSourceType).ExecuteLoadItemsCommandAsync();
// });
GotoItemCommand = new Command<Item>(async (item) =>
{
await Navigator.GotoItemDetailPageAsync(item);
//await GetItemsViewModel(ItemSourceType).ExecuteGotoItemCommandAsync(item);
});
//SwitchToSpellsHD = new Command(() => ItemSourceType = ItemSourceType.SpellHD);
//SwitchToMonstersHD = new Command(() => ItemSourceType = ItemSourceType.MonsterHD);
//SwitchToSpellsVO = new Command(() => ItemSourceType = ItemSourceType.SpellVO);
//SwitchToMonstersVO = new Command(() => ItemSourceType = ItemSourceType.MonsterVO);
AboutCommand = new Command(async () => await Main.Navigator.GotoAboutPageAsync());
}

View file

@ -36,10 +36,9 @@ namespace AideDeJeu.ViewModels
public async Task GotoItemsPageAsync(ItemsViewModel itemsVM)
{
//if (item == null)
// return;
if (itemsVM == null)
return;
//var vm = new ItemDetailViewModel(item);
await Navigation.PushAsync(new ItemsPage(itemsVM));
}

View file

@ -29,7 +29,7 @@ namespace AideDeJeu.Views
var item = new MonsterHD
{
Name = "",
NameVO = "",
AltName = "",
//Description = "This is an item description."
};

View file

@ -58,7 +58,7 @@
<ViewCell AutomationProperties.IsInAccessibleTree="True" AutomationId="machin" AutomationProperties.Name="hop">
<StackLayout Padding="10" Orientation="Vertical">
<Label Text="{Binding Name}" LineBreakMode="NoWrap" Style="{DynamicResource subsubsection}" FontSize="16" />
<Label Text="{Binding NameVOText}" LineBreakMode="NoWrap" Style="{DynamicResource subsubsection}" FontSize="12" />
<Label Text="{Binding AltNameText}" LineBreakMode="NoWrap" Style="{DynamicResource subsubsection}" FontSize="12" />
</StackLayout>
</ViewCell>
</DataTemplate>

View file

@ -7,7 +7,7 @@
# États spéciaux
- NameVO: [Conditions](conditions_vo.md#conditions)
- AltName: [Conditions](conditions_vo.md#conditions)
Les états modifient les capacités d'une créature de diverses manières et résultent d'un sort, d'une aptitude de classe, d'une attaque de monstre ou d'un autre effet. La plupart des états ont un effet négatif, comme lorsque vous êtes [aveuglé](conditions_hd.md#aveuglé), mais quelques-uns confèrent un bénéfice, comme d'être [invisible](conditions_hd.md#invisible).
@ -22,7 +22,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# À terre
- NameVO: [Prone](conditions_vo.md#prone)
- AltName: [Prone](conditions_vo.md#prone)
* Une créature à terre n'a plus l'option que de ramper pour se déplacer, à moins de se relever et de mettre ainsi un terme à son état.
@ -35,7 +35,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Assourdi
- NameVO: [Deafened](conditions_vo.md#deafened)
- AltName: [Deafened](conditions_vo.md#deafened)
* Une créature assourdie n'entend plus rien et rate automatiquement tous les tests de caractéristique faisant intervenir des capacités auditives.
@ -44,7 +44,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Aveuglé
- NameVO: [Blinded](conditions_vo.md#blinded)
- AltName: [Blinded](conditions_vo.md#blinded)
* Une créature aveuglée ne voit plus rien et rate automatiquement tout test de caractéristique qui requiert la vue.
@ -55,7 +55,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Charmé
- NameVO: [Charmed](conditions_vo.md#charmed)
- AltName: [Charmed](conditions_vo.md#charmed)
* Une créature charmée se trouve dans l'incapacité d'attaquer l'individu qui l'a charmée ou de le cibler avec une capacité ou un effet magique néfaste.
@ -66,7 +66,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Empoigné
- NameVO: [Grappled](conditions_vo.md#grappled)
- AltName: [Grappled](conditions_vo.md#grappled)
* La vitesse d'une créature empoignée devient 0 et elle ne peut plus bénéficier de ses éventuels bonus de vitesse.
@ -79,7 +79,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Empoisonné
- NameVO: [Poisoned](conditions_vo.md#poisoned)
- AltName: [Poisoned](conditions_vo.md#poisoned)
* Une créature empoisonnée souffre d'un désavantage lors de ses jets d'attaque et de ses tests de caractéristique.
@ -88,7 +88,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Entravé
- NameVO: [Restrained](conditions_vo.md#restrained)
- AltName: [Restrained](conditions_vo.md#restrained)
* La vitesse de la créature entravée tombe à 0 et elle ne peut plus bénéficier de ses éventuels bonus de vitesse.
@ -101,7 +101,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Étourdi
- NameVO: [Stunned](conditions_vo.md#stunned)
- AltName: [Stunned](conditions_vo.md#stunned)
* Une créature étourdie est [neutralisée](conditions_hd.md#neutralisé) (voir l'état), incapable de se déplacer et parle en balbutiant.
@ -114,7 +114,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Inconscient
- NameVO: [Unconscious](conditions_vo.md#unconscious)
- AltName: [Unconscious](conditions_vo.md#unconscious)
* Une créature inconsciente est [neutralisée](conditions_hd.md#neutralisé) (voir l'état), incapable de se déplacer et de parler et n'a pas conscience de ce qui l'entoure.
@ -133,7 +133,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Invisible
- NameVO: [Invisible](conditions_vo.md#invisible)
- AltName: [Invisible](conditions_vo.md#invisible)
* Il est impossible de voir une créature invisible à moins de recourir à la magie ou à un sens spécial. Quand il s'agit de se cacher, la créature est considérée comme en situation de visibilité nulle. Il est possible de détecter l'endroit où se trouve la créature si elle émet des sons ou laisse des traces.
@ -144,7 +144,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Neutralisé
- NameVO: [Incapacitated](conditions_vo.md#incapacitated)
- AltName: [Incapacitated](conditions_vo.md#incapacitated)
* Une créature neutralisée est incapable d'effectuer une action ou une réaction.
@ -153,7 +153,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Paralysé
- NameVO: [Paralyzed](conditions_vo.md#paralyzed)
- AltName: [Paralyzed](conditions_vo.md#paralyzed)
* Une créature paralysée est [neutralisée](conditions_hd.md#neutralisé) (voir l'état) et ne peut ni parler ni se déplacer.
@ -168,7 +168,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Pétrifié
- NameVO: [Petrified](conditions_vo.md#petrified)
- AltName: [Petrified](conditions_vo.md#petrified)
* Une créature pétrifiée est transformée en substance solide inanimée (généralement en pierre), de même que tous les objets non-magiques qu'elle transporte. Le poids de la créature est multiplié par dix et elle ne vieillit plus.
@ -187,7 +187,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Terrorisé
- NameVO: [Frightened](conditions_vo.md#frightened)
- AltName: [Frightened](conditions_vo.md#frightened)
* Une créature terrorisée subit un désavantage lors de ses tests de caractéristique et de ses jets d'attaque tant que la source de sa frayeur se trouve dans son champ de vision.
@ -198,7 +198,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
# Fatigue et épuisement
- NameVO: [Exhaustion](conditions_vo.md#exhaustion)
- AltName: [Exhaustion](conditions_vo.md#exhaustion)
Certaines aptitudes et certains dangers environnementaux, comme la faim et les effets à long terme des températures glaciales et étouffantes, provoquent un état particulier appelé lépuisement. Celui-ci se divise en six niveaux. Un effet peut donner un ou plusieurs niveaux dépuisement, comme indiqué dans la description de chaque effet.

View file

@ -7,7 +7,7 @@
# Conditions
- NameVO: [États spéciaux](conditions_hd.md#États-spéciaux)
- AltName: [États spéciaux](conditions_hd.md#États-spéciaux)
Conditions alter a creature's capabilities in a variety of ways and can arise as a result of a spell, a class feature, a monsters attack, or other effect. Most conditions, such as [blinded](conditions_vo.md#blinded), are impairments, but a few, such as invisible, can be advantageous.
@ -22,7 +22,7 @@ The following definitions specify what happens to a creature while it is subject
# Blinded
- NameVO: [Aveuglé](conditions_hd.md#aveuglé)
- AltName: [Aveuglé](conditions_hd.md#aveuglé)
* A blinded creature can't see and automatically fails any ability check that requires sight.
@ -33,7 +33,7 @@ The following definitions specify what happens to a creature while it is subject
# Charmed
- NameVO: [Charmé](conditions_hd.md#charmé)
- AltName: [Charmé](conditions_hd.md#charmé)
* A charmed creature can't attack the charmer or target the charmer with harmful abilities or magical effects.
@ -44,7 +44,7 @@ The following definitions specify what happens to a creature while it is subject
# Deafened
- NameVO: [Assourdi](conditions_hd.md#assourdi)
- AltName: [Assourdi](conditions_hd.md#assourdi)
* A deafened creature can't hear and automatically fails any ability check that requires hearing.
@ -53,7 +53,7 @@ The following definitions specify what happens to a creature while it is subject
# Frightened
- NameVO: [Terrorisé](conditions_hd.md#terrorisé)
- AltName: [Terrorisé](conditions_hd.md#terrorisé)
* A frightened creature has disadvantage on ability checks and attack rolls while the source of its fear is within line of sight.
@ -64,7 +64,7 @@ The following definitions specify what happens to a creature while it is subject
# Grappled
- NameVO: [Empoigné](conditions_hd.md#empoigné)
- AltName: [Empoigné](conditions_hd.md#empoigné)
* A grappled creature's speed becomes 0, and it can't benefit from any bonus to its speed.
@ -77,7 +77,7 @@ The following definitions specify what happens to a creature while it is subject
# Incapacitated
- NameVO: [Neutralisé](conditions_hd.md#neutralisé)
- AltName: [Neutralisé](conditions_hd.md#neutralisé)
* An incapacitated creature can't take actions or reactions.
@ -86,7 +86,7 @@ The following definitions specify what happens to a creature while it is subject
# Invisible
- NameVO: [Invisible](conditions_hd.md#invisible)
- AltName: [Invisible](conditions_hd.md#invisible)
* An invisible creature is impossible to see without the aid of magic or a special sense. For the purpose of hiding, the creature is heavily obscured. The creature's location can be detected by any noise it makes or any tracks it leaves.
@ -97,7 +97,7 @@ The following definitions specify what happens to a creature while it is subject
# Paralyzed
- NameVO: [Paralysé](conditions_hd.md#paralysé)
- AltName: [Paralysé](conditions_hd.md#paralysé)
* A paralyzed creature is [incapacitated](conditions_vo.md#incapacitated) (see the condition) and can't move or speak.
@ -112,7 +112,7 @@ The following definitions specify what happens to a creature while it is subject
# Petrified
- NameVO: [Pétrifié](conditions_hd.md#pétrifié)
- AltName: [Pétrifié](conditions_hd.md#pétrifié)
* A petrified creature is transformed, along with any nonmagical object it is wearing or carrying, into a solid inanimate substance (usually stone). Its weight increases by a factor of ten, and it ceases aging.
@ -131,7 +131,7 @@ The following definitions specify what happens to a creature while it is subject
# Poisoned
- NameVO: [Empoisonné](conditions_hd.md#empoisonné)
- AltName: [Empoisonné](conditions_hd.md#empoisonné)
* A poisoned creature has disadvantage on attack rolls and ability checks.
@ -140,7 +140,7 @@ The following definitions specify what happens to a creature while it is subject
# Prone
- NameVO: [À terre](conditions_hd.md#À-terre)
- AltName: [À terre](conditions_hd.md#À-terre)
* A prone creature's only movement option is to crawl, unless it stands up and thereby ends the condition.
@ -153,7 +153,7 @@ The following definitions specify what happens to a creature while it is subject
# Restrained
- NameVO: [Entravé](conditions_hd.md#entravé)
- AltName: [Entravé](conditions_hd.md#entravé)
* A restrained creature's speed becomes 0, and it can't benefit from any bonus to its speed.
@ -166,7 +166,7 @@ The following definitions specify what happens to a creature while it is subject
# Stunned
- NameVO: [Étourdi](conditions_hd.md#Étourdi)
- AltName: [Étourdi](conditions_hd.md#Étourdi)
* A stunned creature is [incapacitated](conditions_vo.md#incapacitated) (see the condition), can't move, and can speak only falteringly.
@ -179,7 +179,7 @@ The following definitions specify what happens to a creature while it is subject
# Unconscious
- NameVO: [Inconscient](conditions_hd.md#inconscient)
- AltName: [Inconscient](conditions_hd.md#inconscient)
* An unconscious creature is [incapacitated](conditions_vo.md#incapacitated) (see the condition), can't move or speak, and is unaware of its surroundings
@ -196,7 +196,7 @@ The following definitions specify what happens to a creature while it is subject
# Exhaustion
- NameVO: [Fatigue et épuisement](conditions_hd.md#fatigue-et-épuisement)
- AltName: [Fatigue et épuisement](conditions_hd.md#fatigue-et-épuisement)
Some special abilities and environmental hazards, such as starvation and the long-term effects of freezing or scorching temperatures, can lead to a special condition called exhaustion. Exhaustion is measured in six levels. An effect can give a creature one or more levels of exhaustion, as specified in the effect's description.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff