Files
foundryvtt-wh4-lang-fr-fr/scripts/chUpiI3el8IO8MSs.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

6 lines
248 B
JavaScript

if (args.sourceItem?.name.includes("Morsure"))
{
let woundsGained = args.totalWoundLoss;
this.script.message(`Gagne ${woundsGained} Blessures`, { whisper: ChatMessage.getWhisperRecipients("GM") })
this.actor.modifyWounds(woundsGained)
}