2024-05-16 17:57:51 +02:00
|
|
|
|
let sourceActor = this.effect.sourceActor;
|
|
|
|
|
let damage = args.totalWoundLoss;
|
|
|
|
|
let tb = sourceActor.system.characteristics.t.bonus
|
2024-05-17 01:07:37 +02:00
|
|
|
|
args.abort = `<strong>${this.effect.name}</strong>: Dommages appliqués à ${sourceActor.name}`;
|
2024-05-16 17:57:51 +02:00
|
|
|
|
|
|
|
|
|
let message = await sourceActor.applyBasicDamage(damage - tb, {damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_AP, suppressMsg : true})
|
|
|
|
|
|
|
|
|
|
this.script.scriptMessage(message.replace(`${tb} TB`, `${tb} × 2 TB`))
|
|
|
|
|
args.abort = true;
|