foundryvtt-wh4-lang-fr-fr/reference_scripts/6xTtJEhRc4OjcDTf.js

5 lines
166 B
JavaScript

if (getProperty(args.data, "system.status.fortune.value"))
{
this.script.scriptNotification("Cannot update Fortune");
delete args.data.system.status.wounds.value;
}