Results 1 to 2 of 2

Thread: Exura sio party members.

  1. #1
    iBot User lanwee's Avatar
    Join Date
    Nov 2012
    Location
    Norway
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5

    Exura sio party members.

    Anyone have this script? Exura sio party members would be rly helpfull
    Bought 90kk from Pidek098 OK
    Bought 20kk from Pidek098 OK
    Bought 238 ED from Gitaner OK
    Bought 293 EK from Gitaner OK

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Code:
    -- [[ INIT START ]] --
        local CONFIG = {
            PLAYERS = {
                {NAME = "NAME 1", HPPC = 40},
                {NAME = "NAME 2", 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 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
    Use option search next time : >

Posting Permissions

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