Results 1 to 7 of 7

Thread: preciso dessa action para hoje! porfavor me ajudem

  1. #1
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5

    preciso dessa action para hoje! porfavor me ajudem

    preciso de uma action que por exemplo.

    se o bixo tiver com 40% do life e tiver alguem na tela( ou no andar de cima ) o char usa HMM se não tiver ninguem usar normalmente o exori vis..

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Acho que escrevi o nome da HMM errado, da uma olhada depois...
    --[[ INIT START ]]--
    local CREATURES = {"dragon", "dragon lord"}
    local CREATURES_HPPC = 40
    local ATTACK_MODE = {SPELL = "exori vis", RUNE = "heavy magic missile"}
    --[[ INIT END ]]--

    if table.find(CREATURES, target.name) then
    if target.hppc < CREATURES_HPPC then
    if itemcount(ATTACK_MODE.RUNE) > 0 then
    useitemontarget(ATTACK_MODE.RUNE, target.name)
    wait(300, 600)
    end
    elseif cancast(ATTACK_MODE.SPELL) then
    cast(ATTACK_MODE.SPELL)
    wait(200, 400)
    end
    end

  3. #3
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5
    n funfo/;

  4. #4
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    @Veernz
    Totalmente com base na action do Raph_(porque eu não sabia nem por onde começar kkk) eu fiz uma aqui, tenta ai:
    local monsters = {"Dragon", "Dragon Lord"}
    local monsters_HPPC = 40
    local attack_mode = {spell = "exori vis", rune = "heavy magic missile"}

    if target.name == unpack(monsters) then
    if paround(4, true) == 0 then
    if target.hppc < monsters_HPPC then
    if cancast(attack_mode.spell) then
    cast(attack_mode.spell) elseif
    paround(4, true) > 0 then
    if itemcount(attack_mode.rune) > 0 then
    useitemontarget(attack_mode.rune, unpack(monsters))
    end
    end
    end
    end
    end

  5. #5
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5
    vou testar e ja posto..

  6. #6
    Normal User
    Join Date
    May 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    E ai resolveu ?

  7. #7
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5
    s vlw bro

Posting Permissions

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