Results 1 to 9 of 9

Thread: Request: Action Utani hur with X monster

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

    Post Request: Action Utani hur with X monster

    Bad englsih: I tried this \/

    if maround(1, "Nightmare", "Nightmare Scion") >= 1 and if not hasted and target.id > 0 then
    cast("utani hur")end

    and no work!

    Portugues: Eu tentei esta action \/

    if maround(1, "Nightmare", "Nightmare Scion") >= 1 and if not hasted and target.id > 0 then
    cast("utani hur")end

    E não funciona! ajudem!

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Eae man beleza? Voce deu um mole ai de lógica, colocou um if ali do nada sem precisar:

    Lua Code:
     
    if maround(1, "Nightmare", "Nightmare Scion") >= 1 and not hasted and target.id > 0 then -- aqui voce esta dizendo se tiver os monstros numa distancia de 1 SQM longe de você e nao estiver com haste ativo usar utani hur
    cast("utani hur")end


    não sei qual vai ser a funcionalidade mas acho melhor se fizer assim:

    Lua Code:
     
    if maround("Nightmare", "Nightmare Scion") >= 1 and not hasted and target.id > 0 and cancast("utani hur") then -- Se tiver nightmares na distancia de 7 SQM, sem haste, com target e puder usar utani hur
             cast("utani hur") -- use utani hur
    end

  3. #3
    iBot User
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Amigo, queria um pra quando tiver com x% de life, tem como?

  4. #4
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Tente essa simples e adapte ela até ficar do jeito que vc quer xD

    Lua Code:
     
    local MY_LIFE = 40 -- life percentage
     
    if not hasted and hppc < MY_LIFE and cancast('utani hur') then
        cast('utani hur')
    end


    Quote Originally Posted by jadsonmm View Post
    Amigo, queria um pra quando tiver com x% de life, tem como?
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  5. #5
    iBot User
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Norkk View Post
    Tente essa simples e adapte ela até ficar do jeito que vc quer xD

    Lua Code:
     
    local MY_LIFE = 40 -- life percentage
     
    if not hasted and hppc < MY_LIFE and cancast('utani hur') then
        cast('utani hur')
    end
    não poxa, life do monstro, pois eu deixo upando nos nightmare e quando estão com o life baixo eles correm e tem vez que eu nao consigo pegar, entendeu!

  6. #6
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Quote Originally Posted by jadsonmm View Post
    não poxa, life do monstro, pois eu deixo upando nos nightmare e quando estão com o life baixo eles correm e tem vez que eu nao consigo pegar, entendeu!
    Só voce passar a verificar se targed.id ~= 0 e target.hppc < 20 e pronto

    Lua Code:
     
    local LIFE_TO_RUN = 40 -- life percentage
     
    if maround("Nightmare", "Nightmare Scion") >= 1 and not hasted and target.id > 0 and target.hppc < LIFE_TO_RUN  and cancast("utani hur") then
             cast("utani hur") -- use utani hur
    end
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  7. #7
    iBot User
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Norkk View Post
    Só voce passar a verificar se targed.id ~= 0 e target.hppc < 20 e pronto

    Lua Code:
     
    local LIFE_TO_RUN = 40 -- life percentage
     
    if maround("Nightmare", "Nightmare Scion") >= 1 and not hasted and target.id > 0 and target.hppc < LIFE_TO_RUN  and cancast("utani hur") then
             cast("utani hur") -- use utani hur
    end
    Deu certo, muito obrigado!

  8. #8
    iBot User
    Join Date
    Mar 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    2
    what about "x" monsters around + not hasted + not pzone?

  9. #9
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Quote Originally Posted by 80sao View Post
    what about "x" monsters around + not hasted + not pzone?
    Try this one bro

    Lua Code:
     
    local LIFE_TO_RUN = 40 -- life percentage
     
    if maround("Nightmare", "Nightmare Scion") >= 1 and not hasted and not pzone then
             cast("utani hur") -- use utani hur
    end
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

Posting Permissions

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