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

6 lines
200 B
JavaScript

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