5 lines
270 B
JavaScript
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");
|
||
|
}
|