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

6 lines
194 B
JavaScript
Raw Normal View History

2024-10-08 20:52:09 +02:00
let blinded = args.actor.hasCondition("blinded")
if (blinded)
{
blinded.system.scriptData = blinded.system.scriptData.filter(s => s.trigger != "dialog")
blinded.system._scripts = null;
}