10 lines
343 B
JavaScript
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")
|
|
} |