Files
wfrp-4e-de/scripts/dXGosSxdoYbET2O8.js
2025-05-10 00:11:46 +02:00

11 lines
253 B
JavaScript

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");
}