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

10 lines
188 B
JavaScript
Raw Permalink Normal View History

let robust = args.modifiers.other.find(i => i.key == "robust")
if (robust)
{
robust.value--;
}
else
{
args.modifiers.other.push({key: "robust", label : this.effect.name, value : -1})
}