foundryvtt-wh4-lang-fr-fr/scripts/4cumLUlcuJ7m8C6t.js

4 lines
177 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
let item = args.actor.items.find(i => i.name.includes("Smoothing"));
let smoothing = item?.effects.find(e => e.name === "Smoothing");
if (smoothing)
smoothing.disabled = true;