7 lines
242 B
JavaScript
7 lines
242 B
JavaScript
|
if (args.totalWoundLoss > 0)
|
||
|
{
|
||
|
let roll = await new Roll("1d10").roll();
|
||
|
roll.toMessage(this.script.getChatData());
|
||
|
args.totalWoundLoss += roll.total;
|
||
|
args.modifiers.other.push({label : this.effect.name, value : roll.total})
|
||
|
}
|