Results 1 to 3 of 3

Thread: Need "exura gran mas res" Action

  1. #1
    Normal User Pan Prezes's Avatar
    Join Date
    Jun 2012
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    16
    Rep Power
    5

    Need "exura gran mas res" Action

    Hello!
    I need Action if player name "Bubble" is in coverage this spell and he have less than 50% hp then say exura gran mas res

  2. #2
    Normal User Pan Prezes's Avatar
    Join Date
    Jun 2012
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    16
    Rep Power
    5
    bump

  3. #3
    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
    PHP Code:
    local Config = {
        
    Players = {
            {
    Name "xxx"HP=15},
            {
    Name "xxx"HP=30},
        },
    }
        
        
    Player_config Player_config or {}
        
        
        
    local Reset_player_config #Config.Players ~= #Player_config
        
    if (not Reset_player_configthen
            
    for INDEXPlayer_entry in ipairs(Config.Players) do
                if (
    Player_entry.HP and Player_entry.HP ~= Player_config[INDEX].HPthen
                    Reset_player_config 
    true
                    
    break
                
    end
            end
        end
     
        
    if Reset_player_config then
            Player_config 
    = {}
        
        
    local Curent_index 1

            
    while(#Config.Players >= Curent_index) do
                
    Config.Players[Curent_index].Info Self.PlayersAroundSpell("3x3"falseConfig.Players[Curent_index].Name)
                if (
    not Config.Players[Curent_index].Infothen
                    table
    .remove(Config.PlayersCurent_index)
                
    end
            Curent_index 
    Curent_index 1
            end
        end

    for _Player_entry in ipairs(Config.Players) do
        if 
    cancast("exura gran mas res"then
            
    if Player_entry.HP then
                cast
    ("exura gran mas res")
            
    end
        end
    end 
    Last edited by garkstal13; 05-17-2013 at 08:41 AM.

Posting Permissions

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