Ajout de la commande /voyage et grosse MAJK de la commande /auberge

This commit is contained in:
2026-01-07 15:04:49 +01:00
parent c8119601d8
commit f525b6c07a
1329 changed files with 24138 additions and 4397 deletions

View File

@@ -1,5 +1,5 @@
if (args.test.options.healWounds) {
if (args.test.succeeded)
if (args.test.succeeded)
{
let wounds = this.actor.characteristics.int.bonus + Number(args.test.result.SL)
if (args.test.options.fieldDressing && args.test.result.reversed)
@@ -7,10 +7,10 @@ if (args.test.options.healWounds) {
wounds = this.actor.characteristics.int.bonus + Math.min(1, Number(args.test.result.SL))
}
args.test.result.woundsHealed = wounds
args.test.result.other.push(`<b>${this.actor.name}</b> guérit <b>${wounds}</b> Points de Blessures du patient.`)
args.test.result.other.push(`<b>${this.actor.name}</b> guéri <b>${wounds}</b> Blessures du patient.`)
}
else if (this.actor.characteristics.int.bonus + Number(args.test.result.SL) < 0)
{
args.test.result.other.push(`Le patient subit une @UUID[Compendium.wfrp4e-core.items.Item.1hQuVFZt9QnnbWzg]{Infection Mineure}.`)
args.test.result.other.push(`Le patient contracte une @UUID[Compendium.wfrp4e-core.items.Item.1hQuVFZt9QnnbWzg]{Infection Mineure}.`)
}
}