Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
10
scripts/1Du4e27M8WgP2iui.js
Normal file
10
scripts/1Du4e27M8WgP2iui.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user