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

10 lines
188 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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})
}