Results 1 to 2 of 2

Thread: help with action please.

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

    help with action please.

    a seguinte action não está dando "exevo mas san" nem "exori san"


    local MonsterToShoot = {"Ghastly Dragon", "Draken Abomination", "Undead Dragon"}
    local MonsterToShootCon = {'Draken Elite', 'Draken Spellweaver'}
    local MonsterToShootSan = {"Ghastly Dragon", "Draken Abomination", "Undead Dragon"}


    if Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
    if ((paround(10, true) >= 0) or not PvP_Server) then
    if ((Self.MonstersAroundSpell("3x3", false, unpack(MonsterToShoot)) >= MonstersToMasSan) or (Self.MonstersAroundSpell("5x5", false, "Death Blob") >= BlobsToSan)) and MasSan and cancast('exevo mas san') then
    cast('exevo mas san')
    elseif maround(3, unpack(MonsterToShootSan)) >= 1 and cancast('exori san') and target.dist <= 3 and target.id ~= 0 then
    cast('exori san')
    elseif target.dist >= 4 and cancast('exori con') then
    cast('exori con')
    end
    if maround(10, unpack(MonsterToShootCon)) >= 1 and cancast('exori con') and target.dist <= 6 and target.id ~= 0 then
    cast('exori con')
    end
    elseif ((paround(10, true)) >= 1 and PvP_Server) and target.id ~= 0 then
    if cancast('exori con') then
    cast('exori con')
    end
    end
    end

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    Lua Code:
    local MonsterToShootCon = {'Draken Elite', 'Draken Spellweaver'}
    local MonsterToShootSan = {"Ghastly Dragon", "Draken Abomination", "Undead Dragon"}
     
     
    if Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
        if ((paround(10, true) >= 0) or not PvP_Server) then
           if maround(3, unpack(MonsterToShootSan)) >= 1 and cancast('exori san') and target.dist <= 3 and target.id ~= 0 then
                cast('exori san')
            elseif target.dist >= 4 and cancast('exori con') then
                cast('exori con')
            end
            if maround(10, unpack(MonsterToShootCon)) >= 1 and cancast('exori con') and target.dist <= 6 and target.id ~= 0 then
                cast('exori con')
            end
        elseif ((paround(10, true)) >= 1 and PvP_Server) and target.id ~= 0 then
            if cancast('exori con') then
                cast('exori con')
            end
        end
    end


    Next time use English in English board or your post will be deleted.
    Also use [luas][./luas] tags.

Posting Permissions

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