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")
|
2024-05-17 09:19:48 +02:00
|
|
|
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
|
|
|
}
|