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

9 lines
476 B
JavaScript
Raw Permalink Normal View History

2024-06-06 21:09:27 +02:00
if (args.test.failed)
{
let applicableCharacteristics = ["ws", "bs", "s", "fel", "ag", "t", "dex"];
if (applicableCharacteristics.includes(args.test.characteristicKey))
{
this.actor.addCondition("stunned");
}
}