Files
foundryvtt-wh4-lang-fr-fr/scripts/1Du4e27M8WgP2iui.js

10 lines
343 B
JavaScript

if (args.equipped === true && this.actor.name !== "Kurgorn Three-eyes")
{
this.actor.addCondition("blinded", 1, {"statuses" : ["blinded", "blind"]})
this.script.notification(`Aveuglé en portant ${this.item.name}`);
}
if (args.equipped === false && this.actor.name !== "Kurgorn Three-eyes")
{
this.actor.removeCondition("blinded")
}