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

6 lines
273 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
this.actor.addCondition("broken")
if (this.actor.has(game.i18n.localize("NAME.Undead")))
{
this.script.scriptMessage(await this.actor.applyBasicDamage(this.effect.sourceTest.result.damage, {damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg: true}))
}