Files
foundryvtt-wh4-lang-fr-fr/scripts/chUpiI3el8IO8MSs.js

6 lines
264 B
JavaScript

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