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

3 lines
202 B
JavaScript

let fatigued = args.actor.hasCondition("fatigued")
if (fatigued)
setProperty(fatigued, "flags.wfrp4e.scriptData", getProperty(fatigued, "flags.wfrp4e.scriptData").filter(s => s.trigger != "dialog"))