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

4 lines
177 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +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;