Results 1 to 2 of 2

Thread: Friend Healer question

  1. #1
    iBot User
    Join Date
    Oct 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Friend Healer question

    Hiho guys:
    I have a "problem" when i do healer friend in a range maybe 0-70% bot always do 3 sio at times... How can i do to make just 1??
    Thanks

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    818
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Its a known bug, try using this action instead:

    Lua Code:
     
    -- [[ INIT START ]] -- 
        local CONFIG = { 
            PLAYERS = { 
                {NAME = "blakw", HPPC = 50}, 
            }, 
        } 
    -- [[ INIT END ]] -- 
     
    local CREATURE_TO_HEAL, HPPC_TO_HEAL = nil, 101 
     
    for CREATURE in Creature.GetAll("ps") do 
        local PLAYER_FOUND = table.find(CONFIG.PLAYERS, CREATURE:Name(), "NAME") 
     
        if (CREATURE:isValid() and CREATURE:isAlive() and Creature:isReachable() and PLAYER_FOUND and CREATURE:HealthPercent() < CONFIG.PLAYERS[PLAYER_FOUND].HPPC and CREATURE:HealthPercent() < HPPC_TO_HEAL) then 
            CREATURE_TO_HEAL, HPPC_TO_HEAL = CREATURE, CREATURE:HealthPercent() 
        end 
    end 
     
    if (Creature.isInstance(CREATURE_TO_HEAL)) then 
        Spell.GetByWordsOrName("heal friend"):CastSpell(CREATURE_TO_HEAL, CREATURE_TO_HEAL:Name()) 
        System.Wait(200) 
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

Posting Permissions

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