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

8 lines
317 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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()
}