This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
let add;
|
||||
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 (args.opposedTest?.attackerTest?.weapon?.isRanged && args.opposedTest?.result.hitloc?.value === "head") {
|
||||
add = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content : "Ajouter 1 PA ? Le Bascinet fournit 4 PA au lieu de 3 contre les attaques à distance de face"})
|
||||
}
|
||||
|
||||
if (add) {
|
||||
|
||||
Reference in New Issue
Block a user