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

6 lines
148 B
JavaScript

if (parseInt(this.item.system.specification.value) > 0)
{
this.actor.system.status.ward.value = parseInt(this.item.system.specification.value);
}