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

6 lines
200 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let fatigued = args.actor.hasCondition("fatigued")
if (fatigued)
2024-10-08 20:52:09 +02:00
{
fatigued.system.scriptData = fatigued.system.scriptData.filter(s => s.trigger != "dialog")
fatigued.system._scripts = null;
}