forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
18
reference_scripts/2vTVR0quRZQtjNfQ.js
Normal file
18
reference_scripts/2vTVR0quRZQtjNfQ.js
Normal file
@ -0,0 +1,18 @@
|
||||
let currentCareer = this.actor.system.currentCareer;
|
||||
if (!currentCareer)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
let talents = ["Aethyric Attunement",
|
||||
"Arcane Magic (Any)",
|
||||
"Chaos Magic (Tzeentch)",
|
||||
"Fast Hands",
|
||||
"Instinctive Diction",
|
||||
"Magical Sense",
|
||||
"Petty Magic",
|
||||
"Second Sight",
|
||||
"War Wizard",
|
||||
"Witch!"].filter(t => !currentCareer.system.talents.includes(t))
|
||||
|
||||
currentCareer.system.talents = currentCareer.system.talents.concat(talents)
|
Reference in New Issue
Block a user