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

4 lines
85 B
JavaScript

if (this.actor.system.status.wounds.value == 0)
{
this.actor.addCondition("dead");
}