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

7 lines
295 B
JavaScript
Raw Permalink Normal View History

this.actor.characteristics.i.value = Math.min(this.actor.characteristics.i.value, 10);
this.actor.characteristics.i.bonus = 1;
for(let skill of this.actor.itemTypes.skill.filter(i => i.system.characteristic.value == "i"))
{
skill.system.total.value= Math.min(skill.system.total.value, 10)
}