if (args.test.options.healWounds) { if (args.test.result.roll <= game.settings.get("wfrp4e", "automaticSuccess") || args.test.result.roll <= args.test.target) { let wounds = this.actor.characteristics.int.bonus + ~~args.test.result.SL if (args.test.options.fieldDressing && args.test.result.reversed) wounds = this.actor.characteristics.int.bonus + Math.min(1, Number(args.test.result.SL)) args.test.result.woundsHealed = wounds args.test.result.other.push(`${this.actor.name} healed ${wounds} wounds of the patient.`) } else if (this.actor.characteristics.int.bonus + args.test.result.SL < 0) args.test.result.other.push(`The patient contracts a @UUID[Compendium.wfrp4e-core.items.Item.1hQuVFZt9QnnbWzg]{Minor Infection}.`) }