5 lines
181 B
JavaScript
5 lines
181 B
JavaScript
if (this.actor.hasCondition("stunned") || this.actor.hasCondition("unconscious"))
|
|
{
|
|
this.script.scriptNotification("Désactivé!");
|
|
await this.effect.update({"disabled" : true})
|
|
} |