2024-05-16 17:57:51 +02:00
|
|
|
this.script.scriptMessage(await this.actor.applyBasicDamage(8 + parseInt(this.effect.sourceTest.result.SL), {suppressMsg : true}))
|
|
|
|
|
2024-05-17 09:19:48 +02:00
|
|
|
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")
|
|
|
|
}
|