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

8 lines
235 B
JavaScript

let currentCareer = this.actor.system.currentCareer;
if (!currentCareer || currentCareer.system.talents.includes(game.i18n.localize("NAME.Frenzy")))
{
return
}
currentCareer.system.talents.push(game.i18n.localize("NAME.Frenzy"));