Files
foundryvtt-wh4-lang-fr-fr/scripts/CbfUDhUr5R4UnPPq.js

5 lines
278 B
JavaScript

if (this.actor && this.actor?.name !== "Kurgorn Three-eyes" && !this.actor.hasCondition("blinded") && !args.itemUpdated)
{
this.script.notification(`Impossible de supprimer l'état Aveuglé.`);
await this.actor.addCondition("blinded", 1, {statuses : ["blinded", "blind"]})
}