foundryvtt-wh4-lang-fr-fr/scripts/3sfD1nedXLzuYoXJ.js

5 lines
228 B
JavaScript

if (this.actor.hasCondition("surprised"))
{
this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {fields : {difficulty : "average"}, skipTargets: true, appendTitle : " - " + this.effect.name}).then(test => test.roll())
}