Results 1 to 4 of 4

Thread: [Pedido] Life ring

  1. #1
    iBot User Cool forum's Avatar
    Join Date
    Feb 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    [Pedido] Life ring e Exana pox

    Preciso de dois scripts
    Um que coloque life ring com "x" de mana e tire-o com "y" de mana
    E outro que use exana pox apenas se o poison for maior que "x"
    Last edited by Cool forum; 02-15-2013 at 02:14 PM.

  2. #2
    iBot User Cool forum's Avatar
    Join Date
    Feb 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    bump !

  3. #3
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    PHP Code:
    local maxdamage 5

      local msgs 
    getnewmessages("Server Log")
      
    local qtd msgs.count-1
      local msgsgot 
    msgs[qtd].text
      local numeros 
    = {}
    for 
    w in string.gfind(msgsgot"%d+") do
    if 
    msgsgot:find("You lose (.+) hitpoints."then
    table
    .insert(numerosw)
    end
    end

    local damage 
    tonumber(numeros[#numeros])

    if #numeros > 0 then
       
    if poisoned == true then
          
    if damage maxdamage and maround(4) == 0 then
             
    if cancast("exana pox"then
                cast
    ("exana pox")
             
    end
          end
       end
    end 

  4. #4
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    de ring eu nao tenho. life ring 'e tao barato que eu boto pra equipar com no refiller mesmo, se ele gastar no dp ou templo nao da em nada

Posting Permissions

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