forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
if (args.totalWoundLoss > 0)
|
||||
{
|
||||
let apply = await Dialog.confirm({title : this.effect.name, content : `<p>Appy ${this.effect.name} Damage? Attacker must have used bare hands or a melee weapon made of metal.`})
|
||||
let apply = await Dialog.confirm({title : this.effect.name, content : `<p>Appliquer les dégats de ${this.effect.name}? L'attaquant doit avoir utilisé ses mains nues ou une arme de mêlée faite de métal.`})
|
||||
if (apply)
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ if (args.totalWoundLoss > 0)
|
||||
damage -= (APused + args.opposedTest.attacker.system.characteristics.t.bonus)
|
||||
|
||||
let msg = await args.opposedTest.attacker.applyBasicDamage(damage, {suppressMsg : true, damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL});
|
||||
msg += ` (ignored ${metalAP} metal AP on ${game.wfrp4e.config.locations[loc]})`
|
||||
msg += ` (${metalAP} PA métalliques ignorés sur ${game.wfrp4e.config.locations[loc]})`
|
||||
this.script.scriptMessage(msg)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user