foundryvtt-wh4-lang-fr-fr/scripts/xihniGjgqOhuaKWc.js

7 lines
221 B
JavaScript

if (args.test.failed) {
let applicableCharacteristics = ["ws", "bs", "s", "fel", "ag", "t", "dex"];
if (applicableCharacteristics.includes(args.test.characteristicKey)) {
this.actor.addCondition("stunned");
}
}