Resting not restoring mana when it should be

Issue #92 new
Frumple created an issue

As per title. Fairly inconsistent issue, but occasionally mana will refuse to regenerate on auto-rest, despite being above the half-non-held mana pool threshold (See here). Further, the mana pool's number coloration will not change (to red/dark orange) as it normally does when regeneration is no longer possible.

The attached character is experiencing the issue. Autorest will not restore mana, despite resting for the full 1000 turns two or three times. Mana still restores via potion, and after getting over a certain threshold (considerably smaller than half), mana will regenerate normally.

Comments (3)

  1. RMTEW FULL NAME repo owner

    Not able to reproduce. There are two valid reasons why mana might not replenish. One is because you cannot rest safely. And the other is because you are wearing the "mana bleeding" cloak.

    It is possible that this is fixed in the current unpublished version, through some incidental change.

  2. thehouseoflai

    rmtew: From the description, it sounds like the issue is mana not recovering when waiting, not when sleeping.

    The supposed 50% threshold (from the docs) is bunk:

            if (!isPlayer() || cMana() >= ((nhMana()*min(35+SkillLevel(SK_CONCENT)*2,80))/100)) {
    

    I don't know why higher Concentration skill should make mana recovery harder, but there it is.

  3. Log in to comment