Update scripts
This commit is contained in:
12
scripts/yQziCK8G8I1RYkTj.js
Normal file
12
scripts/yQziCK8G8I1RYkTj.js
Normal file
@ -0,0 +1,12 @@
|
||||
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 (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");
|
||||
}
|
Reference in New Issue
Block a user