Results 1 to 5 of 5

Thread: How do I make mafia HP/MP recovery occur after combat instead of before combat

  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    16

    Default How do I make mafia HP/MP recovery occur after combat instead of before combat

    The mafia built in HP/MP recovery is set to run before combat. How do I make it run after combat?

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,142

    Default

    Why do you want that?

    If it runs before combat, you get healed up before going in to a fight - which is exactly when you need it.
    If it runs after combat, you get healed up even if you are done for the day and would get healed simply by resting over night.

    That said, you can provide an afterAdventure script which will do whatever you want. The "script" can even be simple CLI commands.

    Go to Preferences
    Select Automation
    In the Post-Adventure box put:

    restore hp; restore mp
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  3. #3
    Junior Member
    Join Date
    Oct 2017
    Posts
    16

    Default

    Why do you want that?

    If it runs before combat, you get healed up before going in to a fight - which is exactly when you need it.
    If it runs after combat, you get healed up even if you are done for the day and would get healed simply by resting over night.
    Originally Posted by Veracity View Post
    In hardcore and ronin I have limited access to resources (even worse, I have yet to perm a healing skill meaning for many turns I am healing via potions bought from doc galaktik). So sometimes the script fails due to lack of resources, and I don't notice until I start combat with insufficient HP/MP and get beaten up for it.
    The script failing will halt auto adventure but not manual adventure via the relay browser. Also when I messed with scripts (installing external ones) that broke this function, I often didn't notice for some time.

    I am also finding the lack of immediate feedback when changing the % targets of auto healing to be bothersome. I like to know exactly how much HP/MP I am going to go into combat with before I click on the adventure button, so that I will know if I need to manually top it off (since I set the fairly conservative values of 80% HP and 50% MP)

    Also the HP/MP gained by the basic tent is very low (iirc 8 each).
    Furthermore, by the time I even bother upgrading it I am probably in aftercore or very near it, where such a loss of meat is trivial.

    That said, you can provide an afterAdventure script which will do whatever you want. The "script" can even be simple CLI commands.

    Go to Preferences
    Select Automation
    In the Post-Adventure box put:

    restore hp; restore mp
    Originally Posted by Veracity View Post
    Thank you very much.
    Last edited by taltamir; 10-24-2017 at 02:27 PM.

  4. #4

    Default

    So sometimes the script fails due to lack of resources, and I don't notice until I start combat with insufficient HP/MP and get beaten up for it.
    The script failing will halt auto adventure but not manual adventure via the relay browser.
    Originally Posted by taltamir View Post
    Preferences -> Relay Browser -> Show a warning if any of the above maintenances fails

    Check that and you'll get the same notice for manual adventuring, as long as the appropriate box above that is checked to maintain health during manual adventuring.

  5. #5
    Junior Member
    Join Date
    Oct 2017
    Posts
    16

    Default

    Preferences -> Relay Browser -> Show a warning if any of the above maintenances fails

    Check that and you'll get the same notice for manual adventuring, as long as the appropriate box above that is checked to maintain health during manual adventuring.
    Originally Posted by lostcalpolydude View Post
    thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •