2 lines
145 B
JavaScript

if (this.actor.has(game.i18n.localize("NAME.Undead")) && this.actor.has(game.i18n.localize("NAME.Construct")))
this.actor.addCondition("dead")