Results 1 to 4 of 4

Thread: action request

  1. #1
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    action request

    So I don't like the current healer for the script I am using.

    I run into a problem, using a mage, that if both mana and hp are low, it will sometimes use mana pots instead of healing myself.

    I am going to remove use mana potions in the healer.

    I am looking for an action that:

    Code:
    if monsters around = 0 and mp <90% then
     stop cavebot(or don't move, or stand still), use mana potions to reach 90% mana, resume cavebot(or keep moving to next location).
    end

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    I use this setup in my scripts:

    PHP Code:
    if maround() > 0 then
        setsettings
    ("Settings\\Healer\\Rules\\ManaPotion\\ManaRange""0 to 30 %")
    else
        
    setsettings("Settings\\Healer\\Rules\\ManaPotion\\ManaRange""0 to 90 %")
    end 
    It heals to 90% while nothing is around, but if its fighting, it only stars to use manas if its quite low, like 30%.

    usually the 60% mana gap is enough to kill everything that is around.

    You need to make sure the healer spell is called "ManaPotion"
    Last edited by pink_panther; 10-16-2013 at 12:17 AM.

  3. #3
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    thanks so much bro, that is PERFECT!

  4. #4
    iBot User
    Join Date
    Nov 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    wow thats actually really helpful and what I was looking for also. Great question

Posting Permissions

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