Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
9
scripts/h4lnexDYAhyQuiR5.js
Normal file
9
scripts/h4lnexDYAhyQuiR5.js
Normal file
@@ -0,0 +1,9 @@
|
||||
if (args.test.isCritical && args.test.weapon.properties?.qualities?.impale) {
|
||||
let targets = args.test.targets.filter(t => t.system.details.move.value > 1);
|
||||
if (targets.length > 0) {
|
||||
targets.forEach(target => {
|
||||
target.applyEffect({effectData : [this.item.effects.contents[1].convertToApplied()]})
|
||||
});
|
||||
args.test.result.other.push (`<strong>${this.effect.name}:</strong> Target Move Reduced by 1`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user