foundryvtt-wh4-lang-fr-fr/scripts/Lm9IBkc918Duw3US.js

6 lines
141 B
JavaScript

let career = this.actor.itemTypes.career.find(c => c.getFlag("wfrp4e", "doubleLife"))
if(career)
{
career.system.current.value = true;
}