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

6 lines
346 B
JavaScript

if (this.actor.uuid != this.effect.sourceActor.uuid)
{
this.actor.setupSkill(game.i18n.localize("NAME.Athletics"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`, fields : {difficulty: "hard"}, context : {failure : `<strong>${this.effect.name}</strong>: cannot move or take actions`}}).then(test => {
test.roll();
})
}