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,6 +1,6 @@
let add;
if (args.opposedTest?.attackerTest?.weapon?.isRanged && args.opposedTest?.result.hitloc?.value === "head") {
add = await Dialog.confirm({title : this.effect.name, content : "Add 1 AP? Bascinet provides 4 AP instead of 3 against missile attacks from the front"})
if (args.opposedTest?.attackerTest?.weapon?.isProjectiles && args.opposedTest?.result.hitloc?.value === "head") {
add = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content : "Add 1 AP? Bascinet provides 4 AP instead of 3 against missile attacks from the front"})
}
if (add) {
@@ -8,5 +8,5 @@ if (add) {
args.modifiers.ap.metal++;
args.modifiers.ap.used++;
args.modifiers.ap.value++;
args.modifiers.ap.details.push("+1 AP against missile attacks to the front");
args.modifiers.ap.details.push("+1 PA contre les attaques à distance de face");
}