6 lines
243 B
JavaScript
6 lines
243 B
JavaScript
let trait = args.opposedTest.attackerTest.item
|
|
let woundLossEffect = this.item.effects.get("7Amhi75wLv0PvGjd")
|
|
if (trait && trait.name.includes("Morsure") && woundLossEffect)
|
|
{
|
|
args.actor.applyEffect({effectUuids : woundLossEffect.uuid})
|
|
} |