Mise àjour vers 9.6.0
Validation JSON / validate (push) Successful in 13s

This commit is contained in:
2026-05-18 07:23:40 +02:00
parent 52939af8c8
commit 38d88c2f19
204 changed files with 4123 additions and 3343 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
if (args.totalWoundLoss > 0 && ["trait", "weapon"].includes(args.opposedTest.attackerTest.item?.type))
if (args.totalWoundLoss > 0 && ["trait", "weapon"].includes(args.sourceItem?.type))
{
this.script.message(`<b>Infected: ${args.actor.name}</b> must pass an <b>Easy (+40) Résistance</b> Test or gain a @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Festering Wound}`, {whisper: ChatMessage.getWhisperRecipients("GM")})
this.script.message(`<b>Infecté : ${args.actor.name}</b> doit réussir un test de <b>Résistance Facile (+40)</b> ou gagner une @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Plaie Purulente}`, {whisper: ChatMessage.getWhisperRecipients("GM")})
}