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

6 lines
194 B
JavaScript

let blinded = args.actor.hasCondition("blinded")
if (blinded)
{
blinded.system.scriptData = blinded.system.scriptData.filter(s => s.trigger != "dialog")
blinded.system._scripts = null;
}