9 lines
405 B
JavaScript
9 lines
405 B
JavaScript
if (args.totalWoundLoss >= 1)
|
|
{
|
|
let roll = await new Roll("1d10").roll();
|
|
await roll.toMessage(this.script.getChatData());
|
|
if (roll.total == 9)
|
|
{
|
|
this.script.scriptMessage(`Deux @UUID[Compendium.wfrp4e-eis.actors.cLOGeMqUty61nYB9]{Horreurs bleus de Tzeentch} sortent du corps de ${this.actor.name}, le tuant au passage.`, {whisper : ChatMessage.getWhisperRecipients("GM")})
|
|
}
|
|
} |