foundryvtt-wh4-lang-fr-fr/scripts/6elUNF58TaiYjxcx.js

6 lines
246 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let test = await this.actor.setupCharacteristic("wp", {skipTargets: true, appendTitle : " - " + this.effect.name, context : {failure: "Gained a Stunned Condition"}})
await test.roll();
if (test.failed)
{
this.actor.addCondition("stunned");
}