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

Liens validés

This commit is contained in:
Yan Maniez 2018-07-08 00:26:06 +02:00
parent 443544f45a
commit e0cfad54af
6 changed files with 3305 additions and 3302 deletions

View file

@ -179,12 +179,12 @@ namespace AideDeJeuCmd
var mdConditionsHD = await LoadStringAsync(dataDir + "conditions_hd.md");
var allanchors = new Dictionary<string, IEnumerable<string>>();
allanchors.Add("spells_hd", GetMarkdownAnchors(mdSpellsHD));
allanchors.Add("spells_vo", GetMarkdownAnchors(mdSpellsVO));
allanchors.Add("monsters_hd", GetMarkdownAnchors(mdMonstersHD));
allanchors.Add("monsters_vo", GetMarkdownAnchors(mdMonstersVO));
allanchors.Add("conditions_hd", GetMarkdownAnchors(mdConditionsHD));
allanchors.Add("conditions_vo", GetMarkdownAnchors(mdConditionsVO));
allanchors.Add("conditions_hd", GetMarkdownAnchors(mdConditionsHD, true).ToList());
allanchors.Add("conditions_vo", GetMarkdownAnchors(mdConditionsVO, true));
allanchors.Add("spells_hd", GetMarkdownAnchors(mdSpellsHD, false));
allanchors.Add("spells_vo", GetMarkdownAnchors(mdSpellsVO, false));
allanchors.Add("monsters_hd", GetMarkdownAnchors(mdMonstersHD, false));
allanchors.Add("monsters_vo", GetMarkdownAnchors(mdMonstersVO, false));
var alllinks = new Dictionary<string, IEnumerable<Tuple<string, string>>>();
alllinks.Add("spells_hd", GetMarkdownLinks(mdSpellsHD));
@ -220,9 +220,9 @@ namespace AideDeJeuCmd
}
}
public static IEnumerable<string> GetMarkdownAnchors(string md)
public static IEnumerable<string> GetMarkdownAnchors(string md, bool doublediese)
{
var regex = new Regex("\\n# (?<name>.*?)\\n");
var regex = new Regex($"\\n# (?<name>.*?)\\n");
var matches = regex.Matches(md);
foreach (Match match in matches)
{

View file

@ -1,3 +1,4 @@
# États spéciaux
- NameVO: [Conditions](conditions_vo.md#conditions)
@ -11,7 +12,7 @@ Si divers effets imposent un même état à une créature, chaque effet a sa pro
Les définitions suivantes expliquent les conséquences de chaque état spécial pour une créature ciblée.
## À terre
# À terre
- NameVO: [Prone](conditions_vo.md#prone)
@ -22,14 +23,14 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Si un assaillant est à 1,50 mètre ou moins de la créature, il bénéficie d'un avantage lors de ses attaques contre la créature. Sinon, il subit un désavantage.
## Assourdi
# Assourdi
- NameVO: [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.
## Aveuglé
# Aveuglé
- NameVO: [Blinded](conditions_vo.md#blinded)
@ -38,7 +39,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Les jets d'attaque contre la créature bénéficient d'un avantage. Les attaques de la créature subissent un désavantage.
## Charmé
# Charmé
- NameVO: [Charmed](conditions_vo.md#charmed)
@ -47,7 +48,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* L'individu qui a charmé la créature bénéficie d'un avantage pour toutes les interactions sociales avec celle-ci.
## Empoigné
# Empoigné
- NameVO: [Grappled](conditions_vo.md#grappled)
@ -58,14 +59,14 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* L'état se termine également si un effet emporte la créature empoignée au-delà de l'allonge de l'empoigneur ou de l'effet d'empoignade, comme cela arrive si une créature est projetée au loin par le sort [vague tonnante](spells_hd.md#vague-tonnante).
## Empoisonné
# Empoisonné
- NameVO: [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.
## Entravé
# Entravé
- NameVO: [Restrained](conditions_vo.md#restrained)
@ -76,7 +77,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* La créature souffre d'un désavantage lors de ses jets de sauvegarde de Dextérité.
## Étourdi
# Étourdi
- NameVO: [Stunned](conditions_vo.md#stunned)
@ -87,7 +88,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Les jets d'attaque qui visent la créature se font avec un avantage.
## Inconscient
# Inconscient
- NameVO: [Unconscious](conditions_vo.md#unconscious)
@ -104,7 +105,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Toute attaque qui touche la créature est obligatoirement un coup critique si l'assaillant se trouve dans un rayon de 1,50 mètre autour d'elle.
## Invisible
# Invisible
- NameVO: [Invisible](conditions_vo.md#invisible)
@ -113,14 +114,14 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Les attaques visant une créature invisible souffrent d'un désavantage tandis que les attaques de la créature bénéficient d'un avantage.
## Neutralisé
# Neutralisé
- NameVO: [Incapacitated](conditions_vo.md#incapacitated)
* Une créature neutralisée est incapable d'effectuer une action ou une réaction.
## Paralysé
# Paralysé
- NameVO: [Paralyzed](conditions_vo.md#paralyzed)
@ -133,7 +134,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* Toute attaque qui touche la créature est obligatoirement un coup critique si l'assaillant se trouve dans un rayon de 1,50 mètre autour d'elle.
## Pétrifié
# Pétrifié
- NameVO: [Petrified](conditions_vo.md#petrified)
@ -150,7 +151,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* La créature est immunisée contre le poison et les maladies, mais les poisons et maladies qui l'affectent déjà ne sont pas neutralisés, leurs effets sont juste suspendus.
## Terrorisé
# Terrorisé
- NameVO: [Frightened](conditions_vo.md#frightened)
@ -159,7 +160,7 @@ Les définitions suivantes expliquent les conséquences de chaque état spécial
* La créature est incapable de se rapprocher de la source de sa frayeur de son plein gré.
## Fatigue et épuisement
# Fatigue et épuisement
- NameVO: [Exhaustion](conditions_vo.md#exhaustion)

View file

@ -1,3 +1,4 @@
# Conditions
- NameVO: [États spéciaux](conditions_hd.md#États-spéciaux)
@ -11,7 +12,7 @@ If multiple effects impose the same condition on a creature, each instance of th
The following definitions specify what happens to a creature while it is subjected to a condition.
## Blinded
# Blinded
- NameVO: [Aveuglé](conditions_hd.md#aveuglé)
@ -20,7 +21,7 @@ The following definitions specify what happens to a creature while it is subject
* Attack rolls against the creature have advantage, and the creature's attack rolls have disadvantage.
## Charmed
# Charmed
- NameVO: [Charmé](conditions_hd.md#charmé)
@ -29,14 +30,14 @@ The following definitions specify what happens to a creature while it is subject
* The charmer has advantage on any ability check to interact socially with the creature.
## Deafened
# Deafened
- NameVO: [Assourdi](conditions_hd.md#assourdi)
* A deafened creature can't hear and automatically fails any ability check that requires hearing.
## Frightened
# Frightened
- NameVO: [Terrorisé](conditions_hd.md#terrorisé)
@ -45,7 +46,7 @@ The following definitions specify what happens to a creature while it is subject
* The creature can't willingly move closer to the source of its fear.
## Grappled
# Grappled
- NameVO: [Empoigné](conditions_hd.md#empoigné)
@ -56,14 +57,14 @@ The following definitions specify what happens to a creature while it is subject
* The condition also ends if an effect removes the grappled creature from the reach of the grappler or grappling effect, such as when a creature is hurled away by the [thunder-wave](spells_vo.md#thunderwave) spell.
## Incapacitated
# Incapacitated
- NameVO: [Neutralisé](conditions_hd.md#neutralisé)
* An incapacitated creature can't take actions or reactions.
## Invisible
# Invisible
- NameVO: [Invisible](conditions_hd.md#invisible)
@ -72,7 +73,7 @@ The following definitions specify what happens to a creature while it is subject
* Attack rolls against the creature have disadvantage, and the creature's attack rolls have advantage.
## Paralyzed
# Paralyzed
- NameVO: [Paralysé](conditions_hd.md#paralysé)
@ -85,7 +86,7 @@ The following definitions specify what happens to a creature while it is subject
* Any attack that hits the creature is a critical hit if the attacker is within 5 feet of the creature.
## Petrified
# Petrified
- NameVO: [Pétrifié](conditions_hd.md#pétrifié)
@ -102,14 +103,14 @@ The following definitions specify what happens to a creature while it is subject
* The creature is immune to poison and disease, although a poison or disease already in its system is suspended, not neutralized.
## Poisoned
# Poisoned
- NameVO: [Empoisonné](conditions_hd.md#empoisonné)
* A poisoned creature has disadvantage on attack rolls and ability checks.
## Prone
# Prone
- NameVO: [À terre](conditions_hd.md#À-terre)
@ -120,7 +121,7 @@ The following definitions specify what happens to a creature while it is subject
* An attack roll against the creature has advantage if the attacker is within 5 feet of the creature. Otherwise, the attack roll has disadvantage.
## Restrained
# Restrained
- NameVO: [Entravé](conditions_hd.md#entravé)
@ -131,7 +132,7 @@ The following definitions specify what happens to a creature while it is subject
* The creature has disadvantage on Dexterity saving throws.
## Stunned
# Stunned
- NameVO: [Étourdi](conditions_hd.md#Étourdi)
@ -142,7 +143,7 @@ The following definitions specify what happens to a creature while it is subject
* Attack rolls against the creature have advantage.
## Unconscious
# Unconscious
- NameVO: [Inconscient](conditions_hd.md#inconscient)
@ -157,7 +158,7 @@ The following definitions specify what happens to a creature while it is subject
* Any attack that hits the creature is a critical hit if the attacker is within 5 feet of the creature.
## Exhaustion
# Exhaustion
- NameVO: [Fatigue et épuisement](conditions_hd.md#fatigue-et-épuisement)

File diff suppressed because it is too large Load diff

View file

@ -5673,7 +5673,7 @@ Ce sort modifie la chair d'une créature consentante pour la rendre aussi dure q
# Petite hutte
- NameVO:
- NameVO: [Leomund's Tiny Hut](spells_vo.md#leomunds-tiny-hut)
- CastingTime: 1 minute
- Components: V, S, M (une petite perle de cristal)
- Duration: 8 heures

View file

@ -3777,7 +3777,7 @@ After 60 days, there is a cumulative 5 percent chance per day that the spell's e
# Leomund's Tiny Hut
- NameVO: [Petite hutte de Léomund]
- NameVO: [Petite hutte]
- CastingTime: 1 minute
- Components: V, S, M (a small crystal bead)
- Duration: 8 hours
@ -3794,7 +3794,7 @@ Nine creatures of Medium size or smaller can fit inside the dome with you. The s
Until the spell ends, you can command the interior to become dimly lit or dark. The dome is opaque from the outside, of any color you choose, but it is transparent from the inside.
[Petite hutte de Léomund]: spells_hd.md#petite-hutte-de-léomund
[Petite hutte]: spells_hd.md#petite-hutte
# Lesser Restoration
@ -4598,7 +4598,7 @@ You create a sword-shaped plane of force that hovers within range. It lasts for
When the sword appears, you make a melee spell attack against a target of your choice within 5 feet of the sword. On a hit, the target takes 3d10 force damage. Until the spell ends, you can use a bonus action on each of your turns to move the sword up to 20 feet to a spot you can see and repeat this attack against the same target or a different one.
[Épée magique]: spells_hd.md#épée-magique
[Épée magique]: spells_hd.md#Épée-magique
# Move Earth