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

4 lines
237 B
JavaScript

let roll = await new Roll("1d10").roll();
game.dice3d?.showForRoll(roll);
this.script.scriptMessage(await this.actor.applyBasicDamage(roll.total, {damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg : true}))