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

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})
}