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

11 lines
253 B
JavaScript
Raw Permalink Normal View History

await this.actor.addCondition("fatigued");
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"))
await test.roll();
if (!test.succeeded)
{
await this.actor.addCondition("fatigued");
await this.actor.addCondition("broken");
}