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

3 lines
202 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let fatigued = args.actor.hasCondition("fatigued")
if (fatigued)
setProperty(fatigued, "flags.wfrp4e.scriptData", getProperty(fatigued, "flags.wfrp4e.scriptData").filter(s => s.trigger != "dialog"))