Files
wfrp-4e-de/reference_scripts/chUpiI3el8IO8MSs.js
T
2025-05-10 00:11:46 +02:00

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)
}