2024-05-16 17:57:51 +02:00
|
|
|
if (args.test.options.staunchBleeding)
|
|
|
|
{
|
|
|
|
if (args.test.succeeded)
|
|
|
|
{
|
|
|
|
let staunch = Number(args.test.result.SL) + 1
|
|
|
|
if (args.test.options.fieldDressing && args.test.result.reversed)
|
|
|
|
{
|
|
|
|
staunch = Math.min(1, Number(args.test.result.SL)) + 1
|
|
|
|
}
|
2024-05-17 12:46:44 +02:00
|
|
|
args.test.result.other.push(`<b>${this.actor.name}</b> guérit <b>${staunch}</b> états Hémorragiques du patient.`)
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|
|
|
|
else if (this.actor.characteristics.int.bonus + Number(args.test.result.SL) < 0)
|
|
|
|
{
|
2024-05-17 12:46:44 +02:00
|
|
|
args.test.result.other.push(`Le patient est victime d'une @UUID[Compendium.wfrp4e-core.items.Item.1hQuVFZt9QnnbWzg]{Infection Mineure}.`)
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|
|
|
|
}
|