foundryvtt-wh4-lang-fr-fr/scripts/Mhb67xufvA9uWO21.js

8 lines
376 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let actorSize = game.wfrp4e.config.actorSizeNums[args.actor.details.size.value]
let attackerSize = game.wfrp4e.config.actorSizeNums[args.attacker.details.size.value]
if (attackerSize > actorSize)
{
args.actor.addCondition("prone")
this.script.scriptMessage(`<strong>Attaque Caudale</strong>: ${args.actor.prototypeToken.name} est désormais <strong>A Terre</strong>`)
2024-05-16 17:57:51 +02:00
}