foundryvtt-wh4-lang-fr-fr/reference_scripts/chUpiI3el8IO8MSs.js

6 lines
267 B
JavaScript

if (args.opposedTest.attackerTest.item?.name.includes("Bite"))
{
let woundsGained = args.totalWoundLoss;
this.script.scriptMessage(`Gains ${woundsGained} Wounds`, { whisper: ChatMessage.getWhisperRecipients("GM") })
this.actor.modifyWounds(woundsGained)
}