foundryvtt-wh4-lang-fr-fr/scripts/OeKeQAAcJhdI4Qky.js

5 lines
178 B
JavaScript
Raw Normal View History

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