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

4 lines
203 B
JavaScript
Raw Permalink Normal View History

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