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

8 lines
322 B
JavaScript
Raw Permalink Normal View History

this.script.scriptMessage(await this.actor.applyBasicDamage(8 + parseInt(this.effect.sourceTest.result.SL), {suppressMsg : true}))
let test = await this.actor.setupSkill("Athletics", {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.failed)
{
this.actor.addCondition("prone")
}