1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Important Information About This Forum
    Questions posted in this forum are 'moderated' and only viewable by Stratics Admins and Mythic Developers. They will be be set public only when an answer to the question has been provided.
  3. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

failing on meditation

Discussion in 'Ask The Devs' started by quig, Nov 24, 2009.

Thread Status:
Not open for further replies.
  1. quig

    quig Guest

    At 120 med, 146 mana i fail meditation when mana falls below 46. I read before on stratics that old code was used were more then 100 mana messes it up. At one point i thought it was fixed,( i know a dev was looking into it). Anyhow any chance for a fix?
     
  2. Phoenix_Mythic

    Phoenix_Mythic UO Legend
    VIP Stratics Veteran

    Joined:
    Aug 25, 2009
    Messages:
    197
    Likes Received:
    132
    Your chance of successful meditation currently is:

    MedSkill / 200 + CurMana / MaxMana​

    Note that values get truncated to whole percentage points.

    Assuming skill of 120 and max mana of 146, then your base chance of success is 120 / 200 = 60% if your mana is 0. If your mana is 10, then you get the base 50% plus a 10 / 146 = 6% bonus, for a total chance of 66%.

    When your skill is at 120, you have 100% chance of meditating when you're at 40% mana (which would be at 59 mana if your max mana is 146).

    The meditation success chance formula was last changed around August or September of 2007. The old formula was 30% + (CurMana / MaxMana). I'm unable at this time to delve further back in code changes to see what any prior versions of this might have been.
     
Thread Status:
Not open for further replies.