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

6 lines
273 B
JavaScript
Raw Permalink Normal View History

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}))
}