Ajout de la commande /voyage et grosse MAJK de la commande /auberge

This commit is contained in:
2026-01-07 15:04:49 +01:00
parent c8119601d8
commit f525b6c07a
1329 changed files with 24138 additions and 4397 deletions

View File

@@ -1,7 +1,7 @@
let halve;
if (args.opposedTest.attackerTest.item?.type != "spell")
{
halve = await Dialog.confirm({title : this.effect.name, content : "Diviser les Dégâts? (Divise les dégats de Feu)"})
halve = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content : "Divisé les dégats par deux? (Divise les dégats de tout feu par deux)"})
}
else
{
@@ -11,5 +11,5 @@ else
if (halve)
{
args.totalWoundLoss /= 2;
args.modifiers.other.push({label : this.effect.name, details : "Divisé", value : "× 0.5"})
args.modifiers.other.push({label : this.effect.name, details : "Divisé par deux", value : "× 0.5"})
}