Results 1 to 2 of 2

Thread: exori vis/amp/max dando exhausted

  1. #1
    Normal User Eduardo Silveira's Avatar
    Join Date
    Jan 2014
    Location
    Rio Grande do Sul
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    exori vis/amp/max dando exhausted

    o que tem de errado com minha action, pq nao da as magias no tempo certo, as vezes nem sai...

    Code:
    local SPELLS = {
    
    
                SPELL1 = {cast = "exori amp vis", mp = 60, hppc = 25}, 
                SPELL2 = {cast = "exori gran vis", mp = 60, hppc = 25},
    
                   }
    
    
                   local CREATURES = {"Crystal Spider"}
    
    
    
    for i = 1, #CREATURES do
       if UseMaxVis then
           if (cancast(SPELLS.SPELL1.cast)) and (mp >= SPELLS.SPELL1.mp) then
               if (target.name == CREATURES[i]) and (target.dist <= 3) and (target.hppc >= SPELLS.SPELL1.hppc) then
                    cast(SPELLS.SPELL1.cast)
       wait(500)
               end
           else
               if (cancast(SPELLS.SPELL2.cast)) and (mp >= SPELLS.SPELL2.mp) then
                     if (target.name == CREATURES[i]) and (target.dist <= 3) and (target.hppc >= SPELLS.SPELL2.hppc) then
                         cast(SPELLS.SPELL2.cast) 
           wait(500)
                     end
               end
           end
       else
            if (cancast(SPELLS.SPELL2.cast)) and (mp >= SPELLS.SPELL2.mp) then
                if (target.name == CREATURES[i]) and (target.dist <= 3) and (target.hppc >= SPELLS.SPELL2.hppc) then
                    cast(SPELLS.SPELL2.cast) 
                end
            end
        end
    end

  2. #2
    Normal User Eduardo Silveira's Avatar
    Join Date
    Jan 2014
    Location
    Rio Grande do Sul
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3
    ninguem?

Posting Permissions

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