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

7 lines
295 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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)
}