2024-05-16 17:57:51 +02:00
|
|
|
if (this.actor.hasCondition("stunned") || this.actor.hasCondition("unconscious"))
|
|
|
|
{
|
2024-05-17 09:19:48 +02:00
|
|
|
this.script.scriptNotification("Désactivé!");
|
2024-05-16 17:57:51 +02:00
|
|
|
await this.effect.update({"disabled" : true})
|
|
|
|
}
|