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

9 lines
476 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
if (args.test.failed)
{
let applicableCharacteristics = ["ws", "bs", "s", "fel", "ag", "t", "dex"];
if (applicableCharacteristics.includes(args.preData.characteristic))
{
this.actor.addCondition("stunned");
}
}