Add all systems effects scripts + translations
This commit is contained in:
13
reference_scripts/Mir4FMHQRdVqazAF.js
Normal file
13
reference_scripts/Mir4FMHQRdVqazAF.js
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
||||
{
|
||||
let msg = `<b>Tongue Attack</b>: ${args.actor.prototypeToken.name} is now @Condition[Entangled]`;
|
||||
await args.actor.addCondition("entangled");
|
||||
if (actorSize <= 2)
|
||||
{
|
||||
msg += `and @Condition[Engaged]`
|
||||
}
|
||||
this.script.scriptMessage(msg, {speaker : {alias: args.attacker.prototypeToken.name}})
|
||||
}
|
Reference in New Issue
Block a user