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

8 lines
235 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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"));