Artemystra/eclipsephase

Using Roll Heal with empty timeframe textbox always uses 1 hour regardless of selected unit

Closed this issue · 3 comments

Changing the unit in roll heal to days or weeks does not change the timeframe from hours if the textbox is empty. Same issue in mental health only with days instead of weeks

Oh you mean it should register it as „1 week“ in the case of selecting „weeks“ without a value in the input field?

Ich believe that I found the reason: Giving no input in the input field leads to defaulting to 0 - A week in that example multiplies the time measured in hours by 168 which is still 0 and then defaults to 1 hour since 0 hours is not possible.

I'll change the input field to defaulting to 1 if no input has been made!

This has been implemented and will be part of the upcoming release! Thanks for bringing this up!