Nombreuses corections de scripts...

This commit is contained in:
2026-03-07 15:02:18 +01:00
parent 047933a610
commit 8862698262
47 changed files with 87 additions and 87 deletions

View File

@@ -1,8 +1,8 @@
if (args.totalWoundLoss > 0)
{
args.actor.setupCharacteristic("t", {skipTargets: true, appendTitle : ` - ${this.effect.name}`, fields: { difficulty: "difficult" } }).then(async Test => {
await Test.roll();
if (Test.Échoué)
await test.roll();
if (test.failed)
{
await args.actor.addCondition("poisoned")
this.script.message(await args.actor.applyBasicDamage(3, {suppressMsg : true, damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL }))