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

8 lines
324 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
this.script.scriptMessage(await this.actor.applyBasicDamage(8 + parseInt(this.effect.sourceTest.result.SL), {suppressMsg : true}))
let test = await this.actor.setupSkill("Athlétisme", {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
2024-05-16 17:57:51 +02:00
await test.roll();
if (test.failed)
{
this.actor.addCondition("prone")
}