Files
wfrp-4e-de/scripts/chUpiI3el8IO8MSs.js
T
2025-05-02 12:24:44 +02:00

6 lines
278 B
JavaScript

if (args.opposedTest.attackerTest.item?.name.includes("Morsure"))
{
let woundsGained = args.totalWoundLoss;
this.script.scriptMessage(`Récupère ${woundsGained} Blessures`, { whisper: ChatMessage.getWhisperRecipients("GM") })
this.actor.modifyWounds(woundsGained)
}