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

8 lines
317 B
JavaScript
Raw Permalink Normal View History

this.script.scriptMessage(await game.wfrp4e.tables.formatChatRoll("fleshy-curse"))
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`, fields : {difficulty : "hard"}})
await test.roll();
if (test.succeeded)
{
this.effect.delete()
}