4 lines
77 B
JavaScript

if (this.actor.system.status.wounds.value <= 1)
{
this.effect.delete();
}