Files
foundryvtt-wh4-lang-fr-fr/scripts/FjmtA9s13s75DTAY.js
T
2026-05-18 07:23:40 +02:00

5 lines
236 B
JavaScript

let locs = Object.keys(this.actor.system.status.armour);
let location = locs[Math.floor(CONFIG.Dice.randomUniform() * (locs.length))];
game.wfrp4e.tables.formatChatRoll(`crit${location}`, {criticalLocation: location, showRoll: true});