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

12 lines
423 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +02:00
let talents = ["Berserk Charge", "Combat Aware", "Combat Reflexes", "Furious Assault", "Implacable", "Magic Resistance", "Resistance (Magic)", "Resolute", "Strike Mighty Blow", "Warrior Born"];
let currentCareer = this.actor.system.currentCareer;
if (!currentCareer) return;
for (let talent of talents) {
if (currentCareer.system.talents.includes(talent))
continue;
currentCareer.system.talents.push(talent);
}