foundryvtt-wh4-lang-fr-fr/scripts/abLWYtNTu1UVDQAs.js

5 lines
274 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.opposedTest.result.hitloc.value == this.effect.flags.wfrp4e.location) // e.g. 'head', rLeg, 'lArm'
{
this.scriptMessage(`Reçoit l'état @Condition[Aveuglé] comme <strong>${this.item.name}</strong> a été touché`);
2024-05-16 17:57:51 +02:00
this.actor.addCondition("blinded");
}