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

10 lines
325 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let test = await this.actor.setupCharacteristic("wp", {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.succeeded)
{
this.script.scriptMessage("Can perform an Action or Move (choose one)")
}
else
{
this.script.scriptMessage("Cannot perform an Action or Move this round")
}