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

6 lines
226 B
JavaScript

let blunt = await Dialog.confirm({label : "test", content :`<p>Apply blunt damage reduction? (-3)</p>`})
if (blunt)
{
args.modifiers.other.push({label : this.effect.name, details : "Blunt Damage Reduction", value : -3})
}