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

8 lines
360 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let test = await this.actor.setupCharacteristic("t", {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.failed)
{
let damage = this.effect.sourceTest.result.damage
this.script.scriptMessage(await this.actor.applyBasicDamage(damage, {damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg : true}))
}