Files
foundryvtt-wh4-lang-fr-fr/scripts/tki0DhoTecjq3LyZ.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

11 lines
345 B
JavaScript

this.actor.applyDamage(1, {
damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL,
createMessage: this.script.getChatData()
});
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle: ` - ${this.effect.name}`, skipTargets: true});
await test.roll();
if (test.failed)
{
this.actor.addCondition("broken");
}