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

6 lines
159 B
JavaScript

let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"))
await test.roll();
if (!test.succeeded)
{
args.actor.addCondition("stunned")
}