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

6 lines
226 B
JavaScript
Raw Normal View History

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