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

4 lines
209 B
JavaScript

if (!this.actor.has("Vision Nocturne") && !this.actor.has("Vision Nocturne", "talent") && !this.actor.hasCondition("blinded"))
{
this.actor.addCondition("blinded", 1, {"flags.wfrp4e.nightshroud" : true})
}