Mise àjour vers 9.6.0
Validation JSON / validate (push) Successful in 13s

This commit is contained in:
2026-05-18 07:23:40 +02:00
parent 52939af8c8
commit 38d88c2f19
204 changed files with 4123 additions and 3343 deletions
+21
View File
@@ -0,0 +1,21 @@
let damage = await new Roll("1d10").roll();
damage.toMessage(this.script.getChatData());
this.actor.applyDamage(damage.total, {
damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL,
createMessage: this.script.getChatData()
});
const test = await this.actor.setupSkill(
game.i18n.localize("NAME.Endurance"),
{
fields: {difficulty: "average"},
skipTargets: true,
appendTitle: `${this.effect.name}`,
},
);
await test.roll();
if (test.failed)
{
this.actor.addCondition("stunned");
}