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

3 lines
202 B
JavaScript
Raw Permalink Normal View History

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