whitespine / foundryvtt-icon

Rudimentary ICON system based on Exocist's data, TyphonJS, and FoundryVTT
Creative Commons Zero v1.0 Universal
2 stars 2 forks source link

Weaken status should be -2 #16

Closed Drills closed 5 months ago

Drills commented 6 months ago

I have a new character in my game who applies lots of weaken and we noticed that the weaken status in the harm results only applies -1 when it should be -2 for icon version 1.5 https://github.com/whitespine/foundryvtt-icon/blob/0fe6895a2af8d4c8fa0486a3733d4439218cd985/src/util/harm.js#L134

Drills commented 6 months ago

I put this in manually on my end. if (flags.includes("weakened") && amount > 0) { if(amount <=2){ amount = 0 } else{ amount=amount-2; } deltas.push(["weakened", -2]); }

whitespine commented 5 months ago

Released a new version that should resolve this.