8 lines
362 B
JavaScript
8 lines
362 B
JavaScript
|
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>`)
|
||
|
}
|