6 lines
242 B
JavaScript

let test = await this.actor.setupCharacteristic("wp", {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.failed)
{
this.script.scriptMessage(await game.wfrp4e.tables.formatChatRoll("enrage-beast"))
}