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

4 lines
117 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let SL = parseInt(this.effect.sourceTest.result.SL)
if (SL < 0)
SL = 0
this.actor.addCondition("fatigued", 1 + SL)