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

8 lines
362 B
JavaScript
Raw Normal View History

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>Tail Attack</strong>: ${args.actor.prototypeToken.name} is now <strong>Prone</strong>`)
}