6 lines
194 B
JavaScript
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;
|
||
|
}
|