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

5 lines
335 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
let loc = (await game.wfrp4e.tables.rollTable("hitloc")).result;
let critTable = `crit${this.generalizeTable(loc)`;
let crit = (await game.wfrp4e.tables.rollTable(critTable)).result;
this.script.scriptMessage(`{this.actor.name} subit un ${crit} (localisation : ${loc}). Ne pas appliquer d'Hemmoragie ou de Blessures additionnelles.`);