This commit is contained in:
@@ -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")})
|
||||
}
|
||||
Reference in New Issue
Block a user