Sync to v7.2.0
This commit is contained in:
11
scripts/YySjPfSAPdMAfjsh.js
Normal file
11
scripts/YySjPfSAPdMAfjsh.js
Normal file
@ -0,0 +1,11 @@
|
||||
let talents = ["Charge Berserk", "Vigilance", "Combat Instinctif", "Assaut féroce", "Endurci", "Résistance à la Magie", "Résistant (Magie)", "Déterminé", "Coup puissant", "Guerrier né"];
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user