Files
wfrp-4e-de/scripts/abLWYtNTu1UVDQAs.js
2025-05-15 23:03:43 +02:00

5 lines
270 B
JavaScript

if (args.opposedTest.result.hitloc.value == this.effect.flags.wfrp4e.location) // e.g. 'head', rLeg, 'lArm'
{
this.scriptMessage(`Gains a @Condition[Blinded] condition as their <strong>${this.item.name}</strong> was hit`);
this.actor.addCondition("blinded");
}