forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
7
scripts/8qOGotfGFA0HYQ6W.js
Normal file
7
scripts/8qOGotfGFA0HYQ6W.js
Normal file
@@ -0,0 +1,7 @@
|
||||
let resistances = this.actor.itemTags.talent.filter(i => i.name == game.i18n.localize("NAME.MagicResistanceTalent"));
|
||||
|
||||
for(let talent of resistances)
|
||||
{
|
||||
talent.system.max.value = "custom";
|
||||
talent.system.max.formula = "@characteristics.t.bonus + 2"
|
||||
}
|
||||
Reference in New Issue
Block a user